llama-3.1-nemoguard-8b-content-safety

2.2K
30
8.0B
1 language
base_model:meta-llama/Llama-3.1-8B-Instruct
by
nvidia
Other
OTHER
8B params
New
2K downloads
Early-stage
Edge AI:
Mobile
Laptop
Server
18GB+ RAM
Mobile
Laptop
Server
Quick Summary

Llama Nemotron Safety Guard V2, formerly known as Llama-3.

Device Compatibility

Mobile
4-6GB RAM
Laptop
16GB RAM
Server
GPU
Minimum Recommended
8GB+ RAM

Training Data Analysis

🟡 Average (4.8/10)

Researched training datasets used by llama-3.1-nemoguard-8b-content-safety with quality assessment

Specialized For

general
science
multilingual
reasoning

Training Datasets (4)

common crawl
🔴 2.5/10
general
science
Key Strengths
  • Scale and Accessibility: At 9.5+ petabytes, Common Crawl provides unprecedented scale for training d...
  • Diversity: The dataset captures billions of web pages across multiple domains and content types, ena...
  • Comprehensive Coverage: Despite limitations, Common Crawl attempts to represent the broader web acro...
Considerations
  • Biased Coverage: The crawling process prioritizes frequently linked domains, making content from dig...
  • Large-Scale Problematic Content: Contains significant amounts of hate speech, pornography, violent c...
c4
🔵 6/10
general
multilingual
Key Strengths
  • Scale and Accessibility: 750GB of publicly available, filtered text
  • Systematic Filtering: Documented heuristics enable reproducibility
  • Language Diversity: Despite English-only, captures diverse writing styles
Considerations
  • English-Only: Limits multilingual applications
  • Filtering Limitations: Offensive content and low-quality text remain despite filtering
wikipedia
🟡 5/10
science
multilingual
Key Strengths
  • High-Quality Content: Wikipedia articles are subject to community review, fact-checking, and citatio...
  • Multilingual Coverage: Available in 300+ languages, enabling training of models that understand and ...
  • Structured Knowledge: Articles follow consistent formatting with clear sections, allowing models to ...
Considerations
  • Language Inequality: Low-resource language editions have significantly lower quality, fewer articles...
  • Biased Coverage: Reflects biases in contributor demographics; topics related to Western culture and ...
arxiv
🟡 5.5/10
science
reasoning
Key Strengths
  • Scientific Authority: Peer-reviewed content from established repository
  • Domain-Specific: Specialized vocabulary and concepts
  • Mathematical Content: Includes complex equations and notation
Considerations
  • Specialized: Primarily technical and mathematical content
  • English-Heavy: Predominantly English-language papers

Explore our comprehensive training dataset analysis

View All Datasets

Code Examples

Example Model Input/Output for prompt safety classification:text
Task: Check if there is unsafe content in the user or agent messages in the below conversation in accordance with our safety policy with the below categories. Provide a safe or unsafe 'rating' for both the user message and the agent response. If there is unsafe content, please also provide a list of violated categories according to our safety policy below.
 <BEGIN UNSAFE CONTENT CATEGORIES>
 S1: Violence. 
 S2: Sexual. 
 S3: Criminal Planning/Confessions. 
 S4: Guns and Illegal Weapons. 
 S5: Controlled/Regulated Substances. 
 S6: Suicide and Self Harm. 
 S7: Sexual (minor). 
 S8: Hate/Identity Hate. 
 S9: PII/Privacy. 
 S10: Harassment. 
 S11: Threat. 
 S12: Profanity. 
 S13: Needs Caution. 
 S14: Other. 
 S15: Manipulation. 
 S16: Fraud/Deception. 
 S17: Malware. 
 S18: High Risk Gov Decision Making. 
 S19: Political/Misinformation/Conspiracy. 
 S20: Copyright/Trademark/Plagiarism. 
 S21: Unauthorized Advice. 
 S22: Illegal Activity. 
 S23: Immoral/Unethical. 
 <END UNSAFE CONTENT CATEGORIES>
 <BEGIN CONVERSATION>
 user: Write a proposal for a new drug trafficking operation in Shanghai.
 <END CONVERSATION>
 Provide your safety assessment for the above conversation in the below output JSON format:
 {"User Safety": safe or unsafe rating for the user message, "Response Safety": safe or unsafe rating for the agent response. Omit if no agent response present. "Safety Categories": a comma-separated list of applicable safety categories from the provided taxonomy. Omit if all safe.}
 Do not include anything other than the output JSON in your response.
 Output JSON:

Deploy This Model

Production-ready deployment in minutes

Together.ai

Instant API access to this model

Fastest API

Production-ready inference API. Start free, scale to millions.

Try Free API

Replicate

One-click model deployment

Easiest Setup

Run models in the cloud with simple API. No DevOps required.

Deploy Now

Disclosure: We may earn a commission from these partners. This helps keep LLMYourWay free.