Constitutional AI
A collection of datasets and models that accompany the Constitutional AI recipe. See hf.co/blog/constitutional-ai for more details.
- Build error7📜
mistralai/Mistral-7B-v0.1
Text Generation • Updated • 3.15M • • 3.51kNote The base model we aligned with Constitutional AI
HuggingFaceH4/mistral-7b-grok
Text Generation • Updated • 434 • 43Note A fine-tuned version of Mistral 7B that was aligned to mimic the style of xAI's Grok assistant.
HuggingFaceH4/mistral-7b-anthropic
Text Generation • Updated • 180 • 9Note A fine-tuned version of Mistral 7B that was aligned with Anthropic's constitution to mimic the style of their assistants.
mistralai/Mistral-7B-Instruct-v0.1
Text Generation • Updated • 3.28M • 1.54kNote The chat model we used to generate the Constitutional AI datasets via self-critique
Anthropic/hh-rlhf
Viewer • Updated • 169k • 10.5k • 1.23kNote The source of prompts used to generate Constitutional AI datasets
HuggingFaceH4/cai-conversation-harmless
Viewer • Updated • 44.8k • 228 • 15Note The SFT and preference dataset that was generated via Anthropic's constitution.
HuggingFaceH4/grok-conversation-harmless
Viewer • Updated • 44.8k • 59 • 23Note The SFT and preference dataset that was generated by tweaking Anthropic's constitution to produces responses similar to Grok.
Constitutional AI: Harmlessness from AI Feedback
Paper • 2212.08073 • Published • 2Note The original recipe from Anthropic on Consitutional AI. Note they used PPO for alignments, while we chose to use DPO as we find it much simpler to use in practice.