The course provides guidance on best practices for prompting and building applications with the powerful open commercial license models of Llama 2.
-
Updated
Mar 27, 2024 - Jupyter Notebook
The course provides guidance on best practices for prompting and building applications with the powerful open commercial license models of Llama 2.
LLM Security Project with Llama Guard
Open-source red-team harness for LLMs. Jailbreaks, prompt injection, agentic tool-abuse and image attacks, scored with validated judges (Llama Guard 3, StrongREJECT).
Defense-in-depth input safety for LLMs — perplexity gate + FAISS + ModernBERT + LoRA + Llama Guard 3, behind a deterministic policy gate. 99.88% accuracy, 99.47% jailbreak recall, calibrated confidence, ONNX-optimized. Live demo on HF Spaces.
Brazilian LLM guardrails layer, detects and masks BR PII (CPF, CNPJ, RG, CNH, título de eleitor, PIS) with checksum validation, classifies PT-BR prompt injection via Llama Guard 3, and maps every guardrail to its LGPD article. Python library + Docker REST API sidecar.
Evaluating PAIR, GCG, and Prompt-RS jailbreak attacks against LLaMA-3.1, LLaMA-4, and Qwen3-32B. Two-stage defense pipeline (prompt sanitization + LlamaGuard) achieving 95% Defense Block Rate.
SentinelShield: Advanced AI content moderation combining Llama Prompt Guard 2, rule-based filtering, and real-time analysis. Protect your applications from harmful content, prompt injection attacks, and inappropriate material with sub-second response times.
Nutrition Disorder Specialist Chatbot using Agentic RAG System
Add a description, image, and links to the llama-guard topic page so that developers can more easily learn about it.
To associate your repository with the llama-guard topic, visit your repo's landing page and select "manage topics."