rockdu commited on
Commit
e3e0f8e
·
verified ·
1 Parent(s): e9b9e76

add flowgrpo_ocr/ + flowgrpo_pickscore/ + updated README

Browse files
README.md CHANGED
@@ -1,19 +1,23 @@
1
- # miles-diffusion-prompts
2
 
3
  Prompt datasets used by the miles-diffusion training pipeline.
4
 
5
  ## Layout
6
 
7
  ```
8
- ocr/
9
- ├── train.jsonl # 19,653 OCR-style prompts for training
10
- └── test.jsonl # 1,018 OCR-style prompts for eval
11
 
12
- pickscore/
13
- ├── train.jsonl # 25,432 PickScore-style prompts for training
14
- └── test.jsonl # 2,048 PickScore-style prompts for eval
15
  ```
16
 
 
 
 
 
17
  ## Format
18
 
19
  Each `.jsonl` file has one JSON object per line:
@@ -27,17 +31,18 @@ UTF-8 encoded (`ensure_ascii=False`), no escaping for non-ASCII characters.
27
  ## Usage
28
 
29
  ```bash
30
- hf download --repo-type dataset <namespace>/miles-diffusion-prompts \
31
- --local-dir /root/datasets/miles-diffusion-prompts
32
 
33
  python train_diffusion.py \
34
- --prompt-data /root/datasets/miles-diffusion-prompts/ocr/train.jsonl \
35
- --eval-prompt-data ocr_test /root/datasets/miles-diffusion-prompts/ocr/test.jsonl \
36
  ...
37
  ```
38
 
39
  ## Provenance
40
 
41
- Originally extracted from [flow_grpo](https://github.com/yifan123/flow_grpo)'s
 
42
  `dataset/{ocr,pickscore}/{train,test}.txt` files (one prompt per line) and
43
  converted to `{"input": prompt}` JSONL format.
 
1
+ # miles-diffusion-datasets
2
 
3
  Prompt datasets used by the miles-diffusion training pipeline.
4
 
5
  ## Layout
6
 
7
  ```
8
+ flowgrpo_ocr/ # OCR-style prompts from flowGRPO
9
+ ├── train.jsonl # 19,653
10
+ └── test.jsonl # 1,018
11
 
12
+ flowgrpo_pickscore/ # PickScore prompts from flowGRPO
13
+ ├── train.jsonl # 25,432
14
+ └── test.jsonl # 2,048
15
  ```
16
 
17
+ Directory prefixes (`flowgrpo_*`) record the upstream source so the schema
18
+ stays clear when more datasets land here later (other reward families,
19
+ internal prompts, etc.).
20
+
21
  ## Format
22
 
23
  Each `.jsonl` file has one JSON object per line:
 
31
  ## Usage
32
 
33
  ```bash
34
+ hf download --repo-type dataset rockdu/miles-diffusion-datasets \
35
+ --local-dir /root/datasets/miles-diffusion-datasets
36
 
37
  python train_diffusion.py \
38
+ --prompt-data /root/datasets/miles-diffusion-datasets/flowgrpo_ocr/train.jsonl \
39
+ --eval-prompt-data ocr_test /root/datasets/miles-diffusion-datasets/flowgrpo_ocr/test.jsonl \
40
  ...
41
  ```
42
 
43
  ## Provenance
44
 
45
+ `flowgrpo_*` directories: extracted from
46
+ [flow_grpo](https://github.com/yifan123/flow_grpo)'s
47
  `dataset/{ocr,pickscore}/{train,test}.txt` files (one prompt per line) and
48
  converted to `{"input": prompt}` JSONL format.
flowgrpo_ocr/test.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
flowgrpo_ocr/train.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
flowgrpo_pickscore/test.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
flowgrpo_pickscore/train.jsonl ADDED
The diff for this file is too large to render. See raw diff