Datasets:
lmqg
/

Languages:
German
ArXiv:
License:
asahi417 commited on
Commit
3f78e9d
1 Parent(s): 71765db
Files changed (1) hide show
  1. generate_reference_files.py +1 -0
generate_reference_files.py CHANGED
@@ -17,3 +17,4 @@ 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)}"