This repository demonstrates the implementation of NVIDIA's Llama 3.1 NeMoGuard 8B Content Safety model for detecting unsafe content in conversations.
Overview
The NeMoGuard Content Safety model is a fine-tuned version of Meta's Llama 3.1 8B Instruct model, specifically trained to identify and classify potentially harmful or unsafe content in user prompts and AI responses.
Features
Content Safety Assessment: Evaluates conversations for potential safety concerns
Category Classification: Identifies specific safety categories when unsafe content is detected
User & Response Safety: Separately assesses both user inputs and agent responses
Easy Integration: Simple API using Hugging Face Transformers and PEFT
Report problems with Hugging Face integration on huggingface.js
Disclaimer
This model is designed for content safety assessment and should be used responsibly. It is a tool to help identify potentially harmful content but should not be the sole mechanism for content moderation in production systems.