Merge branch 'main' into add-dataset

This commit is contained in:
theblackcat102 committed 2023-02-09 01:28:42 +00:00
commit a1b90bf981
328 files changed
+9512 -1937

No files matched your search

@@ -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
@@ -316,7 +316,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: