Datasets:
Tasks:
Text Generation
Sub-tasks:
language-modeling
Languages:
Russian
Size:
10K<n<100K
ArXiv:
Tags:
question-generation
License:
update
Browse files
generate_reference_files.py
CHANGED
@@ -17,3 +17,5 @@ for split in ['validation', 'test']:
|
|
17 |
|
18 |
length = [len(open(i).read().split('\n')) for i in glob(f'reference_files/*{split}.txt')]
|
19 |
assert len(list(set(length))) == 1, length
|
|
|
|
|
|
17 |
|
18 |
length = [len(open(i).read().split('\n')) for i in glob(f'reference_files/*{split}.txt')]
|
19 |
assert len(list(set(length))) == 1, length
|
20 |
+
assert length[0] == len(dataset), f"{length[0]} != {len(dataset)}"
|
21 |
+
|