Feature Extraction
sentence-transformers
Safetensors
embedding_gemma2
sentence-similarity
embeddings
text-embeddings
multimodal
image-text-retrieval
audio-embeddings
semantic-search
retrieval
quantized
4-bit precision
int4
mixed-precision
low-memory
gemma
embeddinggemma
multimodal-embeddings
cross-modal-retrieval
clip-alternative
quantization
post-training-quantization
cpu
edge
8-bit precision
Instructions to use ewin-reg/embeddinggemma-2-Quantized with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use ewin-reg/embeddinggemma-2-Quantized with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("ewin-reg/embeddinggemma-2-Quantized") 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 1_Pooling/config.json from ewin-reg/embeddinggemma-2-Quantized: direct link, hf CLI and curl.
- Browser
- Download file 90 Bytes
-
https://huggingface.co/ewin-reg/embeddinggemma-2-Quantized/resolve/main/1_Pooling/config.json
- Command line
-
hf download hf://ewin-reg/embeddinggemma-2-Quantized/1_Pooling/config.json
-
curl -L -o config.json https://huggingface.co/ewin-reg/embeddinggemma-2-Quantized/resolve/main/1_Pooling/config.json
90 Bytes
| { | |
| "embedding_dimension": 768, | |
| "pooling_mode": "mean", | |
| "include_prompt": true | |
| } |