README追加
Browse files
README.md
CHANGED
|
@@ -26,4 +26,53 @@ configs:
|
|
| 26 |
data_files:
|
| 27 |
- split: test
|
| 28 |
path: data/test-*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
data_files:
|
| 27 |
- split: test
|
| 28 |
path: data/test-*
|
| 29 |
+
license: cc-by-sa-4.0
|
| 30 |
+
language:
|
| 31 |
+
- ja
|
| 32 |
+
source_datasets:
|
| 33 |
+
- shunk031/JDocQA
|
| 34 |
---
|
| 35 |
+
|
| 36 |
+
# JDocQA_SingleImage Dataset
|
| 37 |
+
|
| 38 |
+
## Dataset Summary
|
| 39 |
+
`JDocQA_SingleImage`は、`shunk031/JDocQA`のtestサブセットを基に作成されたデータセットで、PDFファイルを200dpiの画像に変換し、画像が取得できない設問と複数画像が必要な設問を除外しています。元のデータセットが37GBと大きすぎるため、サイズを削減しつつ実用性を保つことを目的としています。
|
| 40 |
+
|
| 41 |
+
- 元データ: `shunk031/JDocQA` (test split, 1,176 instances)
|
| 42 |
+
- 変換後: PDFを画像に置き換え、画像が取得できてかつ単一画像入力の設問のみを含む
|
| 43 |
+
- 言語: 日本語 (BCP-47 ja-JP)
|
| 44 |
+
|
| 45 |
+
## Data Fields
|
| 46 |
+
- `input_text`: 質問テキスト
|
| 47 |
+
- `question_id`: ユニークなID
|
| 48 |
+
- `answer`: 回答
|
| 49 |
+
- `answer_type`: 回答タイプ(0: Yes/No, 1: Factoid, 2: Numerical, 3: Open-ended)
|
| 50 |
+
- `image`: 200dpiのPNG画像(バイト形式)
|
| 51 |
+
- `pdf_filepath`: 元のPDFファイルパス(デバッグ用)
|
| 52 |
+
- `question_page_number`: 質問に関連するページ番号(デバッグ用)
|
| 53 |
+
|
| 54 |
+
## Usage
|
| 55 |
+
```python
|
| 56 |
+
from datasets import load_dataset
|
| 57 |
+
dataset = load_dataset("your_username/JDocQA_Image", split="test")
|
| 58 |
+
```
|
| 59 |
+
|
| 60 |
+
## Additional Information
|
| 61 |
+
### Dataset Curators
|
| 62 |
+
[More Information Needed]
|
| 63 |
+
<!-- List the people involved in collecting the dataset and their affiliation(s). If funding information is known, include it here. -->
|
| 64 |
+
### Licensing Information
|
| 65 |
+
From [JDocQA's README.md](https://github.com/mizuumi/JDocQA/blob/main/dataset/README.md):
|
| 66 |
+
> JDocQA dataset annotations are distributed under CC BY-SA 4.0. We are delighted to see many derivations from JDocQA! When you create any derivations, e.g., datasets, papers, etc, from JDocQA, please cite our paper accordingly. If your derivations are web-based projects, please cite our paper and include the link to [this github page](https://github.com/mizuumi/JDocQA?tab=readme-ov-file#cite).
|
| 67 |
+
### Citation Information
|
| 68 |
+
```bibtex
|
| 69 |
+
@inproceedings{onami2024jdocqa,
|
| 70 |
+
title={JDocQA: Japanese Document Question Answering Dataset for Generative Language Models},
|
| 71 |
+
author={Onami, Eri and Kurita, Shuhei and Miyanishi, Taiki and Watanabe, Taro},
|
| 72 |
+
booktitle={Proceedings of the 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation (LREC-COLING 2024)},
|
| 73 |
+
pages={9503--9514},
|
| 74 |
+
year={2024}
|
| 75 |
+
}
|
| 76 |
+
```
|
| 77 |
+
### Contributions
|
| 78 |
+
Thanks to [@mizuumi](https://github.com/mizuumi) and [@shunk031](https://huggingface.co/shunk031) for creating this dataset.
|