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
-
Add exported onnx model 'model_qint8_avx512_vnni.onnx'
Verified signatureHello! *This pull request has been automatically generated from the [`export_dynamic_quantized_onnx_model`](https://sbert.net/docs/package_reference/util.html#sentence_transformers.backend.export_dynamic_quantized_onnx_model) function from the Sentence Transformers library.* ## Config ```python QuantizationConfig( is_static=False, format=<QuantFormat.QOperator: 0>, mode=<QuantizationMode.IntegerOps: 0>, activations_dtype=<QuantType.QUInt8: 1>, activations_symmetric=False, weights_dtype=<QuantType.QInt8: 0>, weights_symmetric=True, per_channel=True, reduce_range=False, nodes_to_quantize=[], nodes_to_exclude=[], operators_to_quantize=['Conv', 'MatMul', 'Attention', 'LSTM', 'Gather', 'Transpose', 'EmbedLayerNormalization'], qdq_add_pair_to_weight=False, qdq_dedicated_pair=False, qdq_op_type_per_channel_support_to_axis={'MatMul': 1} ) ``` ## Tip: Consider testing this pull request before merging by loading the model from this PR with the `revision` argument: ```pyth…e109d4b
-
Update README.md
Verified signature5e95d41
-
Adding `safetensors` variant of this model (#9)
- Adding `safetensors` variant of this model (0d55c412ddff0d4d190fa1e051b84254151d76a6) Co-authored-by: Olivier Dehaene <olivierdehaene@users.noreply.huggingface.co>7cb59c7
-
Fix typo in model name (#4)
- Fix typo in model name (d386cc1498ee117850715884e359cbe31326ab8c) Co-authored-by: Prashanth Rao <prrao@users.noreply.huggingface.co>792749e
-
Update README.md
ae61f0c -
Update README.md
34ae007 -
Update README.md
2b1a85a
-
Adding ONNX file of this model (#2)
- Adding ONNX file of this model (829fea06b9971d6e924ceab9ca6852feebc069c0) Co-authored-by: CHRISTOPHER FLEETWOOD <FL33TW00D@users.noreply.huggingface.co>5b7a05d
-
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