Instructions to use Snapkitty/gemma-2-2b-it-ternary-gguf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Snapkitty/gemma-2-2b-it-ternary-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 Snapkitty/gemma-2-2b-it-ternary-gguf # Run inference directly in the terminal: llama cli -hf Snapkitty/gemma-2-2b-it-ternary-gguf
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Snapkitty/gemma-2-2b-it-ternary-gguf # Run inference directly in the terminal: llama cli -hf Snapkitty/gemma-2-2b-it-ternary-gguf
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf Snapkitty/gemma-2-2b-it-ternary-gguf # Run inference directly in the terminal: ./build/bin/llama cli -hf Snapkitty/gemma-2-2b-it-ternary-gguf
Use Docker
docker model run hf.co/Snapkitty/gemma-2-2b-it-ternary-gguf
- Llama new
- LM Studio
- Jan
- vLLM
How to use Snapkitty/gemma-2-2b-it-ternary-gguf with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Snapkitty/gemma-2-2b-it-ternary-gguf" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Snapkitty/gemma-2-2b-it-ternary-gguf", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Snapkitty/gemma-2-2b-it-ternary-gguf
- Ollama
How to use Snapkitty/gemma-2-2b-it-ternary-gguf with Ollama:
ollama run hf.co/Snapkitty/gemma-2-2b-it-ternary-gguf
- Unsloth Desktop
- Docker Model Runner
How to use Snapkitty/gemma-2-2b-it-ternary-gguf with Docker Model Runner:
docker model run hf.co/Snapkitty/gemma-2-2b-it-ternary-gguf
- Lemonade
How to use Snapkitty/gemma-2-2b-it-ternary-gguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Snapkitty/gemma-2-2b-it-ternary-gguf
Run and chat with the model
lemonade run user.gemma-2-2b-it-ternary-gguf-{{QUANT_TAG}}List all available models
lemonade list
- Atomic Chat
Gemma 2 2B IT 路 ternary GGUF
A ternary-weight GGUF of Google鈥檚 Gemma 2 2B Instruct, built from Snapkitty鈥檚 ternary checkpoint. The Soul Forge 4K demo shows the model streaming a chat response on Jetson Orin with llama.cpp b3496.
Run the model
Download gemma-2b-ternary-q4-exact.gguf and open it in a Gemma 2-compatible GGUF runtime. Select the Gemma 2 Instruct chat template for conversations.
The 1.48 GB file stores the ternary weights in standard Q4_0 blocks, preserving their values and scales. The file checksum is in SHA256SUMS.
Terms
By using or redistributing this artifact, you agree to comply with the
Gemma Terms of Use, including the
Gemma Prohibited Use Policy.
These restrictions apply to downstream use and distribution. See NOTICE,
GEMMA_TERMS_OF_USE.md, and SOURCE-LICENSE.
- Downloads last month
- 289
We're not able to determine the quantization variants.