Severine commited on
Commit
ed5c809
1 Parent(s): a1564af
SuperLim.py CHANGED
@@ -134,7 +134,8 @@ _TASKS = {
134
  "swefracas": "SweFracas",
135
  "swepar": "SwePar",
136
  "swesat": "SweSat",
137
- "swesim": "SweSim",
 
138
  "swewgr": "SweWgr",
139
  "swewic": "SweWic",
140
  "swewsc": "SweWsc"
@@ -290,7 +291,7 @@ class SuperLim(datasets.GeneratorBasedBuilder):
290
  "challenge_end": datasets.Value("string"),
291
  "response_begin": datasets.Value("string"),
292
  "response_end": datasets.Value("string"),
293
- "label": datasets.Value("uint8")
294
  }
295
  )
296
  else: # This is an example to show how to have different features for "first_domain" and "second_domain"
@@ -406,8 +407,8 @@ class SuperLim(datasets.GeneratorBasedBuilder):
406
  elif self.config.name == "swefaq":
407
  yield key, {
408
  "question": row["question"],
409
- "candidate answer": row["candidate_answer"],
410
- "correct answer": row["correct_answer"],
411
  }
412
  elif self.config.name == "swefracas":
413
  yield key, {
 
134
  "swefracas": "SweFracas",
135
  "swepar": "SwePar",
136
  "swesat": "SweSat",
137
+ "swesim_relatedness": "SweSim_relatedness",
138
+ "swesim_similarity": "SweSim_similarity",
139
  "swewgr": "SweWgr",
140
  "swewic": "SweWic",
141
  "swewsc": "SweWsc"
 
291
  "challenge_end": datasets.Value("string"),
292
  "response_begin": datasets.Value("string"),
293
  "response_end": datasets.Value("string"),
294
+ "label": datasets.Value("string")
295
  }
296
  )
297
  else: # This is an example to show how to have different features for "first_domain" and "second_domain"
 
407
  elif self.config.name == "swefaq":
408
  yield key, {
409
  "question": row["question"],
410
+ "candidate_answer": row["candidate_answer"],
411
+ "correct_answer": row["correct_answer"],
412
  }
413
  elif self.config.name == "swefracas":
414
  yield key, {
data/SweFracas/{swefracas.csv → test.csv} RENAMED
The diff for this file is too large to render. See raw diff