Sentence Similarity
sentence-transformers
English
embedding_gemma2
feature-extraction
gemma
gemma-2
embeddinggemma
littlebit
quantization
sub-1-bit
extreme-quantization
Instructions to use lethalbeats/embeddinggemma-2-0.8bpw-text with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use lethalbeats/embeddinggemma-2-0.8bpw-text with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("lethalbeats/embeddinggemma-2-0.8bpw-text") 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 quantization_config.json from lethalbeats/embeddinggemma-2-0.8bpw-text: direct link, hf CLI and curl.
- Browser
- Download file 757 Bytes
-
https://huggingface.co/lethalbeats/embeddinggemma-2-0.8bpw-text/resolve/main/quantization_config.json
- Command line
-
hf download hf://lethalbeats/embeddinggemma-2-0.8bpw-text/quantization_config.json
-
curl -L -o quantization_config.json https://huggingface.co/lethalbeats/embeddinggemma-2-0.8bpw-text/resolve/main/quantization_config.json
757 Bytes
| { | |
| "quant_method": "littlebit", | |
| "bits_per_weight": 0.8, | |
| "distribution": "asymmetric_65_35", | |
| "asymmetric_distribution": [ | |
| 0.65, | |
| 0.35 | |
| ], | |
| "latent_factorization": "dual_svid", | |
| "multi_scale_compensation": true, | |
| "packed_bitstream": true, | |
| "modalities": [ | |
| "text" | |
| ], | |
| "memory_reduction_pct": 81.7, | |
| "target_ram_mb": 274.5, | |
| "base_model": "google/embeddinggemma-2", | |
| "base_dimensions": 768, | |
| "streaming_avx2_supported": true, | |
| "zero_ram_inflation": true, | |
| "research_organization": "Samsung Research", | |
| "paper_title": "LittleBit: Ultra Low-Bit Quantization via Latent Factorization", | |
| "paper_arxiv_id": "2506.13771", | |
| "paper_url": "https://arxiv.org/abs/2506.13771", | |
| "paper_html_url": "https://arxiv.org/html/2506.13771v5" | |
| } | |