Datasets:
lmqg
/

Languages:
Russian
ArXiv:
License:
asahi417 commited on
Commit
2e18e10
1 Parent(s): 61b36bc
Files changed (1) hide show
  1. generate_reference_files.py +2 -0
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
+