Datasets:

Modalities:
Text
Formats:
json
Languages:
Chinese
Size:
< 1K
Libraries:
Datasets
pandas
License:
suolyer commited on
Commit
2cad8af
1 Parent(s): 57f3dee

Update Ziya-Eval-Chinese.py

Browse files
Files changed (1) hide show
  1. Ziya-Eval-Chinese.py +0 -18
Ziya-Eval-Chinese.py CHANGED
@@ -105,27 +105,9 @@ class ZiyaEvalChinese(datasets.GeneratorBasedBuilder):
105
  # By default the archives will be extracted and a path to a cached folder where they are extracted is returned instead of the archive
106
  urls = {
107
  "test": os.path.join("", f"test.jsonl"),
108
- "validation": os.path.join("", f"test.jsonl"),
109
- "train": os.path.join("", f"train.jsonl"),
110
  }
111
  data_dir = dl_manager.download_and_extract(urls)
112
  return [
113
- datasets.SplitGenerator(
114
- name=datasets.Split.TRAIN,
115
- # These kwargs will be passed to _generate_examples
116
- gen_kwargs={
117
- "filepath": data_dir['train'],
118
- "split": "train",
119
- },
120
- ),
121
- datasets.SplitGenerator(
122
- name=datasets.Split.VALIDATION,
123
- # These kwargs will be passed to _generate_examples
124
- gen_kwargs={
125
- "filepath": data_dir['validation'],
126
- "split": "dev",
127
- },
128
- ),
129
  datasets.SplitGenerator(
130
  name=datasets.Split.TEST,
131
  # These kwargs will be passed to _generate_examples
 
105
  # By default the archives will be extracted and a path to a cached folder where they are extracted is returned instead of the archive
106
  urls = {
107
  "test": os.path.join("", f"test.jsonl"),
 
 
108
  }
109
  data_dir = dl_manager.download_and_extract(urls)
110
  return [
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
111
  datasets.SplitGenerator(
112
  name=datasets.Split.TEST,
113
  # These kwargs will be passed to _generate_examples