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") | |
``` |