Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cookbook: Content Moderation System with Llama Guard and Llama 3.1-70b #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

paulelliotco
Copy link
Owner

Content Moderation Cookbook

This cookbook demonstrates how to build a content moderation system using:

  • llama-guard-3-8b for safety classification
  • llama-3.1-70b for content analysis

Features

  • Platform-specific examples (Twitter/Facebook/Reddit/Instagram)
  • JSON report generation
  • Safety improvement suggestions

Quick Start

pip install groq
export GROQ_API_KEY="your-key"
jupyter notebook content_moderation.ipynb

Use Cases

  • Automating moderation workflows
  • Generating safety reports
  • Providing improvement suggestions for flagged content

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant