Kosuke-Yamada
commited on
Commit
•
7d7d86f
1
Parent(s):
a4dbcca
modify split generator
Browse files- ner-wikipedia-dataset.py +0 -3
ner-wikipedia-dataset.py
CHANGED
@@ -149,9 +149,6 @@ class NerWikipediaDataset(datasets.GeneratorBasedBuilder):
|
|
149 |
test_data = data[validation_split:]
|
150 |
|
151 |
return [
|
152 |
-
datasets.SplitGenerator(
|
153 |
-
name=datasets.Split.ALL, gen_kwargs={"data": data, "split": "all"}
|
154 |
-
),
|
155 |
datasets.SplitGenerator(
|
156 |
name=datasets.Split.TRAIN,
|
157 |
gen_kwargs={"data": train_data, "split": "train"},
|
|
|
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"},
|