Instructions to use ggml-org/embeddinggemma-300M-qat-q4_0-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use ggml-org/embeddinggemma-300M-qat-q4_0-GGUF with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("ggml-org/embeddinggemma-300M-qat-q4_0-GGUF") 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
- Local Apps Settings
- llama.cpp
How to use ggml-org/embeddinggemma-300M-qat-q4_0-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf ggml-org/embeddinggemma-300M-qat-q4_0-GGUF:Q4_0 # Run inference directly in the terminal: llama cli -hf ggml-org/embeddinggemma-300M-qat-q4_0-GGUF:Q4_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf ggml-org/embeddinggemma-300M-qat-q4_0-GGUF:Q4_0 # Run inference directly in the terminal: llama cli -hf ggml-org/embeddinggemma-300M-qat-q4_0-GGUF:Q4_0
Use pre-built binary
# 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 ggml-org/embeddinggemma-300M-qat-q4_0-GGUF:Q4_0 # Run inference directly in the terminal: ./llama-cli -hf ggml-org/embeddinggemma-300M-qat-q4_0-GGUF:Q4_0
Build from source code
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 ggml-org/embeddinggemma-300M-qat-q4_0-GGUF:Q4_0 # Run inference directly in the terminal: ./build/bin/llama-cli -hf ggml-org/embeddinggemma-300M-qat-q4_0-GGUF:Q4_0
Use Docker
docker model run hf.co/ggml-org/embeddinggemma-300M-qat-q4_0-GGUF:Q4_0
- LM Studio
- Jan
- Ollama
How to use ggml-org/embeddinggemma-300M-qat-q4_0-GGUF with Ollama:
ollama run hf.co/ggml-org/embeddinggemma-300M-qat-q4_0-GGUF:Q4_0
- Unsloth Desktop
- Docker Model Runner
How to use ggml-org/embeddinggemma-300M-qat-q4_0-GGUF with Docker Model Runner:
docker model run hf.co/ggml-org/embeddinggemma-300M-qat-q4_0-GGUF:Q4_0
- Lemonade
How to use ggml-org/embeddinggemma-300M-qat-q4_0-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull ggml-org/embeddinggemma-300M-qat-q4_0-GGUF:Q4_0
Run and chat with the model
lemonade run user.embeddinggemma-300M-qat-q4_0-GGUF-Q4_0
List all available models
lemonade list
- Atomic Chat
Upload embeddinggemma-300M-qat-Q4_0.gguf
Browse files- .gitattributes +1 -0
- embeddinggemma-300M-qat-Q4_0.gguf +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
embeddinggemma-300M-qat-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
embeddinggemma-300M-qat-Q4_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:50d28e22432a148f6f8a86eab3700f92add5d1f54baf7790675a2a4dadbccf26
|
| 3 |
+
size 277852192
|