Sentence Similarity
sentence-transformers
PyTorch
Safetensors
English
bert
mteb
Sentence Transformers
Eval Results (legacy)
text-embeddings-inference
Instructions to use thenlper/gte-base-zh with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use thenlper/gte-base-zh with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("thenlper/gte-base-zh") 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
- Xet hash:
- 7820baa3f34b527174fa710f06a084e06a90a2cacf2d1981814ad5f0e54647d1
- Size of remote file:
- 205 MB
- SHA256:
- 1ee1866e5b58b91135fc55c60dcdad745a43c12f43d8093395643dd4694e6281
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.