LlamaGuard 7B by meta-llama

 ยป  All LLMs  ยป  meta-llama  ยป  LlamaGuard 7B   URL Share it on

  Arxiv:2307.09288   Arxiv:2312.04724   Autotrain compatible   Conversational   En   Endpoints compatible   Facebook   Llama   Llama2   Meta   Pytorch   Region:us   Safetensors   Sharded   Tensorflow

LlamaGuard 7B Benchmarks

nn.n% — How the model compares to the reference models: Anthropic Sonnet 3.5 ("so35"), GPT-4o ("gpt4o") or GPT-4 ("gpt4").
LlamaGuard 7B (meta-llama/LlamaGuard-7b)
๐ŸŒŸ Advertise your project ๐Ÿš€

LlamaGuard 7B Parameters and Internals

Model Type 
input-output safeguard, content classification
Use Cases 
Primary Use Cases:
Classifying content in LLM inputs and responses
Training Details 
Data Sources:
Anthropic dataset, in-house redteaming examples
Data Volume:
~13K training examples
LLM NameLlamaGuard 7B
Repository ๐Ÿค—https://huggingface.co/meta-llama/LlamaGuard-7b 
Model Size7b
Required VRAM13.5 GB
Updated2025-07-31
Maintainermeta-llama
Model Typellama
Model Files  4.9 GB: 1-of-3   5.0 GB: 2-of-3   3.6 GB: 3-of-3
Supported Languagesen
Model ArchitectureAutoModelForCausalLM
Licensellama2
Context Length4096
Model Max Length4096
Transformers Version4.35.2
Tokenizer ClassLlamaTokenizer
Vocabulary Size32000
Torch Data Typebfloat16

Quantized Models of the LlamaGuard 7B

Model
Likes
Downloads
VRAM
...B GPTQ 4bit 128g Actorder True252 GB

Best Alternatives to LlamaGuard 7B

Best Alternatives
Context / RAM
Downloads
Likes
Mistral 7B V0.332K / 14.5 GB12305
Mistral 7B Instruct V0.332K / 14.5 GB2575
Mistral 7B Instruct V0.332K / 14.5 GB14453
...unoichi Lemon Royale V3 32K 7B32K / 14.5 GB125
Mistralai Mistral 7B V0.332K / 14.5 GB123
...ralai Mistral 7B Instruct V0.332K / 14.5 GB152
Mistral 7B Instruct V0.332K / 14.5 GB120
Mistral 7B V0.232K / 14.5 GB111
Full V4 Astromistral Final32K / 4.5 GB61
Merak 7B Squadpairs Indo4K / 7 GB50
Note: green Score (e.g. "73.2") means that the model is better than meta-llama/LlamaGuard-7b.

Rank the LlamaGuard 7B Capabilities

๐Ÿ†˜ Have you tried this model? Rate its performance. This feedback would greatly assist ML community in identifying the most suitable model for their needs. Your contribution really does make a difference! ๐ŸŒŸ

Instruction Following and Task Automation  
Factuality and Completeness of Knowledge  
Censorship and Alignment  
Data Analysis and Insight Generation  
Text Generation  
Text Summarization and Feature Extraction  
Code Generation  
Multi-Language Support and Translation  

What open-source LLMs or SLMs are you in search of? 50299 in total.

Our Social Media →  
Original data from HuggingFace, OpenCompass and various public git repos.
Release v20241124