system HF staff commited on
Commit
7cdf254
1 Parent(s): d9ef03d

Update files from the datasets library (from 1.16.0)

Browse files

Release notes: https://github.com/huggingface/datasets/releases/tag/1.16.0

README.md CHANGED
@@ -1,4 +1,5 @@
1
  ---
 
2
  annotations_creators:
3
  - expert-generated
4
  language_creators:
 
1
  ---
2
+ pretty_name: EvidenceInferTreatment
3
  annotations_creators:
4
  - expert-generated
5
  language_creators:
dummy/2.0/2.0.0/dummy_data.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d95fc788dbe07daca46ab5eb304897dd8789bd39b843a235e4d8a1814961263c
3
- size 32255
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d688d6174fa99d0b7b8731571a15bf00501e7d690c3d8cabd4ed4b2b201ccbe8
3
+ size 36440
evidence_infer_treatment.py CHANGED
@@ -73,7 +73,7 @@ class EvidenceInferTreatment(datasets.GeneratorBasedBuilder):
73
  name="2.0",
74
  description="EvidenceInference V2",
75
  version=datasets.Version("2.0.0"),
76
- zip_file="http://evidence-inference.ebm-nlp.com/v2.0.tar.gz",
77
  ),
78
  EvidenceInferenceConfig(
79
  name="1.1",
@@ -135,8 +135,7 @@ class EvidenceInferTreatment(datasets.GeneratorBasedBuilder):
135
 
136
  def _split_generators(self, dl_manager):
137
  dl_dir = dl_manager.download_and_extract(self.config.zip_file)
138
- if self.config.name == "1.1":
139
- dl_dir = os.path.join(dl_dir, "evidence-inference-1.1", "annotations")
140
 
141
  SPLITS = {}
142
  for split in ["train", "test", "validation"]:
 
73
  name="2.0",
74
  description="EvidenceInference V2",
75
  version=datasets.Version("2.0.0"),
76
+ zip_file="https://github.com/jayded/evidence-inference/archive/refs/tags/v2.0.zip",
77
  ),
78
  EvidenceInferenceConfig(
79
  name="1.1",
 
135
 
136
  def _split_generators(self, dl_manager):
137
  dl_dir = dl_manager.download_and_extract(self.config.zip_file)
138
+ dl_dir = os.path.join(dl_dir, f"evidence-inference-{self.config.name}", "annotations")
 
139
 
140
  SPLITS = {}
141
  for split in ["train", "test", "validation"]: