Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
@@ -6,139 +6,6 @@ tags:
|
|
6 |
- korean
|
7 |
- finance
|
8 |
- legal
|
9 |
-
dataset_info:
|
10 |
-
- config_name: multiple_choice
|
11 |
-
features:
|
12 |
-
- name: doc_title
|
13 |
-
dtype: string
|
14 |
-
- name: context
|
15 |
-
dtype: string
|
16 |
-
- name: question
|
17 |
-
dtype: string
|
18 |
-
- name: options
|
19 |
-
sequence: string
|
20 |
-
- name: answer_text
|
21 |
-
dtype: string
|
22 |
-
splits:
|
23 |
-
- name: train
|
24 |
-
num_bytes: 52657661
|
25 |
-
num_examples: 32092
|
26 |
-
- name: validation
|
27 |
-
num_bytes: 8296685
|
28 |
-
num_examples: 4634
|
29 |
-
download_size: 14848868
|
30 |
-
dataset_size: 60954346
|
31 |
-
- config_name: span_extraction
|
32 |
-
features:
|
33 |
-
- name: doc_title
|
34 |
-
dtype: string
|
35 |
-
- name: context
|
36 |
-
dtype: string
|
37 |
-
- name: question
|
38 |
-
dtype: string
|
39 |
-
- name: answer_text
|
40 |
-
dtype: string
|
41 |
-
splits:
|
42 |
-
- name: train
|
43 |
-
num_bytes: 154553286
|
44 |
-
num_examples: 93828
|
45 |
-
- name: validation
|
46 |
-
num_bytes: 23273377
|
47 |
-
num_examples: 12692
|
48 |
-
download_size: 43600501
|
49 |
-
dataset_size: 177826663
|
50 |
-
- config_name: span_extraction_how
|
51 |
-
features:
|
52 |
-
- name: doc_title
|
53 |
-
dtype: string
|
54 |
-
- name: context
|
55 |
-
dtype: string
|
56 |
-
- name: question
|
57 |
-
dtype: string
|
58 |
-
- name: answer_text
|
59 |
-
dtype: string
|
60 |
-
splits:
|
61 |
-
- name: train
|
62 |
-
num_bytes: 111843943
|
63 |
-
num_examples: 61746
|
64 |
-
- name: validation
|
65 |
-
num_bytes: 21025535
|
66 |
-
num_examples: 9124
|
67 |
-
download_size: 31577500
|
68 |
-
dataset_size: 132869478
|
69 |
-
- config_name: tableqa
|
70 |
-
features:
|
71 |
-
- name: doc_title
|
72 |
-
dtype: string
|
73 |
-
- name: context
|
74 |
-
dtype: string
|
75 |
-
- name: table_title
|
76 |
-
dtype: string
|
77 |
-
- name: table_html
|
78 |
-
dtype: string
|
79 |
-
- name: question
|
80 |
-
dtype: string
|
81 |
-
- name: answer_text
|
82 |
-
dtype: string
|
83 |
-
splits:
|
84 |
-
- name: train
|
85 |
-
num_bytes: 228901199
|
86 |
-
num_examples: 96000
|
87 |
-
- name: validation
|
88 |
-
num_bytes: 24161924
|
89 |
-
num_examples: 12000
|
90 |
-
download_size: 15321234
|
91 |
-
dataset_size: 253063123
|
92 |
-
- config_name: text_entailment
|
93 |
-
features:
|
94 |
-
- name: doc_title
|
95 |
-
dtype: string
|
96 |
-
- name: context
|
97 |
-
dtype: string
|
98 |
-
- name: question
|
99 |
-
dtype: string
|
100 |
-
- name: answer_text
|
101 |
-
dtype: string
|
102 |
-
splits:
|
103 |
-
- name: train
|
104 |
-
num_bytes: 52307558
|
105 |
-
num_examples: 32750
|
106 |
-
- name: validation
|
107 |
-
num_bytes: 5778697
|
108 |
-
num_examples: 3740
|
109 |
-
download_size: 13330652
|
110 |
-
dataset_size: 58086255
|
111 |
-
configs:
|
112 |
-
- config_name: multiple_choice
|
113 |
-
data_files:
|
114 |
-
- split: train
|
115 |
-
path: multiple_choice/train-*
|
116 |
-
- split: validation
|
117 |
-
path: multiple_choice/validation-*
|
118 |
-
- config_name: span_extraction
|
119 |
-
data_files:
|
120 |
-
- split: train
|
121 |
-
path: span_extraction/train-*
|
122 |
-
- split: validation
|
123 |
-
path: span_extraction/validation-*
|
124 |
-
- config_name: span_extraction_how
|
125 |
-
data_files:
|
126 |
-
- split: train
|
127 |
-
path: span_extraction_how/train-*
|
128 |
-
- split: validation
|
129 |
-
path: span_extraction_how/validation-*
|
130 |
-
- config_name: tableqa
|
131 |
-
data_files:
|
132 |
-
- split: train
|
133 |
-
path: tableqa/train-*
|
134 |
-
- split: validation
|
135 |
-
path: tableqa/validation-*
|
136 |
-
- config_name: text_entailment
|
137 |
-
data_files:
|
138 |
-
- split: train
|
139 |
-
path: text_entailment/train-*
|
140 |
-
- split: validation
|
141 |
-
path: text_entailment/validation-*
|
142 |
---
|
143 |
|
144 |
# 금융, 법률 문서 기계독해 데이터셋
|
@@ -163,13 +30,13 @@ configs:
|
|
163 |
from datasets import load_dataset
|
164 |
특정 configuration의 특정 split 로드
|
165 |
train_data = load_dataset("shchoice/finance-legal-mrc", "span_extraction", split="train")
|
166 |
-
valid_data = load_dataset("shchoice/finance-legal-mrc", "multiple_choice", split="
|
167 |
특정 configuration의 전체 split 로드
|
168 |
full_dataset = load_dataset("shchoice/finance-legal-mrc", "span_extraction")
|
169 |
```
|
170 |
|
171 |
## 데이터 필드
|
172 |
-
1. 기계독해에 필요한 필수 항목
|
173 |
- doc_title: 문서 제목 (Optional)
|
174 |
- context: 문장의 주요 텍스트 내용
|
175 |
- question: 질문 텍스트
|
|
|
6 |
- korean
|
7 |
- finance
|
8 |
- legal
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
---
|
10 |
|
11 |
# 금융, 법률 문서 기계독해 데이터셋
|
|
|
30 |
from datasets import load_dataset
|
31 |
특정 configuration의 특정 split 로드
|
32 |
train_data = load_dataset("shchoice/finance-legal-mrc", "span_extraction", split="train")
|
33 |
+
valid_data = load_dataset("shchoice/finance-legal-mrc", "multiple_choice", split="test")
|
34 |
특정 configuration의 전체 split 로드
|
35 |
full_dataset = load_dataset("shchoice/finance-legal-mrc", "span_extraction")
|
36 |
```
|
37 |
|
38 |
## 데이터 필드
|
39 |
+
1. 기계독해에 필요한 필수 항목
|
40 |
- doc_title: 문서 제목 (Optional)
|
41 |
- context: 문장의 주요 텍스트 내용
|
42 |
- question: 질문 텍스트
|