Yeb Havinga commited on
Commit
f4ce74c
β€’
1 Parent(s): f57670f

Move datafiles add infos

Browse files
3.0.0/dataset_infos.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:97627cbc16ae649fd6a55082c132805dd852e3030328dac3cdaaed764d3ee2c4
3
+ size 2264
{cnn_dailymail_dutch/3.0.0 β†’ 3.0.0}/test.json.gz RENAMED
File without changes
{cnn_dailymail_dutch/3.0.0 β†’ 3.0.0}/train.json.gz RENAMED
File without changes
{cnn_dailymail_dutch/3.0.0 β†’ 3.0.0}/validation.json.gz RENAMED
File without changes
test_cnn_dailymail_dutch.py CHANGED
@@ -5,7 +5,7 @@ from datasets import load_dataset
5
 
6
 
7
  def test_streaming_dataset():
8
- datasets = load_dataset('./cnn_dailymail_dutch', streaming=True)
9
  assert set(datasets.keys()) == {'train', 'validation', 'test'}
10
 
11
  for split in ['train', 'validation', 'test']:
@@ -15,3 +15,8 @@ def test_streaming_dataset():
15
  assert 10 <= len(e['highlights']) <= 500
16
  if i == 100:
17
  break
 
 
 
 
 
 
5
 
6
 
7
  def test_streaming_dataset():
8
+ datasets = load_dataset('./3.0.0', streaming=True)
9
  assert set(datasets.keys()) == {'train', 'validation', 'test'}
10
 
11
  for split in ['train', 'validation', 'test']:
 
15
  assert 10 <= len(e['highlights']) <= 500
16
  if i == 100:
17
  break
18
+
19
+
20
+ def test_batch_dataset():
21
+ datasets = load_dataset('./3.0.0')
22
+ assert set(datasets.keys()) == {'train', 'validation', 'test'}