Found via `codespell -S .mypy_cache,yarn.lock,*.json,*.ipynb -L
rouge,nam,vie`
This commit is contained in:
Kian-Meng Ang
2023-02-05 20:18:03 +01:00
committed by GitHub
parent 364a4f5aa3
commit 1e321a6fca
32 changed files with 50 additions and 50 deletions
@@ -23,5 +23,5 @@ Issues and TODO:
- ideally we can update the config yaml and new dataset will be download from
hub
- one possible idea is we upload the trasform format of these dataset to the
- one possible idea is we upload the transform format of these dataset to the
OA hub
@@ -314,7 +314,7 @@ class JokeExplaination(Dataset):
for line in f:
data = json.loads(line)
joke = data["joke"]
explanation = data["explaination"]
explanation = data["explanation"]
self.pairs.append((joke, explanation))
if len(question) > 0 and len(answer) > 0: