Update README.md
Browse files
README.md
CHANGED
|
@@ -2,52 +2,50 @@
|
|
| 2 |
|
| 3 |
## 📖 Overview
|
| 4 |
|
| 5 |
-
Magic Bench is a comprehensive evaluation dataset designed for text-to-image generation models. It contains 377 carefully
|
| 6 |
|
| 7 |
## 🎯 Dataset Features
|
| 8 |
-
|
| 9 |
-
- **377
|
| 10 |
-
- **
|
| 11 |
-
- **
|
| 12 |
-
-
|
| 13 |
-
|
| 14 |
## 📊 Dataset Structure
|
| 15 |
|
| 16 |
The dataset includes the following fields:
|
| 17 |
|
| 18 |
| Field | Description |
|
| 19 |
|-------|-------------|
|
| 20 |
-
| `
|
| 21 |
-
| `
|
| 22 |
-
| `Application Scenario`|
|
| 23 |
-
| `Expression Form`|
|
| 24 |
-
| `Element Composition`|
|
| 25 |
-
| `
|
| 26 |
|
| 27 |
-
## 🏷️
|
| 28 |
|
| 29 |
### 1. Application Scenario
|
| 30 |
-
- **Aesthetic design**:
|
| 31 |
-
- **Art** :
|
| 32 |
-
- **Entertainment** :
|
| 33 |
-
- **Film** :
|
| 34 |
-
- **Functional design** :
|
| 35 |
|
| 36 |
### 2. Expression Form
|
| 37 |
-
- **Pronoun Reference**:
|
| 38 |
-
- **Negation**:
|
| 39 |
-
- **
|
| 40 |
|
| 41 |
-
### 3. Element
|
| 42 |
-
- **Anti-Realism**:
|
| 43 |
-
- **Multi-Entity Feature Matching**:
|
| 44 |
-
- **Layout & Typography**:
|
| 45 |
|
| 46 |
-
### 4.
|
| 47 |
-
- **
|
| 48 |
-
- **
|
| 49 |
-
- **
|
| 50 |
-
- **quantity** : Quantity specifications
|
| 51 |
|
| 52 |
## 📁 Files
|
| 53 |
|
|
@@ -69,11 +67,6 @@ df_cn = pd.read_csv('magic_bench_chinese.csv')
|
|
| 69 |
# Load English version
|
| 70 |
df_en = pd.read_csv('magic_bench_english.csv')
|
| 71 |
|
| 72 |
-
# Example: Filter prompts with style requirements
|
| 73 |
-
stylized_prompts = df[df['是否有风格'] == '是']
|
| 74 |
-
|
| 75 |
-
# Example: Get aesthetic design prompts
|
| 76 |
-
aesthetic_prompts = df[df['应用场景'] == '创意设计']
|
| 77 |
```
|
| 78 |
|
| 79 |
## 📈 Statistics
|
|
@@ -88,9 +81,8 @@ aesthetic_prompts = df[df['应用场景'] == '创意设计']
|
|
| 88 |
## 🎯 Use Cases
|
| 89 |
|
| 90 |
1. **Model Evaluation**: Comprehensive evaluation of text-to-image models
|
| 91 |
-
2. **
|
| 92 |
-
3. **
|
| 93 |
-
4. **Fine-tuning**: Use as training or validation data for model improvement
|
| 94 |
|
| 95 |
## 📄 Citation
|
| 96 |
|
|
|
|
| 2 |
|
| 3 |
## 📖 Overview
|
| 4 |
|
| 5 |
+
Magic Bench is a comprehensive evaluation dataset designed for text-to-image generation models. It contains 377 carefully designed prompts with detailed labels across application scenarios and objective capabilities, providing both Chinese and English versions for cross-lingual evaluation.
|
| 6 |
|
| 7 |
## 🎯 Dataset Features
|
| 8 |
+
- **Systematic and Comprehensive Categorization**: We develop a taxonomy that systematically captures the core capabilities and application scenarios of T2I models.
|
| 9 |
+
- **Multiple Test Points per Prompt**: To better reflect the user perspective, Magic-Bench-377 embeds multiple capabilities within a single prompt.
|
| 10 |
+
- **Clarity and Visualizability**: Prompts should be concise, explicit and easy to visualize, while avoiding vague or non-visualizable descriptions
|
| 11 |
+
- **Neutrality and Fairness.**: Descriptions involving regional specificity, references to celebrities, or copyrighted characters must be avoided to ensure fair evaluation across all models.
|
| 12 |
+
-
|
|
|
|
| 13 |
## 📊 Dataset Structure
|
| 14 |
|
| 15 |
The dataset includes the following fields:
|
| 16 |
|
| 17 |
| Field | Description |
|
| 18 |
|-------|-------------|
|
| 19 |
+
| `Prompt_text_cn`| Chinese version of the prompt |
|
| 20 |
+
| `Prompt_text_en`| English version of the prompt |
|
| 21 |
+
| `Application Scenario`| To account for the diversity of real world, magic bench 377 is divided into five categories |
|
| 22 |
+
| `Expression Form`| Refers to semantic units not directly pointing to visual elements but testing model’s understanding and reasoning over special forms of expressio |
|
| 23 |
+
| `Element Composition`| Refers to visual elements or information arising from the combination of multiple element |
|
| 24 |
+
| `Element`| Refers to visual elements or information that can be expressed by a single semantic unit, typically a word |
|
| 25 |
|
| 26 |
+
## 🏷️ Taxonomy introduction
|
| 27 |
|
| 28 |
### 1. Application Scenario
|
| 29 |
+
- **Aesthetic design**: Focuses on model use as a visual tool in professional design contexts, such as poster design, logo design, product design, etc. Models are expected to provide visually appealing outputs with high aesthetic quality.
|
| 30 |
+
- **Art** : Focuses on user needs for high-level artistic creation, requiring models to generate outputs aligned with artistic styles, aesthetics, and visual imagination, such as oil painting, watercolor, sketching, or abstract expression.
|
| 31 |
+
- **Entertainment** : Focuses on user needs for casual, creative and entertaining content, often reflecting internet culture (e.g., memes, emojis, or playful illustrations). The goal is to stimulate fun, amusement, or humor.
|
| 32 |
+
- **Film** : Focuses on user needs for story-driven content creation, such as storyboards, cinematic scenes, or animated sequences. Models are expected to understand narrative details and generate scenes with coherent environments and character interactions.
|
| 33 |
+
- **Functional design** : Focuses on user needs for practical work and learning materials, such as teaching slides, product manuals, or office diagrams. Outputs emphasize clarity, conciseness and informativeness.
|
| 34 |
|
| 35 |
### 2. Expression Form
|
| 36 |
+
- **Pronoun Reference**: Pronouns (he, she, it, they) referring back to entities mentioned earlier in the text, requiring the model to resolve co-reference.
|
| 37 |
+
- **Negation**: Negative expressions such as "no", "without" or "does not".
|
| 38 |
+
- **Consistency**: Multiple entities of the same type sharing the same attribute.
|
| 39 |
|
| 40 |
+
### 3. Element Composition
|
| 41 |
+
- **Anti-Realism**: Combinations that contradict real-world cognition or physical laws.
|
| 42 |
+
- **Multi-Entity Feature Matching**: Multiple entities of the same type with distinct attribute values.
|
| 43 |
+
- **Layout & Typography**: Descriptions of spatial or positional relationships among images, text, or symbols.
|
| 44 |
|
| 45 |
+
### 4. Element
|
| 46 |
+
- **Entity**: Semantic units referring to entities such as people, animals, scenes, costumes, and decorations, including real-world and virtual entities, man-made objects, and natural elements.
|
| 47 |
+
- **Entity Description**: Semantic units describing the quantity, attributes, forms, states, or relationships of entities.
|
| 48 |
+
- **Image Description**: Semantic units that describe visual elements of a scene, including style, aesthetics, and artistic knowledge.
|
|
|
|
| 49 |
|
| 50 |
## 📁 Files
|
| 51 |
|
|
|
|
| 67 |
# Load English version
|
| 68 |
df_en = pd.read_csv('magic_bench_english.csv')
|
| 69 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 70 |
```
|
| 71 |
|
| 72 |
## 📈 Statistics
|
|
|
|
| 81 |
## 🎯 Use Cases
|
| 82 |
|
| 83 |
1. **Model Evaluation**: Comprehensive evaluation of text-to-image models
|
| 84 |
+
2. **Research**: Study model capabilities in different scenarios
|
| 85 |
+
3. **Fine-tuning**: Use as training or validation data for model improvement
|
|
|
|
| 86 |
|
| 87 |
## 📄 Citation
|
| 88 |
|