--- title: D&D Content Generator emoji: 🐉 colorFrom: indigo colorTo: purple sdk: gradio sdk_version: 5.29.0 app_file: app.py pinned: false license: mit --- # D&D Content Generator A Gradio web interface for generating Dungeons & Dragons content using a fine-tuned language model. ## About This demo uses the [DeepSeek-R1-Distill-Qwen-7B](https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Qwen-7B) model fine-tuned on D&D content with LoRA. The model can generate: - D&D characters with stats, backstories, and traits - Adventure hooks and campaign ideas - Magic items and equipment - Setting descriptions and locations - Monster stat blocks and abilities ## Usage Enter a prompt describing what D&D content you want to generate, then click "Generate" to create it. Example prompts: - "Create a D&D character with the following details: Race: Half-Elf, Class: Bard, Background: Entertainer" - "Design a D&D adventure hook set in a dark forest with a mysterious cult" - "Create a magical item for D&D 5e that would be suitable for a level 5 rogue" ## Model This demo uses [chendren/deepseek-dnd-lora](https://huggingface.co/chendren/deepseek-dnd-lora), a LoRA adapter fine-tuned on D&D content. - Base model: [deepseek-ai/DeepSeek-R1-Distill-Qwen-7B](https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Qwen-7B) - LoRA Rank: 8 - LoRA Alpha: 16 - Training Data: 500 examples of D&D content