Sentence Similarity
sentence-transformers
Safetensors
MLX
gemma3_text
feature-extraction
text-embeddings-inference
Instructions to use chabasx/NoteTkr-mirror-embeddinggemma-300m-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use chabasx/NoteTkr-mirror-embeddinggemma-300m-4bit with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("chabasx/NoteTkr-mirror-embeddinggemma-300m-4bit") 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] - MLX
How to use chabasx/NoteTkr-mirror-embeddinggemma-300m-4bit with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download chabasx/NoteTkr-mirror-embeddinggemma-300m-4bit --local-dir NoteTkr-mirror-embeddinggemma-300m-4bit
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Download generation_config.json from chabasx/NoteTkr-mirror-embeddinggemma-300m-4bit: direct link, hf CLI and curl.
- Browser
- Download file 133 Bytes
-
https://huggingface.co/chabasx/NoteTkr-mirror-embeddinggemma-300m-4bit/resolve/main/generation_config.json
- Command line
-
hf download hf://chabasx/NoteTkr-mirror-embeddinggemma-300m-4bit/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/chabasx/NoteTkr-mirror-embeddinggemma-300m-4bit/resolve/main/generation_config.json
133 Bytes
| { | |
| "cache_implementation": "hybrid", | |
| "do_sample": true, | |
| "top_k": 64, | |
| "top_p": 0.95, | |
| "transformers_version": "4.57.0.dev0" | |
| } | |