Spaces:
Sleeping
Sleeping
| title: DPO Recipe Generator | |
| emoji: 🍳 | |
| colorFrom: red | |
| colorTo: yellow | |
| sdk: gradio | |
| sdk_version: 4.44.0 | |
| app_file: app.py | |
| pinned: false | |
| license: mit | |
| # DPO Recipe Generator | |
| Generate personalized recipes using DPO-trained persona models. | |
| ## Available Personas | |
| - **Korean Spicy**: Korean cuisine with emphasis on spicy flavors (gochujang, kimchi) | |
| - **Mexican Vegan**: Mexican cuisine, plant-based recipes (beans, avocado, salsa) | |
| ## API Usage | |
| ```bash | |
| curl -X POST "https://hunjun-dpo-recipe-api.hf.space/api/predict" \ | |
| -H "Content-Type: application/json" \ | |
| -d '{"data": ["korean_spicy", "tofu, rice, gochujang", "Make something spicy", 512, 0.7]}' | |
| ``` | |
| ## Models | |
| - Base Model: `meta-llama/Llama-3.2-3B-Instruct` | |
| - Korean Spicy Adapter: `Hunjun/korean-spicy-dpo-adapter` | |
| - Mexican Vegan Adapter: `Hunjun/mexican-vegan-dpo-adapter` | |