Sentence Similarity
sentence-transformers
PyTorch
ONNX
Safetensors
English
bert
mteb
Sentence Transformers
Eval Results (legacy)
text-embeddings-inference
Instructions to use vectoriseai/gte-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use vectoriseai/gte-small with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("vectoriseai/gte-small") sentences = [ "That is a happy person", "That is a happy dog", "That is a very happy person", "Today is a sunny day" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
File size: 674 Bytes
554a3de | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | {
"per_channel": true,
"reduce_range": true,
"per_model_config": {
"model": {
"op_types": [
"Div",
"Cast",
"MatMul",
"Add",
"Shape",
"ReduceMean",
"Sqrt",
"Mul",
"Slice",
"Erf",
"Unsqueeze",
"Concat",
"Pow",
"Sub",
"Gather",
"Reshape",
"Softmax",
"Constant",
"Transpose"
],
"weight_type": "QInt8"
}
}
} |