Leyo HF staff commited on
Commit
2659279
1 Parent(s): ebd6d45

fix splits name

Browse files
Files changed (1) hide show
  1. SNLIVE.py +4 -4
SNLIVE.py CHANGED
@@ -55,7 +55,7 @@ _HOMEPAGE = "https://github.com/necla-ml/SNLI-VE"
55
  _LICENSE = "BSD-3-clause"
56
 
57
  _SNLI_VE_URL_BASE = "https://huggingface.co/datasets/HuggingFaceM4/SNLI-VE/raw/main/"
58
- _SNLE_VE_SPLITS = {
59
  "train": "snli_ve_train.jsonl",
60
  "validation": "snli_ve_dev.jsonl",
61
  "test": "snli_ve_test.jsonl",
@@ -101,9 +101,9 @@ class SNLIVE(datasets.GeneratorBasedBuilder):
101
 
102
  urls = {
103
  "Default": {
104
- "train": os.path.join(_SNLI_VE_URL_BASE, _SNLE_VE_SPLITS["train"]),
105
- "validation": os.path.join(_SNLI_VE_URL_BASE, _SNLE_VE_SPLITS["validation"]),
106
- "test": os.path.join(_SNLI_VE_URL_BASE, _SNLE_VE_SPLITS["test"]),
107
  },
108
  }
109
  snli_ve_annotation_path = dl_manager.download_and_extract(urls)
 
55
  _LICENSE = "BSD-3-clause"
56
 
57
  _SNLI_VE_URL_BASE = "https://huggingface.co/datasets/HuggingFaceM4/SNLI-VE/raw/main/"
58
+ _SNLI_VE_SPLITS = {
59
  "train": "snli_ve_train.jsonl",
60
  "validation": "snli_ve_dev.jsonl",
61
  "test": "snli_ve_test.jsonl",
 
101
 
102
  urls = {
103
  "Default": {
104
+ "train": os.path.join(_SNLI_VE_URL_BASE, _SNLI_VE_SPLITS["train"]),
105
+ "validation": os.path.join(_SNLI_VE_URL_BASE, _SNLI_VE_SPLITS["validation"]),
106
+ "test": os.path.join(_SNLI_VE_URL_BASE, _SNLI_VE_SPLITS["test"]),
107
  },
108
  }
109
  snli_ve_annotation_path = dl_manager.download_and_extract(urls)