mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-08-17 11:13:32 +08:00
Merge branch 'main' into add-dataset
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user