File size: 1,436 Bytes
e3e0f8e
d14d720
 
 
 
 
 
e3e0f8e
 
 
d14d720
e3e0f8e
 
 
d14d720
 
e3e0f8e
 
 
 
d14d720
 
 
 
 
 
 
 
 
 
 
 
 
e3e0f8e
 
d14d720
 
e3e0f8e
 
d14d720
 
 
 
 
e3e0f8e
 
d14d720
 
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
45
46
47
48
49
# miles-diffusion-datasets

Prompt datasets used by the miles-diffusion training pipeline.

## Layout

```
flowgrpo_ocr/                    # OCR-style prompts from flowGRPO
├── train.jsonl                  # 19,653
└── test.jsonl                   # 1,018

flowgrpo_pickscore/              # PickScore prompts from flowGRPO
├── train.jsonl                  # 25,432
└── test.jsonl                   # 2,048
```

Directory prefixes (`flowgrpo_*`) record the upstream source so the schema
stays clear when more datasets land here later (other reward families,
internal prompts, etc.).

## Format

Each `.jsonl` file has one JSON object per line:

```json
{"input": "A close-up of a medicine bottle with a clear, red warning label..."}
```

UTF-8 encoded (`ensure_ascii=False`), no escaping for non-ASCII characters.

## Usage

```bash
hf download --repo-type dataset rockdu/miles-diffusion-datasets \
    --local-dir /root/datasets/miles-diffusion-datasets

python train_diffusion.py \
    --prompt-data /root/datasets/miles-diffusion-datasets/flowgrpo_ocr/train.jsonl \
    --eval-prompt-data ocr_test /root/datasets/miles-diffusion-datasets/flowgrpo_ocr/test.jsonl \
    ...
```

## Provenance

`flowgrpo_*` directories: extracted from
[flow_grpo](https://github.com/yifan123/flow_grpo)'s
`dataset/{ocr,pickscore}/{train,test}.txt` files (one prompt per line) and
converted to `{"input": prompt}` JSONL format.