Instructions to use jquirion/Llama-Guard-3-1B-Q4_K_M 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 jquirion/Llama-Guard-3-1B-Q4_K_M 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 jquirion/Llama-Guard-3-1B-Q4_K_M:Q4_K_M # Run inference directly in the terminal: llama cli -hf jquirion/Llama-Guard-3-1B-Q4_K_M:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf jquirion/Llama-Guard-3-1B-Q4_K_M:Q4_K_M # Run inference directly in the terminal: llama cli -hf jquirion/Llama-Guard-3-1B-Q4_K_M: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 jquirion/Llama-Guard-3-1B-Q4_K_M:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf jquirion/Llama-Guard-3-1B-Q4_K_M: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 jquirion/Llama-Guard-3-1B-Q4_K_M:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf jquirion/Llama-Guard-3-1B-Q4_K_M:Q4_K_M
Use Docker
docker model run hf.co/jquirion/Llama-Guard-3-1B-Q4_K_M:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use jquirion/Llama-Guard-3-1B-Q4_K_M with Ollama:
ollama run hf.co/jquirion/Llama-Guard-3-1B-Q4_K_M:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use jquirion/Llama-Guard-3-1B-Q4_K_M with Docker Model Runner:
docker model run hf.co/jquirion/Llama-Guard-3-1B-Q4_K_M:Q4_K_M
- Lemonade
How to use jquirion/Llama-Guard-3-1B-Q4_K_M with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull jquirion/Llama-Guard-3-1B-Q4_K_M:Q4_K_M
Run and chat with the model
lemonade run user.Llama-Guard-3-1B-Q4_K_M-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Model Card for Model ID
This model is a Q4_K_M quantized version of meta-llama/Llama-Gard-3-1B and is provided in GGUF file format. It is intended for fast execution at the edge using llama.cpp or ollama.
Model Details
1B parameters 955.4 MB size Q4_K_M quantization
Model Description
This model is a Q4_K_M quantized version of meta-llama/Llama-Gard-3-1B and is provided in GGUF file format. It is intended for fast execution at the edge using llama.cpp or ollama.
Runing using ollama: ollama run hf.co/jquirion/Llama-Guard-3-1B-Q4_K_M
- Developed by: jquirion
- Model type: Large Language Model
- Language(s) (NLP): Same as Lama-Guard-3-1B
- License: llama3.2
- Finetuned from model [optional]: Not finetunned. Same as Lama-Guard-3-1B.
Use
The model predicts safety labels on the 13 categories shown below, based on the MLCommons taxonomy of 13 hazards.
Hazard categories:
S1: Violent Crimes S2: Non-Violent Crimes S3: Sex-Related Crimes S4: Child Sexual Exploitation S5: Defamation S6: Specialized Advice S7: Privacy S8: Intellectual Property S9: Indiscriminate Weapons S10: Hate S11: Suicide & Self-Harm S12: Sexual Content S13: Elections
- Downloads last month
- 12
4-bit
Model tree for jquirion/Llama-Guard-3-1B-Q4_K_M
Base model
meta-llama/Llama-Guard-3-1B