AI From Scratch/Phase 15/Lesson 18/~45 minutes

Llama Guard and Input/Output Classification

Learn

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...

Loading lesson page...