Datasets:
initial commit
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- README.md +79 -3
- test/images/0000.jpg +3 -0
- test/images/0001.jpg +3 -0
- test/images/0002.jpg +3 -0
- test/images/0003.jpg +3 -0
- test/images/0004.jpg +3 -0
- test/images/0005.jpg +3 -0
- test/images/0006.jpg +3 -0
- test/images/0007.jpg +3 -0
- test/images/0008.jpg +3 -0
- test/images/0009.jpg +3 -0
- test/images/0010.jpg +3 -0
- test/images/0011.jpg +3 -0
- test/images/0012.jpg +3 -0
- test/images/0013.jpg +3 -0
- test/images/0014.jpg +3 -0
- test/images/0015.jpg +3 -0
- test/images/0016.jpg +3 -0
- test/images/0017.jpg +3 -0
- test/images/0018.jpg +3 -0
- test/images/0019.jpg +3 -0
- test/images/0020.jpg +3 -0
- test/images/0021.jpg +3 -0
- test/images/0022.jpg +3 -0
- test/images/0023.jpg +3 -0
- test/images/0024.jpg +3 -0
- test/images/0025.jpg +3 -0
- test/images/0026.jpg +3 -0
- test/images/0027.jpg +3 -0
- test/images/0028.jpg +3 -0
- test/images/0029.jpg +3 -0
- test/images/0030.jpg +3 -0
- test/images/0031.jpg +3 -0
- test/images/0032.jpg +3 -0
- test/images/0033.jpg +3 -0
- test/images/0034.jpg +3 -0
- test/images/0035.jpg +3 -0
- test/images/0036.jpg +3 -0
- test/images/0037.jpg +3 -0
- test/images/0038.jpg +3 -0
- test/images/0039.jpg +3 -0
- test/images/0040.jpg +3 -0
- test/images/0041.jpg +3 -0
- test/images/0042.jpg +3 -0
- test/images/0043.jpg +3 -0
- test/images/0044.jpg +3 -0
- test/images/0045.jpg +3 -0
- test/images/0046.jpg +3 -0
- test/images/0047.jpg +3 -0
- test/images/0048.jpg +3 -0
README.md
CHANGED
@@ -1,3 +1,79 @@
|
|
1 |
-
---
|
2 |
-
license: mit
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
language:
|
4 |
+
- en
|
5 |
+
pretty_name: KontextBench
|
6 |
+
size_categories:
|
7 |
+
- 1K<n<10K
|
8 |
+
---
|
9 |
+
# Kontext Bench
|
10 |
+
|
11 |
+
Kontext Bench is a benchmark for image editing models consisting of source images paired with image editing instructions and category tags.
|
12 |
+
|
13 |
+
The benchmark comprises 1026 unique image-prompt pairs derived from 108 base images from diverse sources. It spans five core tasks: local instruction editing, global instruction editing, text editing, style reference, and character reference. We found that the scale of the benchmark provides a good balance between reliable human evaluation and comprehensive coverage of real-world applications.
|
14 |
+
|
15 |
+
## Benchmark Structure
|
16 |
+
|
17 |
+
```
|
18 |
+
kontext-bench/
|
19 |
+
└── test/
|
20 |
+
├── images/
|
21 |
+
│ ├── 0000.jpg
|
22 |
+
│ ├── 0001.jpg
|
23 |
+
│ └── ...
|
24 |
+
└── metadata.jsonl
|
25 |
+
```
|
26 |
+
|
27 |
+
## Fields
|
28 |
+
|
29 |
+
Each line in `metadata.jsonl` consists of
|
30 |
+
|
31 |
+
- `file_name`: Path to the image file relative to the split directory
|
32 |
+
- `instruction`: The editing instruction to apply to the image
|
33 |
+
- `category`: Category of the editing instruction
|
34 |
+
- `key`: Unique identifier for this image-instruction pair
|
35 |
+
- `image_idx`: Index of the source image
|
36 |
+
- `prompt_idx`: Index of the prompt for this image
|
37 |
+
|
38 |
+
An example entry is shown below:
|
39 |
+
|
40 |
+
```
|
41 |
+
{
|
42 |
+
"file_name": "images/0000.jpg"
|
43 |
+
"instruction": "give the cat a tophat",
|
44 |
+
"category": "Instruction Editing - Local",
|
45 |
+
"key": "0000_01",
|
46 |
+
"img_idx": "0000",
|
47 |
+
"prompt_idx": "01"
|
48 |
+
}
|
49 |
+
```
|
50 |
+
|
51 |
+
## Benchmark Statistics
|
52 |
+
|
53 |
+
- Total entries: 1026
|
54 |
+
- Unique images: 108
|
55 |
+
|
56 |
+
## Category Statistics
|
57 |
+
|
58 |
+
- Character Reference: 193 entries
|
59 |
+
- Instruction Editing - Global: 262 entries
|
60 |
+
- Instruction Editing - Local: 416 entries
|
61 |
+
- Style Reference: 63 entries
|
62 |
+
- Text Editing: 92 entries
|
63 |
+
|
64 |
+
## License
|
65 |
+
The benchmark is released under the MIT License. This benchmark and the included Images are made available for scientific and research purposes only. We gratefully acknowledge all contributing photographers, Unsplash, Pexels for making their visuals available to the research community.
|
66 |
+
|
67 |
+
## Citation
|
68 |
+
|
69 |
+
```bib
|
70 |
+
@misc{labs2025flux1kontextflowmatching,
|
71 |
+
title={FLUX.1 Kontext: Flow Matching for In-Context Image Generation and Editing in Latent Space}, Add commentMore actions
|
72 |
+
author={Black Forest Labs and Stephen Batifol and Andreas Blattmann and Frederic Boesel and Saksham Consul and Cyril Diagne and Tim Dockhorn and Jack English and Zion English and Patrick Esser and Sumith Kulal and Kyle Lacey and Yam Levi and Cheng Li and Dominik Lorenz and Jonas Müller and Dustin Podell and Robin Rombach and Harry Saini and Axel Sauer and Luke Smith},
|
73 |
+
year={2025},
|
74 |
+
eprint={2506.15742},
|
75 |
+
archivePrefix={arXiv},
|
76 |
+
primaryClass={cs.GR},
|
77 |
+
url={https://arxiv.org/abs/2506.15742},
|
78 |
+
}
|
79 |
+
```
|
test/images/0000.jpg
ADDED
![]() |
Git LFS Details
|
test/images/0001.jpg
ADDED
![]() |
Git LFS Details
|
test/images/0002.jpg
ADDED
![]() |
Git LFS Details
|
test/images/0003.jpg
ADDED
![]() |
Git LFS Details
|
test/images/0004.jpg
ADDED
![]() |
Git LFS Details
|
test/images/0005.jpg
ADDED
![]() |
Git LFS Details
|
test/images/0006.jpg
ADDED
![]() |
Git LFS Details
|
test/images/0007.jpg
ADDED
![]() |
Git LFS Details
|
test/images/0008.jpg
ADDED
![]() |
Git LFS Details
|
test/images/0009.jpg
ADDED
![]() |
Git LFS Details
|
test/images/0010.jpg
ADDED
![]() |
Git LFS Details
|
test/images/0011.jpg
ADDED
![]() |
Git LFS Details
|
test/images/0012.jpg
ADDED
![]() |
Git LFS Details
|
test/images/0013.jpg
ADDED
![]() |
Git LFS Details
|
test/images/0014.jpg
ADDED
![]() |
Git LFS Details
|
test/images/0015.jpg
ADDED
![]() |
Git LFS Details
|
test/images/0016.jpg
ADDED
![]() |
Git LFS Details
|
test/images/0017.jpg
ADDED
![]() |
Git LFS Details
|
test/images/0018.jpg
ADDED
![]() |
Git LFS Details
|
test/images/0019.jpg
ADDED
![]() |
Git LFS Details
|
test/images/0020.jpg
ADDED
![]() |
Git LFS Details
|
test/images/0021.jpg
ADDED
![]() |
Git LFS Details
|
test/images/0022.jpg
ADDED
![]() |
Git LFS Details
|
test/images/0023.jpg
ADDED
![]() |
Git LFS Details
|
test/images/0024.jpg
ADDED
![]() |
Git LFS Details
|
test/images/0025.jpg
ADDED
![]() |
Git LFS Details
|
test/images/0026.jpg
ADDED
![]() |
Git LFS Details
|
test/images/0027.jpg
ADDED
![]() |
Git LFS Details
|
test/images/0028.jpg
ADDED
![]() |
Git LFS Details
|
test/images/0029.jpg
ADDED
![]() |
Git LFS Details
|
test/images/0030.jpg
ADDED
![]() |
Git LFS Details
|
test/images/0031.jpg
ADDED
![]() |
Git LFS Details
|
test/images/0032.jpg
ADDED
![]() |
Git LFS Details
|
test/images/0033.jpg
ADDED
![]() |
Git LFS Details
|
test/images/0034.jpg
ADDED
![]() |
Git LFS Details
|
test/images/0035.jpg
ADDED
![]() |
Git LFS Details
|
test/images/0036.jpg
ADDED
![]() |
Git LFS Details
|
test/images/0037.jpg
ADDED
![]() |
Git LFS Details
|
test/images/0038.jpg
ADDED
![]() |
Git LFS Details
|
test/images/0039.jpg
ADDED
![]() |
Git LFS Details
|
test/images/0040.jpg
ADDED
![]() |
Git LFS Details
|
test/images/0041.jpg
ADDED
![]() |
Git LFS Details
|
test/images/0042.jpg
ADDED
![]() |
Git LFS Details
|
test/images/0043.jpg
ADDED
![]() |
Git LFS Details
|
test/images/0044.jpg
ADDED
![]() |
Git LFS Details
|
test/images/0045.jpg
ADDED
![]() |
Git LFS Details
|
test/images/0046.jpg
ADDED
![]() |
Git LFS Details
|
test/images/0047.jpg
ADDED
![]() |
Git LFS Details
|
test/images/0048.jpg
ADDED
![]() |
Git LFS Details
|