LexFerrinson commited on
Commit
407b346
·
verified ·
1 Parent(s): e06ed44

Update test_meters.py

Browse files
Files changed (1) hide show
  1. test_meters.py +4 -4
test_meters.py CHANGED
@@ -59,7 +59,7 @@ This task will evaluate the ability to detect and classify novel, emerging, sing
59
  The goal of this task is to provide a definition of emerging and of rare entities, and based on that, also datasets for detecting these entities.
60
  """
61
 
62
- _URL = "https://raw.githubusercontent.com/leondz/emerging_entities_17/master/"
63
  _TRAINING_FILE = "dataset_wnut_train.conll"
64
  _DEV_FILE = "dataset_wnut_dev.conll"
65
  _TEST_FILE = "dataset_wnut_test.conll"
@@ -110,9 +110,9 @@ class WNUT_17(datasets.GeneratorBasedBuilder):
110
  def _split_generators(self, dl_manager):
111
  """Returns SplitGenerators."""
112
  urls_to_download = {
113
- "train": f"{_TRAINING_FILE}",
114
- "dev": f"{_DEV_FILE}",
115
- "test": f"{_TEST_FILE}",
116
  }
117
  #downloaded_files = dl_manager.download_and_extract(urls_to_download)
118
  downloaded_files = urls_to_download
 
59
  The goal of this task is to provide a definition of emerging and of rare entities, and based on that, also datasets for detecting these entities.
60
  """
61
 
62
+ _URL = "https://huggingface.co/datasets/FirulAI/test_meters"
63
  _TRAINING_FILE = "dataset_wnut_train.conll"
64
  _DEV_FILE = "dataset_wnut_dev.conll"
65
  _TEST_FILE = "dataset_wnut_test.conll"
 
110
  def _split_generators(self, dl_manager):
111
  """Returns SplitGenerators."""
112
  urls_to_download = {
113
+ "train": f"{_URL}{_TRAINING_FILE}",
114
+ "dev": f"{_URL}{_DEV_FILE}",
115
+ "test": f"{_URL}{_TEST_FILE}",
116
  }
117
  #downloaded_files = dl_manager.download_and_extract(urls_to_download)
118
  downloaded_files = urls_to_download