---
title: Layout-Instruction-Data
canonical_url: "https://www.modelscope.ai/datasets/iic/Layout-Instruction-Data"
md_url: "https://www.modelscope.ai/datasets/iic/Layout-Instruction-Data.md"
repository: iic/Layout-Instruction-Data
chinese_name: Layout-Instruction-Data
last_updated: 2025-02-25
license: "Apache License 2.0"
storage_size: "26 GB"
downloads: 31
stars: 5
---

# Layout-Instruction-Data

> Layout-Instruction-Data - An open-source dataset by iic on ModelScope. Layout指令微调数据集 (Layout Instruction Tuning Dataset for the LayoutLLM)

iic/Layout-Instruction-Data is a dataset on ModelScope. totalling 26 GB. licensed under Apache License 2.0.

- **Repository**: iic/Layout-Instruction-Data
- **License**: Apache License 2.0
- **Storage size**: 26 GB
- **Downloads**: 31
- **Stars**: 5
- **Last updated**: 2025-02-25

Source: https://www.modelscope.ai/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"}
