Instructions to use mradermacher/shieldgemma-9b-i1-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mradermacher/shieldgemma-9b-i1-GGUF with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mradermacher/shieldgemma-9b-i1-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use mradermacher/shieldgemma-9b-i1-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 mradermacher/shieldgemma-9b-i1-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf mradermacher/shieldgemma-9b-i1-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf mradermacher/shieldgemma-9b-i1-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf mradermacher/shieldgemma-9b-i1-GGUF:Q4_K_M
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 mradermacher/shieldgemma-9b-i1-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf mradermacher/shieldgemma-9b-i1-GGUF:Q4_K_M
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 mradermacher/shieldgemma-9b-i1-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf mradermacher/shieldgemma-9b-i1-GGUF:Q4_K_M
Use Docker
docker model run hf.co/mradermacher/shieldgemma-9b-i1-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use mradermacher/shieldgemma-9b-i1-GGUF with Ollama:
ollama run hf.co/mradermacher/shieldgemma-9b-i1-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use mradermacher/shieldgemma-9b-i1-GGUF with Docker Model Runner:
docker model run hf.co/mradermacher/shieldgemma-9b-i1-GGUF:Q4_K_M
- Lemonade
How to use mradermacher/shieldgemma-9b-i1-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull mradermacher/shieldgemma-9b-i1-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.shieldgemma-9b-i1-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Download imatrix.dat from mradermacher/shieldgemma-9b-i1-GGUF: direct link, hf CLI and curl.
- Browser
- Download file 6.12 MB
-
https://huggingface.co/mradermacher/shieldgemma-9b-i1-GGUF/resolve/92d6618c8ff5ebe5add71ea0f23fbbd0e8fe45ef/imatrix.dat
- Command line
-
hf download hf://mradermacher/shieldgemma-9b-i1-GGUF@92d6618c8ff5ebe5add71ea0f23fbbd0e8fe45ef/imatrix.dat
-
curl -L -o imatrix.dat https://huggingface.co/mradermacher/shieldgemma-9b-i1-GGUF/resolve/92d6618c8ff5ebe5add71ea0f23fbbd0e8fe45ef/imatrix.dat
6.12 MB
- Xet hash:
- 6d09264add2b1924e65fb7dc994b2ded8f6653d822c082c7ac592b442997aeb8
- Size of remote file:
- 6.12 MB
- SHA256:
- 9edb843379345af3f246fe7a4e7734467025d7011cbce905880956bd7fb3e98c
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.