Update README.md
Browse filesUpdate description
README.md
CHANGED
|
@@ -47,3 +47,23 @@ configs:
|
|
| 47 |
- split: val
|
| 48 |
path: data/val-*
|
| 49 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 47 |
- split: val
|
| 48 |
path: data/val-*
|
| 49 |
---
|
| 50 |
+
|
| 51 |
+
# Dataset Card for svg-stack-filtered
|
| 52 |
+
|
| 53 |
+
This is an attempt to replicate the dataset used for SFT in the paper
|
| 54 |
+
[Rendering-Aware Reinforcement Learning for Vector Graphics Generation](https://huggingface.co/papers/2505.20793)
|
| 55 |
+
|
| 56 |
+
Processed:
|
| 57 |
+
- Optimized with svgo precision=2
|
| 58 |
+
- Rasterized with cairosvg[^cairo]
|
| 59 |
+
|
| 60 |
+
[^cairo] cairosvg doesn't implement all svg features, but matches how the original paper
|
| 61 |
+
|
| 62 |
+
Filtered based on some heuristics:
|
| 63 |
+
- Removed any svg that couldn't be rendered with cairosvg (~30%)
|
| 64 |
+
- Removed solid-color images
|
| 65 |
+
- Removed some problematic tags
|
| 66 |
+
- Removed svgs with `<text>`
|
| 67 |
+
- Removed svgs with embedded data url images
|
| 68 |
+
- Removed any svgs under 100 tokens
|
| 69 |
+
- Removed some broken svgs with nested `<svg>` tags
|