SuzanaB
commited on
Commit
•
76854b4
1
Parent(s):
fc712a4
Modify data path
Browse files- janes_tag.py +1 -2
janes_tag.py
CHANGED
@@ -29,7 +29,6 @@ _URL = 'https://huggingface.co/datasets/classla/janes_tag/raw/main/data.zip'
|
|
29 |
_TRAINING_FILE = 'train_all.conllup'
|
30 |
_DEV_FILE = 'dev_all.conllup'
|
31 |
_TEST_FILE = 'test_all.conllup'
|
32 |
-
_DATA_DIR = 'data'
|
33 |
|
34 |
|
35 |
class JanesTag(datasets.GeneratorBasedBuilder):
|
@@ -83,7 +82,7 @@ class JanesTag(datasets.GeneratorBasedBuilder):
|
|
83 |
|
84 |
def _split_generators(self, dl_manager):
|
85 |
"""Returns SplitGenerators."""
|
86 |
-
data_dir =
|
87 |
|
88 |
return [
|
89 |
datasets.SplitGenerator(
|
|
|
29 |
_TRAINING_FILE = 'train_all.conllup'
|
30 |
_DEV_FILE = 'dev_all.conllup'
|
31 |
_TEST_FILE = 'test_all.conllup'
|
|
|
32 |
|
33 |
|
34 |
class JanesTag(datasets.GeneratorBasedBuilder):
|
|
|
82 |
|
83 |
def _split_generators(self, dl_manager):
|
84 |
"""Returns SplitGenerators."""
|
85 |
+
data_dir = dl_manager.download_and_extract(_URL)
|
86 |
|
87 |
return [
|
88 |
datasets.SplitGenerator(
|