Merge branch 'main' into add-dataset

This commit is contained in:
theblackcat102
2023-02-09 01:28:42 +00:00
328 changed files with 9512 additions and 1937 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
@@ -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: