nreimers commited on
Commit
d0d40f0
1 Parent(s): 486d1b9

update loader

Browse files
Files changed (1) hide show
  1. wikipedia-22-12.py +2 -2
wikipedia-22-12.py CHANGED
@@ -58,11 +58,11 @@ class WikiCorpus(datasets.GeneratorBasedBuilder):
58
  def _info(self):
59
 
60
  features = datasets.Features({
61
- 'id': datasets.Value('int32'),
62
  'title': datasets.Value('string'),
63
  'text': datasets.Value('string'),
64
  'url': datasets.Value('string'),
65
- 'wiki_id': datasets.Value('string'),
66
  'views': datasets.Value('float32'),
67
  'paragraph_id': datasets.Value('int32'),
68
  'langs': datasets.Value('int32'),
 
58
  def _info(self):
59
 
60
  features = datasets.Features({
61
+ 'id': datasets.Value('int32'),
62
  'title': datasets.Value('string'),
63
  'text': datasets.Value('string'),
64
  'url': datasets.Value('string'),
65
+ 'wiki_id': datasets.Value('int32'),
66
  'views': datasets.Value('float32'),
67
  'paragraph_id': datasets.Value('int32'),
68
  'langs': datasets.Value('int32'),