Sentence Similarity
sentence-transformers
PyTorch
ONNX
Safetensors
OpenVINO
English
bert
mteb
Sentence Transformers
Eval Results (legacy)
text-embeddings-inference
Instructions to use thenlper/gte-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use thenlper/gte-base with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("thenlper/gte-base") 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] - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding ONNX file of this model
Beep boop I am the [ONNX export bot 🤖🏎️](https://huggingface.co/spaces/onnx/export). On behalf of [FL33TW00D](https://huggingface.co/FL33TW00D), I would like to add to this repository the model converted to ONNX. What is ONNX? It stands for "Open Neural Network Exchange", and is the most commonly used open standard for machine learning interoperability. You can find out more at [onnx.ai](https://onnx.ai/)! The exported ONNX model can be then be consumed by various backends as TensorRT or TVM, or simply be used in a few lines with 🤗 Optimum through ONNX Runtime, check out how [here](https://huggingface.co/docs/optimum/main/en/onnxruntime/usage_guides/models)!829fea0 -
Upload modules.json
f698b56
-
Update README.md
34329e5 -
Upload 2 files
869e8f6
-
add tags
72e1b62
-
Update README.md
9616e37 -
Update README.md
74608dd -
Update README.md
bd2a035 -
Update README.md
52836b6 -
Update README.md
823d856
-
Update README.md
d90a6d9 -
Upload vocab.txt
7b1b11e -
Upload tokenizer.json
9d9f839 -
Upload tokenizer_config.json
e2c3ce8 -
Upload special_tokens_map.json
5b5748d -
Upload config.json
8bd7d0c -
Upload pytorch_model.bin
7f39506 -
initial commit
baa4cd6