File size: 439 Bytes
4250faa
8556555
4250faa
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
language:
	- en
---

# gte-base

This is a fork from https://huggingface.co/thenlper/gte-base that was optimized using Optimum and ONNX for better performance.

## Usage

```python
from transformers import AutoTokenizer
from optimum.onnxruntime import ORTModelForFeatureExtraction

tokenizer = AutoTokenizer.from_pretrained("kais-radwan/gte-base-onnx")
model = ORTModelForFeatureExtraction.from_pretrained("kais-radwan/gte-base-onnx")

```