File size: 418 Bytes
4250faa
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# 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")

```