Update README.md
Browse files
README.md
CHANGED
|
@@ -1,144 +1,144 @@
|
|
| 1 |
-
# Magic Bench: A Comprehensive Text-to-Image Generation Evaluation Dataset
|
| 2 |
-
|
| 3 |
-
## 📖 Overview
|
| 4 |
-
|
| 5 |
-
Magic Bench is a comprehensive evaluation dataset designed for text-to-image generation models. It contains 377 carefully curated prompts with detailed annotations across multiple dimensions, providing both Chinese and English versions for cross-lingual evaluation.
|
| 6 |
-
|
| 7 |
-
## 🎯 Dataset Features
|
| 8 |
-
|
| 9 |
-
- **377 evaluation prompts** covering diverse scenarios
|
| 10 |
-
- **Bilingual support**: Both Chinese and English prompts
|
| 11 |
-
- **Multi-dimensional annotations**: 9 different evaluation dimensions
|
| 12 |
-
- **Comprehensive coverage**: Aesthetic design and artistic photography scenarios
|
| 13 |
-
|
| 14 |
-
## 📊 Dataset Structure
|
| 15 |
-
|
| 16 |
-
The dataset includes the following fields:
|
| 17 |
-
|
| 18 |
-
| Field | Description |
|
| 19 |
-
|-------|-------------|
|
| 20 |
-
| `prompt_text_cn` | Chinese version of the prompt |
|
| 21 |
-
| `prompt_text_en` | English version of the prompt |
|
| 22 |
-
| `应用场景` (Application Scenario) | The application context |
|
| 23 |
-
| `表达形式` (Expression Form) | Form of expression annotations |
|
| 24 |
-
| `要素组合` (Element Combination) | Element combination patterns |
|
| 25 |
-
| `实体描述` (Entity Description) | Entity description types |
|
| 26 |
-
| `是否有风格` (Has Style) | Whether the prompt includes style specifications |
|
| 27 |
-
| `是否有美学知识` (Has Aesthetic Knowledge) | Whether aesthetic knowledge is required |
|
| 28 |
-
| `是否有氛围` (Has Atmosphere) | Whether atmospheric elements are present |
|
| 29 |
-
|
| 30 |
-
## 🏷️ Annotation Dimensions
|
| 31 |
-
|
| 32 |
-
### 1. Application Scenario (应用场景)
|
| 33 |
-
- **创意设计** (Aesthetic design): Logo design, character design, product design, etc.
|
| 34 |
-
- **艺术** (art): Photography, artistic creation, etc.
|
| 35 |
-
- **个性化娱乐** (entertainment): Entertainment and personalized content
|
| 36 |
-
- **影视与故事** (film): Film and storytelling scenarios
|
| 37 |
-
- **效率提升** (functional design): Efficiency and functional design
|
| 38 |
-
|
| 39 |
-
### 2. Expression Form (表达形式)
|
| 40 |
-
- **无** (None): No specific form requirements
|
| 41 |
-
- **代词指代** (Pronoun Reference): Contains pronoun references
|
| 42 |
-
- **否定** (Negation): Contains negative expressions
|
| 43 |
-
- **统一性** (consistency): Requires consistent elements
|
| 44 |
-
|
| 45 |
-
### 3. Element Combination (要素组合)
|
| 46 |
-
- **无** (None): Single element
|
| 47 |
-
- **反现实** (Anti-Realism): Anti-realistic combinations
|
| 48 |
-
- **多实体多要素** (Multi-Entity Feature Matching): Complex multi-entity combinations
|
| 49 |
-
- **布局与排版** (Layout & Typography): Specific layout requirements
|
| 50 |
-
|
| 51 |
-
### 4. Entity Description (实体描述)
|
| 52 |
-
- **无** (None): No specific entity descriptions
|
| 53 |
-
- **属性** (attribute): Attribute descriptions
|
| 54 |
-
- **关系** (relation): Relationship descriptions
|
| 55 |
-
- **动作状态** (Action/State): Action or state descriptions
|
| 56 |
-
- **数量** (quantity): Quantity specifications
|
| 57 |
-
|
| 58 |
-
### 5. Style Specification (是否有风格)
|
| 59 |
-
- **是** (Yes): Contains specific style requirements
|
| 60 |
-
- **否** (No): No style specifications
|
| 61 |
-
|
| 62 |
-
### 6. Aesthetic Knowledge (是否有美学知识)
|
| 63 |
-
- **是** (Yes): Requires aesthetic understanding
|
| 64 |
-
- **否** (No): No aesthetic knowledge required
|
| 65 |
-
|
| 66 |
-
### 7. Atmospheric Elements (是否有氛围)
|
| 67 |
-
- **是** (Yes): Contains atmospheric descriptions
|
| 68 |
-
- **否** (No): No atmospheric elements
|
| 69 |
-
|
| 70 |
-
## 📁 Files
|
| 71 |
-
|
| 72 |
-
- `magic_bench_dataset.csv`: Complete dataset with all annotations
|
| 73 |
-
- `magic_bench_chinese.csv`: Chinese prompts with annotations
|
| 74 |
-
- `magic_bench_english.csv`: English prompts with annotations
|
| 75 |
-
|
| 76 |
-
## 🚀 Usage
|
| 77 |
-
|
| 78 |
-
```python
|
| 79 |
-
import pandas as pd
|
| 80 |
-
|
| 81 |
-
# Load the complete dataset
|
| 82 |
-
df = pd.read_csv('magic_bench_dataset.csv')
|
| 83 |
-
|
| 84 |
-
# Load Chinese version
|
| 85 |
-
df_cn = pd.read_csv('magic_bench_chinese.csv')
|
| 86 |
-
|
| 87 |
-
# Load English version
|
| 88 |
-
df_en = pd.read_csv('magic_bench_english.csv')
|
| 89 |
-
|
| 90 |
-
# Example: Filter prompts with style requirements
|
| 91 |
-
stylized_prompts = df[df['是否有风格'] == '是']
|
| 92 |
-
|
| 93 |
-
# Example: Get aesthetic design prompts
|
| 94 |
-
aesthetic_prompts = df[df['应用场景'] == '创意设计']
|
| 95 |
-
```
|
| 96 |
-
|
| 97 |
-
## 📈 Statistics
|
| 98 |
-
|
| 99 |
-
- **Total prompts**: 377
|
| 100 |
-
- **Aesthetic design prompts**: 95 (25.2%)
|
| 101 |
-
- **Art prompts**: 80 (21.2%)
|
| 102 |
-
- **Prompts with style specifications**: 241 (63.9%)
|
| 103 |
-
- **Prompts requiring aesthetic knowledge**: 131 (34.7%)
|
| 104 |
-
- **Prompts with atmospheric elements**: 22 (5.8%)
|
| 105 |
-
|
| 106 |
-
## 🎯 Use Cases
|
| 107 |
-
|
| 108 |
-
1. **Model Evaluation**: Comprehensive evaluation of text-to-image models
|
| 109 |
-
2. **Benchmark Comparison**: Compare different models across various dimensions
|
| 110 |
-
3. **Research**: Study model capabilities in different scenarios
|
| 111 |
-
4. **Fine-tuning**: Use as training or validation data for model improvement
|
| 112 |
-
|
| 113 |
-
## 📄 Citation
|
| 114 |
-
|
| 115 |
-
If you use this dataset in your research, please cite:
|
| 116 |
-
|
| 117 |
-
```bibtex
|
| 118 |
-
@dataset{magic_bench_377,
|
| 119 |
-
title={Magic Bench: A Comprehensive Text-to-Image Generation Evaluation Dataset},
|
| 120 |
-
author={outongtong},
|
| 121 |
-
year={2025},
|
| 122 |
-
email={outongtong.ott@bytedance.com},
|
| 123 |
-
url={https://huggingface.co/datasets/ByteDance-Seed/MagicBench
|
| 124 |
-
}
|
| 125 |
-
```
|
| 126 |
-
|
| 127 |
-
## 📜 License
|
| 128 |
-
|
| 129 |
-
This dataset is released under the [cc-by-nc-4.0](LICENSE).
|
| 130 |
-
|
| 131 |
-
## 🤝 Contributing
|
| 132 |
-
|
| 133 |
-
We welcome contributions to improve the dataset. Please feel free to:
|
| 134 |
-
- Report issues or suggest improvements
|
| 135 |
-
- Submit pull requests with enhancements
|
| 136 |
-
- Share your evaluation results using this dataset
|
| 137 |
-
|
| 138 |
-
## 📞 Contact
|
| 139 |
-
|
| 140 |
-
For questions or collaborations, please contact: outongtong.ott@bytedance.com
|
| 141 |
-
|
| 142 |
-
---
|
| 143 |
-
|
| 144 |
**Keywords**: text-to-image, evaluation, benchmark, dataset, computer vision, AI, machine learning
|
|
|
|
| 1 |
+
# Magic Bench: A Comprehensive Text-to-Image Generation Evaluation Dataset
|
| 2 |
+
|
| 3 |
+
## 📖 Overview
|
| 4 |
+
|
| 5 |
+
Magic Bench is a comprehensive evaluation dataset designed for text-to-image generation models. It contains 377 carefully curated prompts with detailed annotations across multiple dimensions, providing both Chinese and English versions for cross-lingual evaluation.
|
| 6 |
+
|
| 7 |
+
## 🎯 Dataset Features
|
| 8 |
+
|
| 9 |
+
- **377 evaluation prompts** covering diverse scenarios
|
| 10 |
+
- **Bilingual support**: Both Chinese and English prompts
|
| 11 |
+
- **Multi-dimensional annotations**: 9 different evaluation dimensions
|
| 12 |
+
- **Comprehensive coverage**: Aesthetic design and artistic photography scenarios
|
| 13 |
+
|
| 14 |
+
## 📊 Dataset Structure
|
| 15 |
+
|
| 16 |
+
The dataset includes the following fields:
|
| 17 |
+
|
| 18 |
+
| Field | Description |
|
| 19 |
+
|-------|-------------|
|
| 20 |
+
| `prompt_text_cn` | Chinese version of the prompt |
|
| 21 |
+
| `prompt_text_en` | English version of the prompt |
|
| 22 |
+
| `应用场景` (Application Scenario) | The application context |
|
| 23 |
+
| `表达形式` (Expression Form) | Form of expression annotations |
|
| 24 |
+
| `要素组合` (Element Combination) | Element combination patterns |
|
| 25 |
+
| `实体描述` (Entity Description) | Entity description types |
|
| 26 |
+
| `是否有风格` (Has Style) | Whether the prompt includes style specifications |
|
| 27 |
+
| `是否有美学知识` (Has Aesthetic Knowledge) | Whether aesthetic knowledge is required |
|
| 28 |
+
| `是否有氛围` (Has Atmosphere) | Whether atmospheric elements are present |
|
| 29 |
+
|
| 30 |
+
## 🏷️ Annotation Dimensions
|
| 31 |
+
|
| 32 |
+
### 1. Application Scenario (应用场景)
|
| 33 |
+
- **创意设计** (Aesthetic design): Logo design, character design, product design, etc.
|
| 34 |
+
- **艺术** (art): Photography, artistic creation, etc.
|
| 35 |
+
- **个性化娱乐** (entertainment): Entertainment and personalized content
|
| 36 |
+
- **影视与故事** (film): Film and storytelling scenarios
|
| 37 |
+
- **效率提升** (functional design): Efficiency and functional design
|
| 38 |
+
|
| 39 |
+
### 2. Expression Form (表达形式)
|
| 40 |
+
- **无** (None): No specific form requirements
|
| 41 |
+
- **代词指代** (Pronoun Reference): Contains pronoun references
|
| 42 |
+
- **否定** (Negation): Contains negative expressions
|
| 43 |
+
- **统一性** (consistency): Requires consistent elements
|
| 44 |
+
|
| 45 |
+
### 3. Element Combination (要素组合)
|
| 46 |
+
- **无** (None): Single element
|
| 47 |
+
- **反现实** (Anti-Realism): Anti-realistic combinations
|
| 48 |
+
- **多实体多要素** (Multi-Entity Feature Matching): Complex multi-entity combinations
|
| 49 |
+
- **布局与排版** (Layout & Typography): Specific layout requirements
|
| 50 |
+
|
| 51 |
+
### 4. Entity Description (实体描述)
|
| 52 |
+
- **无** (None): No specific entity descriptions
|
| 53 |
+
- **属性** (attribute): Attribute descriptions
|
| 54 |
+
- **关系** (relation): Relationship descriptions
|
| 55 |
+
- **动作状态** (Action/State): Action or state descriptions
|
| 56 |
+
- **数量** (quantity): Quantity specifications
|
| 57 |
+
|
| 58 |
+
### 5. Style Specification (是否有风格)
|
| 59 |
+
- **是** (Yes): Contains specific style requirements
|
| 60 |
+
- **否** (No): No style specifications
|
| 61 |
+
|
| 62 |
+
### 6. Aesthetic Knowledge (是否有美学知识)
|
| 63 |
+
- **是** (Yes): Requires aesthetic understanding
|
| 64 |
+
- **否** (No): No aesthetic knowledge required
|
| 65 |
+
|
| 66 |
+
### 7. Atmospheric Elements (是否有氛围)
|
| 67 |
+
- **是** (Yes): Contains atmospheric descriptions
|
| 68 |
+
- **否** (No): No atmospheric elements
|
| 69 |
+
|
| 70 |
+
## 📁 Files
|
| 71 |
+
|
| 72 |
+
- `magic_bench_dataset.csv`: Complete dataset with all annotations
|
| 73 |
+
- `magic_bench_chinese.csv`: Chinese prompts with annotations
|
| 74 |
+
- `magic_bench_english.csv`: English prompts with annotations
|
| 75 |
+
|
| 76 |
+
## 🚀 Usage
|
| 77 |
+
|
| 78 |
+
```python
|
| 79 |
+
import pandas as pd
|
| 80 |
+
|
| 81 |
+
# Load the complete dataset
|
| 82 |
+
df = pd.read_csv('magic_bench_dataset.csv')
|
| 83 |
+
|
| 84 |
+
# Load Chinese version
|
| 85 |
+
df_cn = pd.read_csv('magic_bench_chinese.csv')
|
| 86 |
+
|
| 87 |
+
# Load English version
|
| 88 |
+
df_en = pd.read_csv('magic_bench_english.csv')
|
| 89 |
+
|
| 90 |
+
# Example: Filter prompts with style requirements
|
| 91 |
+
stylized_prompts = df[df['是否有风格'] == '是']
|
| 92 |
+
|
| 93 |
+
# Example: Get aesthetic design prompts
|
| 94 |
+
aesthetic_prompts = df[df['应用场景'] == '创意设计']
|
| 95 |
+
```
|
| 96 |
+
|
| 97 |
+
## 📈 Statistics
|
| 98 |
+
|
| 99 |
+
- **Total prompts**: 377
|
| 100 |
+
- **Aesthetic design prompts**: 95 (25.2%)
|
| 101 |
+
- **Art prompts**: 80 (21.2%)
|
| 102 |
+
- **Prompts with style specifications**: 241 (63.9%)
|
| 103 |
+
- **Prompts requiring aesthetic knowledge**: 131 (34.7%)
|
| 104 |
+
- **Prompts with atmospheric elements**: 22 (5.8%)
|
| 105 |
+
|
| 106 |
+
## 🎯 Use Cases
|
| 107 |
+
|
| 108 |
+
1. **Model Evaluation**: Comprehensive evaluation of text-to-image models
|
| 109 |
+
2. **Benchmark Comparison**: Compare different models across various dimensions
|
| 110 |
+
3. **Research**: Study model capabilities in different scenarios
|
| 111 |
+
4. **Fine-tuning**: Use as training or validation data for model improvement
|
| 112 |
+
|
| 113 |
+
## 📄 Citation
|
| 114 |
+
|
| 115 |
+
If you use this dataset in your research, please cite:
|
| 116 |
+
|
| 117 |
+
```bibtex
|
| 118 |
+
@dataset{magic_bench_377,
|
| 119 |
+
title={Magic Bench: A Comprehensive Text-to-Image Generation Evaluation Dataset},
|
| 120 |
+
author={outongtong},
|
| 121 |
+
year={2025},
|
| 122 |
+
email={outongtong.ott@bytedance.com},
|
| 123 |
+
url={https://huggingface.co/datasets/ByteDance-Seed/MagicBench}
|
| 124 |
+
}
|
| 125 |
+
```
|
| 126 |
+
|
| 127 |
+
## 📜 License
|
| 128 |
+
|
| 129 |
+
This dataset is released under the [cc-by-nc-4.0](LICENSE).
|
| 130 |
+
|
| 131 |
+
## 🤝 Contributing
|
| 132 |
+
|
| 133 |
+
We welcome contributions to improve the dataset. Please feel free to:
|
| 134 |
+
- Report issues or suggest improvements
|
| 135 |
+
- Submit pull requests with enhancements
|
| 136 |
+
- Share your evaluation results using this dataset
|
| 137 |
+
|
| 138 |
+
## 📞 Contact
|
| 139 |
+
|
| 140 |
+
For questions or collaborations, please contact: outongtong.ott@bytedance.com
|
| 141 |
+
|
| 142 |
+
---
|
| 143 |
+
|
| 144 |
**Keywords**: text-to-image, evaluation, benchmark, dataset, computer vision, AI, machine learning
|