dataset renamed to Pictor-SFT-35k
Browse files
README.md
CHANGED
|
@@ -10,7 +10,7 @@ size_categories:
|
|
| 10 |
- 10K<n<100K
|
| 11 |
---
|
| 12 |
|
| 13 |
-
#
|
| 14 |
|
| 15 |
35,000 prompt and program pairs for supervised fine-tuning of code-based image generation. Each program is a JavaScript
|
| 16 |
`render(stage)` function that draws the prompt in a 512x512 DOM element.
|
|
@@ -20,7 +20,7 @@ size_categories:
|
|
| 20 |
- A program is kept if it finishes normally, renders a non-blank image, loads nothing external and fits in 8,192 tokens (prompt plus program).
|
| 21 |
- FLUX captions whose images are related to PRISM-Bench prompts were left out.
|
| 22 |
|
| 23 |
-
|
| 24 |
|
| 25 |
## Files
|
| 26 |
|
|
@@ -51,14 +51,14 @@ All files are in `geneval-flux/`.
|
|
| 51 |
With the code at the GitHub repo (coming soon):
|
| 52 |
|
| 53 |
```bash
|
| 54 |
-
python train/fetch_sft_data.py geneval-flux --repo
|
| 55 |
```
|
| 56 |
|
| 57 |
It downloads `geneval-flux/*` and checks every file's sha256 against the manifest. Or with `huggingface_hub`:
|
| 58 |
|
| 59 |
```python
|
| 60 |
from huggingface_hub import snapshot_download
|
| 61 |
-
snapshot_download("
|
| 62 |
```
|
| 63 |
|
| 64 |
## Citation
|
|
|
|
| 10 |
- 10K<n<100K
|
| 11 |
---
|
| 12 |
|
| 13 |
+
# Pictor-SFT-35k
|
| 14 |
|
| 15 |
35,000 prompt and program pairs for supervised fine-tuning of code-based image generation. Each program is a JavaScript
|
| 16 |
`render(stage)` function that draws the prompt in a 512x512 DOM element.
|
|
|
|
| 20 |
- A program is kept if it finishes normally, renders a non-blank image, loads nothing external and fits in 8,192 tokens (prompt plus program).
|
| 21 |
- FLUX captions whose images are related to PRISM-Bench prompts were left out.
|
| 22 |
|
| 23 |
+
The SFT data of [Pictor-27B](https://huggingface.co/CodeImageGen/Pictor-27B) and every model in the paper.
|
| 24 |
|
| 25 |
## Files
|
| 26 |
|
|
|
|
| 51 |
With the code at the GitHub repo (coming soon):
|
| 52 |
|
| 53 |
```bash
|
| 54 |
+
python train/fetch_sft_data.py geneval-flux --repo CodeImageGen/Pictor-SFT-35k --out data/sft/geneval-flux
|
| 55 |
```
|
| 56 |
|
| 57 |
It downloads `geneval-flux/*` and checks every file's sha256 against the manifest. Or with `huggingface_hub`:
|
| 58 |
|
| 59 |
```python
|
| 60 |
from huggingface_hub import snapshot_download
|
| 61 |
+
snapshot_download("CodeImageGen/Pictor-SFT-35k", repo_type="dataset", allow_patterns=["geneval-flux/*"])
|
| 62 |
```
|
| 63 |
|
| 64 |
## Citation
|