π’ Embedding Models
Collection
Vector embedding models for on-device RAG, semantic search, and retrieval-augmented generation. Compact enough to run locally on mobile hardware. β’ 4 items β’ Updated
How to use dispatchAI/EmbeddingGemma-300M-mobile with Transformers:
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("dispatchAI/EmbeddingGemma-300M-mobile", device_map="auto")How to use dispatchAI/EmbeddingGemma-300M-mobile with llama.cpp:
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf dispatchAI/EmbeddingGemma-300M-mobile # Run inference directly in the terminal: llama cli -hf dispatchAI/EmbeddingGemma-300M-mobile
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf dispatchAI/EmbeddingGemma-300M-mobile # Run inference directly in the terminal: llama cli -hf dispatchAI/EmbeddingGemma-300M-mobile
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf dispatchAI/EmbeddingGemma-300M-mobile # Run inference directly in the terminal: ./llama-cli -hf dispatchAI/EmbeddingGemma-300M-mobile
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf dispatchAI/EmbeddingGemma-300M-mobile # Run inference directly in the terminal: ./build/bin/llama-cli -hf dispatchAI/EmbeddingGemma-300M-mobile
docker model run hf.co/dispatchAI/EmbeddingGemma-300M-mobile
How to use dispatchAI/EmbeddingGemma-300M-mobile with Ollama:
ollama run hf.co/dispatchAI/EmbeddingGemma-300M-mobile
How to use dispatchAI/EmbeddingGemma-300M-mobile with Unsloth Studio:
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for dispatchAI/EmbeddingGemma-300M-mobile to start chatting
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for dispatchAI/EmbeddingGemma-300M-mobile to start chatting
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for dispatchAI/EmbeddingGemma-300M-mobile to start chatting
How to use dispatchAI/EmbeddingGemma-300M-mobile with Docker Model Runner:
docker model run hf.co/dispatchAI/EmbeddingGemma-300M-mobile
How to use dispatchAI/EmbeddingGemma-300M-mobile with Lemonade:
# Download Lemonade from https://lemonade-server.ai/ lemonade pull dispatchAI/EmbeddingGemma-300M-mobile
lemonade run user.EmbeddingGemma-300M-mobile-{{QUANT_TAG}}lemonade list
π’ Embedding β This is not a chat model.
Embedding model β use for vector embeddings, not chat. Use sentence-transformers or similar.
| Attribute | Value |
|---|---|
| Base Model | google/embeddinggemma-300m |
| Type | EMBEDDING |
| License | gemma |
from sentence_transformers import SentenceTransformer; model = SentenceTransformer('dispatchAI/EmbeddingGemma-300M-mobile')
π dispatchAI
We're not able to determine the quantization variants.