update loader
Browse files- 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('
|
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'),
|