Instructions to use cduk/embeddinggemma-300m-GGUF-with-dense-modules with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use cduk/embeddinggemma-300m-GGUF-with-dense-modules with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="cduk/embeddinggemma-300m-GGUF-with-dense-modules", filename="embeddinggemma-300M-F32.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use cduk/embeddinggemma-300m-GGUF-with-dense-modules 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 cduk/embeddinggemma-300m-GGUF-with-dense-modules:F32 # Run inference directly in the terminal: llama cli -hf cduk/embeddinggemma-300m-GGUF-with-dense-modules:F32
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf cduk/embeddinggemma-300m-GGUF-with-dense-modules:F32 # Run inference directly in the terminal: llama cli -hf cduk/embeddinggemma-300m-GGUF-with-dense-modules:F32
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 cduk/embeddinggemma-300m-GGUF-with-dense-modules:F32 # Run inference directly in the terminal: ./llama-cli -hf cduk/embeddinggemma-300m-GGUF-with-dense-modules:F32
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 cduk/embeddinggemma-300m-GGUF-with-dense-modules:F32 # Run inference directly in the terminal: ./build/bin/llama-cli -hf cduk/embeddinggemma-300m-GGUF-with-dense-modules:F32
Use Docker
docker model run hf.co/cduk/embeddinggemma-300m-GGUF-with-dense-modules:F32
- LM Studio
- Jan
- Ollama
How to use cduk/embeddinggemma-300m-GGUF-with-dense-modules with Ollama:
ollama run hf.co/cduk/embeddinggemma-300m-GGUF-with-dense-modules:F32
- Unsloth Studio
How to use cduk/embeddinggemma-300m-GGUF-with-dense-modules with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
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 cduk/embeddinggemma-300m-GGUF-with-dense-modules to start chatting
Install Unsloth Studio (Windows)
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 cduk/embeddinggemma-300m-GGUF-with-dense-modules to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for cduk/embeddinggemma-300m-GGUF-with-dense-modules to start chatting
- Atomic Chat new
- Docker Model Runner
How to use cduk/embeddinggemma-300m-GGUF-with-dense-modules with Docker Model Runner:
docker model run hf.co/cduk/embeddinggemma-300m-GGUF-with-dense-modules:F32
- Lemonade
How to use cduk/embeddinggemma-300m-GGUF-with-dense-modules with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull cduk/embeddinggemma-300m-GGUF-with-dense-modules:F32
Run and chat with the model
lemonade run user.embeddinggemma-300m-GGUF-with-dense-modules-F32
List all available models
lemonade list
embeddinggemma-300m in GGUF format with included post-processing dense modules.
Unlike other GGUF which exclude the dense modules, this generates embeddings compatible with TEI and sentence-transformers.
For details, see:
- https://github.com/ggml-org/llama.cpp/pull/16367 and
- https://github.com/ggml-org/llama.cpp/issues/16538
| Rank | Model | Size | Similarity | Size Reduction |
|---|---|---|---|---|
| ๐ฅ 1st | embeddinggemma-300M-Q8_0.gguf | 318MB | 99.96% | 45.8% |
| ๐ฅ 2nd | embeddinggemma-300M-Q6_K.gguf | 252MB | 99.75% | 57.1% |
| ๐ฅ 3rd | embeddinggemma-300M-Q5_K.gguf | 238MB | 99.44% | 59.4% |
| 4th | embeddinggemma-300M-QAT-Q8.gguf | 318MB | 98.68% | 45.8% |
| 5th | embeddinggemma-300M-Q4_K.gguf | 228MB | 98.32% | 61.2% |
| 6th | embeddinggemma-300M-QAT-Q4_K.gguf | 228MB | 95.81% | 61.2% |
- Downloads last month
- 75
Hardware compatibility
Log In to add your hardware
Model tree for cduk/embeddinggemma-300m-GGUF-with-dense-modules
Base model
google/embeddinggemma-300m