Spaces:
Paused
Paused
File size: 1,408 Bytes
9e3a4e0 9213fa6 9e3a4e0 8bfd4fe 9e3a4e0 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
---
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 |