Kosuke-Yamada
commited on
Commit
•
4eaca47
1
Parent(s):
6f45866
add all version
Browse files- ner-wikipedia-dataset.py +4 -0
ner-wikipedia-dataset.py
CHANGED
@@ -149,6 +149,10 @@ class NerWikipediaDataset(datasets.GeneratorBasedBuilder):
|
|
149 |
test_data = data[validation_split:]
|
150 |
|
151 |
return [
|
|
|
|
|
|
|
|
|
152 |
datasets.SplitGenerator(
|
153 |
name=datasets.Split.TRAIN,
|
154 |
gen_kwargs={"data": train_data, "split": "train"},
|
|
|
149 |
test_data = data[validation_split:]
|
150 |
|
151 |
return [
|
152 |
+
datasets.SplitGenerator(
|
153 |
+
name=datasets.Split.ALL,
|
154 |
+
gen_kwargs={"data": data, "split": "all"},
|
155 |
+
),
|
156 |
datasets.SplitGenerator(
|
157 |
name=datasets.Split.TRAIN,
|
158 |
gen_kwargs={"data": train_data, "split": "train"},
|