File size: 843 Bytes
5ebce49
747d60a
 
 
 
5ebce49
747d60a
5ebce49
 
747d60a
5ebce49
 
747d60a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
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`