Instructions to use nlplabtdtu/gte-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use nlplabtdtu/gte-small with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("nlplabtdtu/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
Download pytorch_model.bin from nlplabtdtu/gte-small: direct link, hf CLI and curl.
- Browser
- Download file 134 MB
-
https://huggingface.co/nlplabtdtu/gte-small/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://nlplabtdtu/gte-small/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/nlplabtdtu/gte-small/resolve/main/pytorch_model.bin
134 MB
- Xet hash:
- 33b36db298f9d6d185dd265ec39720ec1892bc26f639a3bae92cfb5ec26040d5
- Size of remote file:
- 134 MB
- SHA256:
- 5af4cc75eb9069e7dcdec9e6b295bb0b4587f795783a6a3f9343f152d38c3108
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.