Sentence Similarity
sentence-transformers
Safetensors
gemma
feature-extraction
mteb
Eval Results (legacy)
Instructions to use Jaume/gemma-2b-embeddings with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Jaume/gemma-2b-embeddings with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Jaume/gemma-2b-embeddings") sentences = [ "The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [3, 3] - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from Jaume/gemma-2b-embeddings: direct link, hf CLI and curl.
- Browser
- Download file 17.5 MB
-
https://huggingface.co/Jaume/gemma-2b-embeddings/resolve/main/tokenizer.json
- Command line
-
hf download hf://Jaume/gemma-2b-embeddings/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/Jaume/gemma-2b-embeddings/resolve/main/tokenizer.json
17.5 MB
- Xet hash:
- 08b15328360f9fc5acc566f73426f9c3bf72cc6c491d3c6d71ff4e2f903b6ffd
- Size of remote file:
- 17.5 MB
- SHA256:
- cf26ff901e30c5f38af16c3a8aa9fe72a15c54351c101dae5514203938a74498
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.