Feature Extraction
MLX
Safetensors
multilingual
embedding_gemma2
mlx-vlm
embedding
sentence-similarity
multimodal
image-feature-extraction
audio-feature-extraction
video-feature-extraction
4-bit precision
Instructions to use mlx-community/embeddinggemma-2-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use mlx-community/embeddinggemma-2-4bit with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download mlx-community/embeddinggemma-2-4bit --local-dir embeddinggemma-2-4bit
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Download config_sentence_transformers.json from mlx-community/embeddinggemma-2-4bit: direct link, hf CLI and curl.
- Browser
- Download file 1.57 kB
-
https://huggingface.co/mlx-community/embeddinggemma-2-4bit/resolve/main/config_sentence_transformers.json
- Command line
-
hf download hf://mlx-community/embeddinggemma-2-4bit/config_sentence_transformers.json
-
curl -L -o config_sentence_transformers.json https://huggingface.co/mlx-community/embeddinggemma-2-4bit/resolve/main/config_sentence_transformers.json
1.57 kB
| { | |
| "__version__": { | |
| "pytorch": "2.14.0+cu130", | |
| "sentence_transformers": "6.1.0", | |
| "transformers": "5.18.0.dev0" | |
| }, | |
| "default_prompt_name": null, | |
| "model_type": "SentenceTransformer", | |
| "prompts": { | |
| "BitextMining": "task: search result | query: ", | |
| "Classification": "task: classification | query: ", | |
| "Clustering": "task: clustering | query: ", | |
| "CodeRetrieval": "task: code retrieval | query: ", | |
| "Document": "title: none | text: ", | |
| "FactChecking": "task: fact checking | query: ", | |
| "InstructionRetrieval": "task: code retrieval | query: ", | |
| "MultilabelClassification": "task: classification | query: ", | |
| "PairClassification": "task: sentence similarity | query: ", | |
| "QuestionAnswering": "task: question answering | query: ", | |
| "Reranking": "task: search result | query: ", | |
| "Retrieval": "task: search result | query: ", | |
| "Retrieval-document": "title: none | text: ", | |
| "Retrieval-query": "task: search result | query: ", | |
| "STS": "task: sentence similarity | query: ", | |
| "SearchQuery": "task: search result | query: ", | |
| "SentenceSimilarity": "task: sentence similarity | query: ", | |
| "Summarization": "task: sentence similarity | query: ", | |
| "document": "title: none | text: ", | |
| "query": "task: search result | query: " | |
| }, | |
| "requirements": { | |
| "sentence-transformers": { | |
| "reason": "Older versions ignore the order of multimodal dict inputs and cannot put several images or texts into a single embedding.", | |
| "specifier": ">=6.1.0" | |
| } | |
| }, | |
| "similarity_fn_name": "cosine" | |
| } | |