---
title: Layout-Instruction-Data
canonical_url: "https://www.modelscope.cn/datasets/iic/Layout-Instruction-Data"
md_url: "https://www.modelscope.cn/datasets/iic/Layout-Instruction-Data.md"
repository: iic/Layout-Instruction-Data
chinese_name: "文档理解版式指令微调数据集"
last_updated: 2024-04-12
license: "Apache License 2.0"
storage_size: "26 GB"
domain:
  - multi_modal
tasks:
  - image-captioning
language:
  - en
downloads: 5744
stars: 16
---

# Layout-Instruction-Data

> Layout-Instruction-Data - iic 在 ModelScope 开源的数据集。LayoutLLM (CVPR 2024) 指令微调数据集

iic/Layout-Instruction-Data 是 ModelScope 魔搭社区上的image-captioning数据集，涉及 multi_modal 领域，存储大小 26 GB，采用 Apache License 2.0 许可。

- **Repository**: iic/Layout-Instruction-Data
- **License**: Apache License 2.0
- **Tasks**: image-captioning
- **Domain**: multi_modal
- **Storage size**: 26 GB
- **Downloads**: 5744
- **Stars**: 16
- **Last updated**: 2024-04-12

Source: https://www.modelscope.cn/datasets/iic/Layout-Instruction-Data

---

# Layout指令微调数据集 (Layout Instruction Tuning Dataset for the LayoutLLM)

## 数据集概述 (Summary)

```
LayoutLLM_data/
├── pretrain_data/
│   ├── images/
│   │   └── ...
│   ├── ocr_results/
│   │   └── ...
│   ├── data_loader.py
│   ├── ocr_example.json
│   └── description_116k.json
│
├── sft_data/
│   ├── images/
│   │   └── ...
│   ├── ocr_results/
│   │   └── ...
│   ├── sft_data_nolayoutcot_version300k.json
│   └── sft_data_final_version300k.json
│
├── eval_data
│   ├── images/
│   │   └── ...
│   ├── ocr_results/
│   │   └── ...
│   ├── VIE_CORD.json
│   ├── VIE_FUNSD.json
│   └── VIE_SROIE.json
```

- The Layout Instruction tuning data
    - Layout-aware pre-training data
        - Document Dense Caption data
            - LayoutLLM_data/pretrain_data/description_116k.json
        - Code for the Text and Layout Reconstruction data generation
            - LayoutLLM_data/pretrain_data/data_loader.py
    - Layout-aware supervised fine-tuning (SFT) data (with the **LayoutCoT**)
        - Instructions with layoutCoT
            - LayoutLLM_data/sft_data/sft_data_final_version300k.json
        - Instructions without layoutCoT
            - LayoutLLM_data/sft_data/sft_data_nolayoutcot_version300k.json

- The evaluation data
    - QA for VIE
        - LayoutLLM_data/eval_data/VIE_CORD.json
        - LayoutLLM_data/eval_data/VIE_FUNSD.json
        - LayoutLLM_data/eval_data/VIE_SROIE.json


```Shell
cat LayoutLLM_data-part-* > LayoutLLM_data.tar.gz
tar -xzvf LayoutLLM_data.tar.gz
```

### 引用方式

If you find this repository useful, please consider citing our work:
```
@inproceedings{luo2024layoutllm,
    title={LayoutLLM: Layout Instruction Tuning with Large Language Models for Document Understanding},
    author={Chuwei Luo and Yufan Shen and Zhaoqing Zhu and Qi Zheng and Zhi Yu and Cong Yao},
    year={2024},
    booktitle = {CVPR},
}
```

#### 下载方法 
:modelscope-code[]{type="git"}
