kais-radwan/gte-base-onnx
By kais-radwan · ↓ 1 · ♥ 0 · Updated 2024-03-04
What's in this repo
This page lists the files in kais-radwan/gte-base-onnx, including model.onnx.
- 1 ONNX models (.onnx files)
- 9 files, including 5 .json, 1 .md, 1 .onnx, 1 .txt
- Last updated 2024-03-04
ONNX files
| File | Size | Download |
|---|---|---|
| model.onnx | — | Download |
How to use
These ONNX files can be loaded with ONNX Runtime. To inspect a model graph, upload the file to the Netron viewer. Download links point to the original files on Hugging Face.
README
gte-base
This is a fork from https://huggingface.co/thenlper/gte-base that was optimized using Optimum and ONNX for better performance.
Usage
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")
Model info
feature-extraction
transformers
transformers
onnx
bert
feature-extraction
text-embeddings-inference
endpoints_compatible
region:us
↓ 1
♥ 0
Created: 2024-03-04
Updated: 2024-03-04
View on Hugging FaceFiles (9)
.gitattributes
README.md
config.json
model.onnx
ONNX
ort_config.json
special_tokens_map.json
tokenizer.json
tokenizer_config.json
vocab.txt