Datasets:
Tasks:
Text Generation
Modalities:
Text
Sub-tasks:
language-modeling
Languages:
Korean
Size:
10K<n<100K
ArXiv:
License:
update
Browse files
generate_reference_files.py
CHANGED
@@ -6,7 +6,7 @@ os.makedirs('./reference_files', exist_ok=True)
|
|
6 |
|
7 |
|
8 |
for split in ['validation', 'test']:
|
9 |
-
dataset = load_dataset('asahi417/qg_korquad', split=split)
|
10 |
for data in ['question', 'answer', 'sentence', 'paragraph']:
|
11 |
with open('./reference_files/{}-{}.txt'.format(data, split), 'w') as f:
|
12 |
if data == 'paragraph':
|
|
|
6 |
|
7 |
|
8 |
for split in ['validation', 'test']:
|
9 |
+
dataset = load_dataset('asahi417/qg_korquad', split=split, download_mode='force_redownload')
|
10 |
for data in ['question', 'answer', 'sentence', 'paragraph']:
|
11 |
with open('./reference_files/{}-{}.txt'.format(data, split), 'w') as f:
|
12 |
if data == 'paragraph':
|