Loading lesson page...
AI From Scratch/Lesson 18/~45 minutes
Llama Guard and Input/Output Classification
Llama Guard 3 (Meta, Llama-3.1-8B base, fine-tuned for content safety) classifies both LLM inputs and outputs against an MLCommons 13-hazard taxonomy across 8 languages. A 1B-INT4 quantized variant runs at over 30 tokens/sec on mobile CPUs...
Learn