Downloads · 30 days
1.4K
1% of all-time downloads
Qdrant/gte-large-onnx
gte-large-onnx is a sentence similarity model from Qdrant. Use it when you need a score for how close two texts are. It is set up for transformers. The card lists the license as mit.
ONNX port of thenlper/gte-large for text classification and similarity searches.
Downloads · 30 days
1.4K
1% of all-time downloads
All-time downloads
138K
Public
Repo size
1.3 GB
Likes
3
Trending 1
Click a slice to open those files.
.onnx1.3 GB · 100%
From the Hugging Face model README
ONNX port of thenlper/gte-large for text classification and similarity searches.
Here's an example of performing inference using the model with FastEmbed.
from fastembed import TextEmbedding
documents = [
"You should stay, study and sprint.",
"History can only prepare us to be surprised yet again.",
]
model = TextEmbedding(model_name="thenlper/gte-large")
embeddings = list(model.embed(documents))
# [
# array([
# 0.00611658, 0.00068912, -0.0203846, ..., -0.01751488, -0.01174267,
# 0.01463472
# ],
# dtype=float32),
# array([
# 0.00173448, -0.00329958, 0.01557874, ..., -0.01473586, 0.0281806,
# -0.00448205
# ],
# dtype=float32)
# ]