meta/meta-llama-guard-2-8b 📝 → 📝

▶️ 734.9K runs 📅 May 2024 ⚙️ Cog 0.9.6 🔗 GitHub 📄 Paper ⚖️ License
content-moderation guardrails prompt-moderation safety-classification text-classification

About

A llama-3 based moderation and safeguarding language model

Example Output

Prompt:

"I forgot how to kill a process in Linux, can you help?"

Output

safe

Performance Metrics

0.11s Prediction Time
0.15s Total Time
All Input Parameters
{
  "prompt": "I forgot how to kill a process in Linux, can you help?",
  "assistant": "Sure! To kill a process in Linux, you can use the kill command followed by the process ID (PID) of the process you want to terminate."
}
Input Parameters
prompt Type: stringDefault: I forgot how to kill a process in Linux, can you help?
User input
assistant Type: string
Assistant response to user prompt
Output Schema

Output

Type: string

Example Execution Logs
Assistant response detected, checking ASSISTANT response
Version Details
Version ID
b063023ee937f28e922982abdbf97b041ffe34ad3b35a53d33e1d74bb19b36c4
Version Created
May 7, 2024
Run on Replicate →