Text Generation
GGUF
quantized
GGUF
quantization
imat
imatrix
static
16bit
8bit
6bit
5bit
4bit
3bit
2bit
1bit
conversational
Instructions to use legraphista/shieldgemma-27b-IMat-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 legraphista/shieldgemma-27b-IMat-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 legraphista/shieldgemma-27b-IMat-GGUF:Q4_K_S # Run inference directly in the terminal: llama cli -hf legraphista/shieldgemma-27b-IMat-GGUF:Q4_K_S
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf legraphista/shieldgemma-27b-IMat-GGUF:Q4_K_S # Run inference directly in the terminal: llama cli -hf legraphista/shieldgemma-27b-IMat-GGUF:Q4_K_S
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 legraphista/shieldgemma-27b-IMat-GGUF:Q4_K_S # Run inference directly in the terminal: ./llama-cli -hf legraphista/shieldgemma-27b-IMat-GGUF:Q4_K_S
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 legraphista/shieldgemma-27b-IMat-GGUF:Q4_K_S # Run inference directly in the terminal: ./build/bin/llama-cli -hf legraphista/shieldgemma-27b-IMat-GGUF:Q4_K_S
Use Docker
docker model run hf.co/legraphista/shieldgemma-27b-IMat-GGUF:Q4_K_S
- LM Studio
- Jan
- vLLM
How to use legraphista/shieldgemma-27b-IMat-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "legraphista/shieldgemma-27b-IMat-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": "legraphista/shieldgemma-27b-IMat-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/legraphista/shieldgemma-27b-IMat-GGUF:Q4_K_S
- Ollama
How to use legraphista/shieldgemma-27b-IMat-GGUF with Ollama:
ollama run hf.co/legraphista/shieldgemma-27b-IMat-GGUF:Q4_K_S
- Unsloth Desktop
- Docker Model Runner
How to use legraphista/shieldgemma-27b-IMat-GGUF with Docker Model Runner:
docker model run hf.co/legraphista/shieldgemma-27b-IMat-GGUF:Q4_K_S
- Lemonade
How to use legraphista/shieldgemma-27b-IMat-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull legraphista/shieldgemma-27b-IMat-GGUF:Q4_K_S
Run and chat with the model
lemonade run user.shieldgemma-27b-IMat-GGUF-Q4_K_S
List all available models
lemonade list
- Atomic Chat
Ctrl+K
- shieldgemma-27b.BF16
- shieldgemma-27b.FP16
- 3.61 kB
- 9.82 kB
- 11.8 MB xet
- 280 kB
- 11.3 kB
- 6.69 GB xet
- 6.13 GB xet
- 9.4 GB xet
- 8.65 GB xet
- 8.4 GB xet
- 7.63 GB xet
- 12.5 GB xet
- 12.2 GB xet
- 11.6 GB xet
- 10.8 GB xet
- 15.6 GB xet
- 14.8 GB xet
- 10.4 GB xet
- 9.72 GB xet
- 13.4 GB xet
- 14.5 GB xet
- 12.2 GB xet
- 16.6 GB xet
- 15.7 GB xet
- 19.4 GB xet
- 18.9 GB xet
- 22.3 GB xet
- 28.9 GB xet