Datasets:
done
Browse files- README.md +70 -73
- annotations/objects_annotation_applied.json +0 -0
- images/IMG000077_0.jpg +2 -2
- questions/by_type/ER_choice.jsonl +0 -0
- questions/by_type/ER_fillin.jsonl +0 -0
README.md
CHANGED
|
@@ -28,101 +28,98 @@ configs:
|
|
| 28 |
path: card_samples/parquet/qa.parquet
|
| 29 |
---
|
| 30 |
|
| 31 |
-
# KnowCP
|
| 32 |
|
| 33 |
-
|
| 34 |
-
|
| 35 |
|
| 36 |
-
|
|
|
|
| 37 |
|
| 38 |
-
|
| 39 |
-
- Modality: image + text
|
| 40 |
-
- Language: Chinese
|
| 41 |
-
- License: CC BY 4.0
|
| 42 |
-
- Total images: 2331
|
| 43 |
-
- Total question items (full set): 26137
|
| 44 |
|
| 45 |
-
|
| 46 |
|
| 47 |
-
|
| 48 |
|
| 49 |
-
|
| 50 |
-
- `qa`: 14 question types, 10 items per type (140 total)
|
| 51 |
|
| 52 |
-
The
|
| 53 |
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
|
|
|
|
|
|
|
|
|
| 58 |
|
| 59 |
-
## Repository
|
| 60 |
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
- `annotations/*.json`: seal/inscription/object/technique annotation exports
|
| 64 |
-
- `questions/by_type/*.jsonl`: source questions by type
|
| 65 |
-
- `card_samples/parquet/image.parquet`: image series table
|
| 66 |
-
- `card_samples/parquet/qa.parquet`: qa series table
|
| 67 |
|
| 68 |
-
|
|
|
|
| 69 |
|
| 70 |
-
|
|
|
|
|
|
|
| 71 |
|
| 72 |
-
|
| 73 |
-
- `image_id`
|
| 74 |
-
- `title`
|
| 75 |
-
- `artist`
|
| 76 |
-
- `dynasty`
|
| 77 |
-
- `institution`
|
| 78 |
-
- `material`
|
| 79 |
|
| 80 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 81 |
|
| 82 |
-
|
| 83 |
-
- `qid`
|
| 84 |
-
- `type`
|
| 85 |
-
- `question`
|
| 86 |
-
- `ground_truth`
|
| 87 |
|
| 88 |
-
|
|
|
|
|
|
|
|
|
|
| 89 |
|
| 90 |
-
|
| 91 |
-
|
|
|
|
|
|
|
|
|
|
| 92 |
|
| 93 |
-
|
|
|
|
|
|
|
|
|
|
| 94 |
|
| 95 |
-
|
| 96 |
-
|
| 97 |
|
| 98 |
-
|
| 99 |
-
|
| 100 |
-
```
|
| 101 |
|
| 102 |
-
|
|
|
|
| 103 |
|
| 104 |
-
|
| 105 |
-
python for_hf/scripts/build_dataset_card_samples.py \
|
| 106 |
-
--hf-repo hf_repo \
|
| 107 |
-
--out-dir hf_repo/card_samples \
|
| 108 |
-
--images-limit 100 \
|
| 109 |
-
--qa-per-type 10
|
| 110 |
-
```
|
| 111 |
|
| 112 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 113 |
|
| 114 |
-
|
| 115 |
|
| 116 |
-
|
| 117 |
-
|
| 118 |
-
|
| 119 |
-
--items-dir D:/mylib/benchmark/hf_repo/questions/by_type \
|
| 120 |
-
--model bytedance-seed/seed-2.0-lite \
|
| 121 |
-
--api-base https://openrouter.ai/api/v1 \
|
| 122 |
-
--api-key YOUR_API_KEY
|
| 123 |
-
```
|
| 124 |
-
|
| 125 |
-
## Citation
|
| 126 |
-
|
| 127 |
-
- Code: https://github.com/41-edu/KnowCP
|
| 128 |
-
- Dataset: https://huggingface.co/datasets/g41/KnowCP
|
|
|
|
| 28 |
path: card_samples/parquet/qa.parquet
|
| 29 |
---
|
| 30 |
|
| 31 |
+
# KnowCP Dataset Repository
|
| 32 |
|
| 33 |
+
Project homepage and benchmark details:
|
| 34 |
+
https://41-edu.github.io/KnowCP-Benchmark/
|
| 35 |
|
| 36 |
+
Script repository:
|
| 37 |
+
https://github.com/41-edu/KnowCP
|
| 38 |
|
| 39 |
+
## Project Overview
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
|
| 41 |
+
KnowCP is a comprehensive benchmark for evaluating multimodal large language models on Chinese painting understanding, from basic recognition to deep reasoning.
|
| 42 |
|
| 43 |
+
This repository is the dataset repository of KnowCP. It stores the image corpus, annotation resources, question sets, and knowledge-base metadata used by the benchmark.
|
| 44 |
|
| 45 |
+
## Dataset Scale
|
|
|
|
| 46 |
|
| 47 |
+
The following counts are aligned with the benchmark website configuration and public content files.
|
| 48 |
|
| 49 |
+
1. Paintings: 1210
|
| 50 |
+
2. Images: 2331
|
| 51 |
+
3. Seal annotations: 8690
|
| 52 |
+
4. Colophon or inscription annotations: 2434
|
| 53 |
+
5. Object or element annotations: 5052
|
| 54 |
+
6. Technique annotations: 1312
|
| 55 |
+
7. Total question items used by the benchmark website: 38044
|
| 56 |
|
| 57 |
+
## Repository Contents
|
| 58 |
|
| 59 |
+
1. images
|
| 60 |
+
All painting images and related sub-images used by the benchmark.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 61 |
|
| 62 |
+
2. questions
|
| 63 |
+
All benchmark QA files. We provide 14 question files under [hf_repo/questions/by_type](hf_repo/questions/by_type), and each file corresponds to one question source type.
|
| 64 |
|
| 65 |
+
All QA content is in Chinese.
|
| 66 |
+
For concrete QA presentation style and English-facing examples, see:
|
| 67 |
+
http://localhost:5173/#question-distribution
|
| 68 |
|
| 69 |
+
14 question files and counts used in the website benchmark view:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 70 |
|
| 71 |
+
- ITT_MHQA_choice.jsonl: 4232
|
| 72 |
+
- ITT_MHQA_fillin.jsonl: 4232
|
| 73 |
+
- MITT_MHQA_choice.jsonl: 608
|
| 74 |
+
- MITT_MHQA_fillin.jsonl: 608
|
| 75 |
+
- TTI.jsonl: 1210
|
| 76 |
+
- SR.jsonl: 1792
|
| 77 |
+
- IR.jsonl: 2351
|
| 78 |
+
- ER_choice.jsonl: 11359
|
| 79 |
+
- ER_fillin.jsonl: 5052
|
| 80 |
+
- TR_choice.jsonl: 1312
|
| 81 |
+
- TR_fillin.jsonl: 1312
|
| 82 |
+
- VA.jsonl: 922
|
| 83 |
+
- CC.jsonl: 922
|
| 84 |
+
- PR.jsonl: 922
|
| 85 |
|
| 86 |
+
Simple task descriptions, following the website organization:
|
|
|
|
|
|
|
|
|
|
|
|
|
| 87 |
|
| 88 |
+
Foundational Knowledge
|
| 89 |
+
- ITT and MITT style tasks: identify title-level information from one image or multiple images.
|
| 90 |
+
- TTI: retrieve the matching image from title information.
|
| 91 |
+
- MHQA: multi-step reasoning over image and context, provided in choice and fill-in formats.
|
| 92 |
|
| 93 |
+
Visual Content
|
| 94 |
+
- SR: seal recognition.
|
| 95 |
+
- IR: inscription or colophon recognition.
|
| 96 |
+
- ER: element recognition, provided in multiple-choice and fill-in formats.
|
| 97 |
+
- TR: painting technique recognition, provided in multiple-choice and fill-in formats.
|
| 98 |
|
| 99 |
+
Deep Reasoning
|
| 100 |
+
- VA: visual analysis.
|
| 101 |
+
- CC: cultural context reasoning.
|
| 102 |
+
- PR: provenance research reasoning.
|
| 103 |
|
| 104 |
+
3. annotations
|
| 105 |
+
Fine-grained annotations produced by our annotators for each painting image, including seals, inscriptions, elements, and techniques.
|
| 106 |
|
| 107 |
+
Annotation visualization references:
|
| 108 |
+
http://localhost:5173/#distribution
|
|
|
|
| 109 |
|
| 110 |
+
4. kb
|
| 111 |
+
Core metadata per painting, including identity and background attributes used by benchmark tasks.
|
| 112 |
|
| 113 |
+
## Folder Reference
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 114 |
|
| 115 |
+
- [hf_repo/images](hf_repo/images): all images
|
| 116 |
+
- [hf_repo/questions](hf_repo/questions): question sets
|
| 117 |
+
- [hf_repo/annotations](hf_repo/annotations): fine-grained annotations
|
| 118 |
+
- [hf_repo/kb](hf_repo/kb): painting metadata knowledge base
|
| 119 |
+
- [hf_repo/mappings](hf_repo/mappings): mapping resources used in processing and alignment
|
| 120 |
|
| 121 |
+
## If You Want to Run Evaluation
|
| 122 |
|
| 123 |
+
This repository provides data only.
|
| 124 |
+
For actual model benchmarking and score computation, please use the script repository:
|
| 125 |
+
https://github.com/41-edu/KnowCP
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
annotations/objects_annotation_applied.json
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
images/IMG000077_0.jpg
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
questions/by_type/ER_choice.jsonl
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
questions/by_type/ER_fillin.jsonl
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|