File size: 7,291 Bytes
7f82e11
 
8bcfb4f
7f82e11
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8bcfb4f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
cb39331
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b9f3ba7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7f82e11
 
 
 
 
 
 
 
 
8bcfb4f
 
 
 
 
 
 
 
cb39331
 
 
 
 
 
 
 
b9f3ba7
 
 
 
 
 
 
 
57e761f
7f82e11
57e761f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
---
dataset_info:
- config_name: D1
  features:
  - name: version
    dtype: string
  - name: hypothesis
    dtype: string
  - name: hypothesis_formula
    dtype: string
  - name: facts
    dtype: string
  - name: facts_formula
    dtype: string
  - name: proofs
    sequence: string
  - name: proofs_formula
    sequence: string
  - name: negative_hypothesis
    dtype: string
  - name: negative_hypothesis_formula
    dtype: string
  - name: negative_proofs
    sequence: string
  - name: negative_original_tree_depth
    dtype: int64
  - name: original_tree_depth
    dtype: int64
  - name: depth
    dtype: int64
  - name: num_formula_distractors
    dtype: int64
  - name: num_translation_distractors
    dtype: int64
  - name: num_all_distractors
    dtype: int64
  - name: proof_label
    dtype: string
  - name: negative_proof_label
    dtype: string
  - name: world_assump_label
    dtype: string
  - name: negative_world_assump_label
    dtype: string
  - name: prompt_serial
    dtype: string
  - name: proof_serial
    dtype: string
  - name: instruction
    dtype: string
  - name: input
    dtype: string
  - name: response
    dtype: string
  splits:
  - name: train
    num_bytes: 108112082
    num_examples: 20143
  - name: validation
    num_bytes: 18040312
    num_examples: 3374
  - name: test
    num_bytes: 17777700
    num_examples: 3323
  download_size: 50969460
  dataset_size: 143930094
- config_name: D1_minus
  features:
  - name: version
    dtype: string
  - name: hypothesis
    dtype: string
  - name: hypothesis_formula
    dtype: string
  - name: facts
    dtype: string
  - name: facts_formula
    dtype: string
  - name: proofs
    sequence: string
  - name: proofs_formula
    sequence: string
  - name: negative_hypothesis
    dtype: 'null'
  - name: negative_hypothesis_formula
    dtype: 'null'
  - name: negative_proofs
    sequence: 'null'
  - name: negative_original_tree_depth
    dtype: 'null'
  - name: original_tree_depth
    dtype: int64
  - name: depth
    dtype: int64
  - name: num_formula_distractors
    dtype: int64
  - name: num_translation_distractors
    dtype: int64
  - name: num_all_distractors
    dtype: int64
  - name: proof_label
    dtype: string
  - name: negative_proof_label
    dtype: 'null'
  - name: world_assump_label
    dtype: string
  - name: negative_world_assump_label
    dtype: 'null'
  - name: prompt_serial
    dtype: string
  - name: proof_serial
    dtype: string
  - name: instruction
    dtype: string
  - name: input
    dtype: string
  - name: response
    dtype: string
  splits:
  - name: train
    num_bytes: 23888799
    num_examples: 20082
  - name: validation
    num_bytes: 4007250
    num_examples: 3349
  - name: test
    num_bytes: 4032734
    num_examples: 3374
  download_size: 8783646
  dataset_size: 31928783
- config_name: D3
  features:
  - name: version
    dtype: string
  - name: hypothesis
    dtype: string
  - name: hypothesis_formula
    dtype: string
  - name: facts
    dtype: string
  - name: facts_formula
    dtype: string
  - name: proofs
    sequence: string
  - name: proofs_formula
    sequence: string
  - name: negative_hypothesis
    dtype: string
  - name: negative_hypothesis_formula
    dtype: string
  - name: negative_proofs
    sequence: string
  - name: negative_original_tree_depth
    dtype: int64
  - name: original_tree_depth
    dtype: int64
  - name: depth
    dtype: int64
  - name: num_formula_distractors
    dtype: int64
  - name: num_translation_distractors
    dtype: int64
  - name: num_all_distractors
    dtype: int64
  - name: proof_label
    dtype: string
  - name: negative_proof_label
    dtype: string
  - name: world_assump_label
    dtype: string
  - name: negative_world_assump_label
    dtype: string
  - name: prompt_serial
    dtype: string
  - name: proof_serial
    dtype: string
  - name: instruction
    dtype: string
  - name: input
    dtype: string
  - name: response
    dtype: string
  splits:
  - name: train
    num_bytes: 126666437
    num_examples: 20166
  - name: validation
    num_bytes: 20727548
    num_examples: 3340
  - name: test
    num_bytes: 20914914
    num_examples: 3310
  download_size: 59393588
  dataset_size: 168308899
- config_name: D8
  features:
  - name: version
    dtype: string
  - name: hypothesis
    dtype: string
  - name: hypothesis_formula
    dtype: string
  - name: facts
    dtype: string
  - name: facts_formula
    dtype: string
  - name: proofs
    sequence: string
  - name: proofs_formula
    sequence: string
  - name: negative_hypothesis
    dtype: string
  - name: negative_hypothesis_formula
    dtype: string
  - name: negative_proofs
    sequence: string
  - name: negative_original_tree_depth
    dtype: int64
  - name: original_tree_depth
    dtype: int64
  - name: depth
    dtype: int64
  - name: num_formula_distractors
    dtype: int64
  - name: num_translation_distractors
    dtype: int64
  - name: num_all_distractors
    dtype: int64
  - name: proof_label
    dtype: string
  - name: negative_proof_label
    dtype: string
  - name: world_assump_label
    dtype: string
  - name: negative_world_assump_label
    dtype: string
  - name: prompt_serial
    dtype: string
  - name: proof_serial
    dtype: string
  - name: instruction
    dtype: string
  - name: input
    dtype: string
  - name: response
    dtype: string
  splits:
  - name: train
    num_bytes: 167341010
    num_examples: 20190
  - name: validation
    num_bytes: 28183984
    num_examples: 3409
  - name: test
    num_bytes: 27682859
    num_examples: 3352
  download_size: 76744182
  dataset_size: 223207853
configs:
- config_name: D1
  data_files:
  - split: train
    path: D1/train-*
  - split: validation
    path: D1/validation-*
  - split: test
    path: D1/test-*
- config_name: D1_minus
  data_files:
  - split: train
    path: D1_minus/train-*
  - split: validation
    path: D1_minus/validation-*
  - split: test
    path: D1_minus/test-*
- config_name: D3
  data_files:
  - split: train
    path: D3/train-*
  - split: validation
    path: D3/validation-*
  - split: test
    path: D3/test-*
- config_name: D8
  data_files:
  - split: train
    path: D8/train-*
  - split: validation
    path: D8/validation-*
  - split: test
    path: D8/test-*
license: apache-2.0
---

以下のデータセットに、学習用のカラム(instruction, input, response)を追加して作成しました。  
https://github.com/hitachi-nlp/FLD  
https://huggingface.co/datasets/hitachi-nlp/JFLD

proof_serialが__UNKNOWN__となるデータは含まれません。

## Citation
```
@inproceedings{morishita2024jfld,
  title = {JFLD: A Japanese Benchmark for Deductive Reasoning based on Formal Logic},
  author = {Morishita, Terufumi and Yamaguchi, Atsuki and Morio, Gaku and Hikaru, Tomonari and Osamu Imaichi and Sogawa, Yasuhiro},
  booktitle = {Proceedings of the Joint International Conference on Computational Linguistics, Language Resources and Evaluation},
  year = {2024}
}

@inproceedings{morishita2023fld,
  title = {Learning Deductive Reasoning from Synthetic Corpus based on Formal Logic},
  author = {Morishita, Terufumi and Morio, Gaku and Yamaguchi, Atsuki and Sogawa, Yasuhiro},
  booktitle = {Proceedings of the 40th International Conference on Machine Learning},
  year = {2023}
}
```