Improve dataset card: add links, citation, and license

#2
by nielsr HF Staff - opened
Files changed (1) hide show
  1. README.md +25 -36
README.md CHANGED
@@ -1,10 +1,11 @@
1
  ---
2
- pretty_name: FreeStyle Bench
 
 
3
  task_categories:
4
  - image-to-image
5
  - text-to-image
6
- language:
7
- - en
8
  tags:
9
  - benchmark
10
  - style-transfer
@@ -15,7 +16,9 @@ tags:
15
 
16
  # FreeStyle Bench
17
 
18
- This repository contains benchmark inputs for evaluating FreeStyle reference-based image editing.
 
 
19
 
20
  It includes two benchmark subsets:
21
 
@@ -43,46 +46,23 @@ Both subsets use the same basic layout: a content-reference folder, a style-refe
43
  prompts.json
44
  ```
45
 
46
- ## `sref_bench`
47
 
48
- `sref_bench` is the style-transfer benchmark.
49
 
50
- For each benchmark pair:
51
 
52
  - `sref_bench/cref/` contains the content reference image.
53
  - `sref_bench/sref/` contains the style reference image.
54
  - `sref_bench/prompts.json` contains the text prompt or instruction for the pair.
55
 
56
- The keys in `prompts.json` are pair basenames. A key can be used to match the corresponding content and style reference images across the two folders.
57
 
58
- For example, if `prompts.json` contains a key:
59
 
60
- ```text
61
- example_pair
62
- ```
63
 
64
- then the corresponding files should be found by matching the same basename under:
65
-
66
- ```text
67
- sref_bench/cref/example_pair.*
68
- sref_bench/sref/example_pair.*
69
- ```
70
-
71
- where the image extension may depend on the actual uploaded files.
72
-
73
- ## `cref_sref_bench`
74
-
75
- `cref_sref_bench` is the content-and-style dual-reference benchmark.
76
-
77
- It has the same structure as `sref_bench`:
78
-
79
- - `cref_sref_bench/cref/` contains the content reference image.
80
- - `cref_sref_bench/sref/` contains the style reference image.
81
- - `cref_sref_bench/prompts.json` contains the text prompt or instruction for the pair.
82
-
83
- Again, each key in `prompts.json` is a pair basename and can be used to align the content reference image in `cref/` with the style reference image in `sref/`.
84
-
85
- ## How To Read A Pair
86
 
87
  ```python
88
  import json
@@ -115,5 +95,14 @@ print("style reference:", sref_path)
115
  - `sref` means style reference.
116
  - `prompts.json` is the index file for each subset.
117
  - The key of each `prompts.json` entry is the pair basename used to match images in `cref/` and `sref/`.
118
- - Use `sref_bench` for style-transfer evaluation.
119
- - Use `cref_sref_bench` for dual-reference content-and-style evaluation.
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ language:
3
+ - en
4
+ license: cc-by-nc-4.0
5
  task_categories:
6
  - image-to-image
7
  - text-to-image
8
+ pretty_name: FreeStyle Bench
 
9
  tags:
10
  - benchmark
11
  - style-transfer
 
16
 
17
  # FreeStyle Bench
18
 
19
+ [Paper](https://huggingface.co/papers/2606.20506) | [Code](https://github.com/Blue2Giant/FreeStyle) | [Project Page](https://blue2giant.github.io/FreeStyle/)
20
+
21
+ This repository contains benchmark inputs for evaluating **FreeStyle**, a framework for style-content dual-reference generation.
22
 
23
  It includes two benchmark subsets:
24
 
 
46
  prompts.json
47
  ```
48
 
49
+ ## Subset Details
50
 
51
+ ### `sref_bench`
52
 
53
+ `sref_bench` is the style-transfer benchmark. For each benchmark pair:
54
 
55
  - `sref_bench/cref/` contains the content reference image.
56
  - `sref_bench/sref/` contains the style reference image.
57
  - `sref_bench/prompts.json` contains the text prompt or instruction for the pair.
58
 
59
+ ### `cref_sref_bench`
60
 
61
+ `cref_sref_bench` is the content-and-style dual-reference benchmark. It has the same structure as `sref_bench`, where each key in `prompts.json` is a pair basename used to align the content reference image with the style reference image.
62
 
63
+ ## Sample Usage
 
 
64
 
65
+ You can use the following code to read a benchmark pair and its associated metadata:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
66
 
67
  ```python
68
  import json
 
95
  - `sref` means style reference.
96
  - `prompts.json` is the index file for each subset.
97
  - The key of each `prompts.json` entry is the pair basename used to match images in `cref/` and `sref/`.
98
+
99
+ ## Citation
100
+
101
+ ```bibtex
102
+ @article{lan2026freestyle,
103
+ title = {FreeStyle: Free Control of Style-Content Dual-Reference Generation from Community LoRA Mining},
104
+ author = {Lan, Jinghong and Cheng, Wei and Chen, Yunuo and Ye, Ziqi and Xing, Peng and Fang, Yixiao and Wang, Rui and Yang, Yufeng and Zhang, Xuanyang and Zou, Difan and Zeng, Xianfang and Yu, Gang and Zhang, Chi},
105
+ journal = {arXiv preprint arXiv:2606.20506},
106
+ year = {2026}
107
+ }
108
+ ```