mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-08-12 11:40:44 +08:00
pre-commits
This commit is contained in:
@@ -2,11 +2,7 @@ from datasets import load_dataset
|
||||
from sklearn.model_selection import train_test_split
|
||||
from torch.utils.data import Dataset, Subset
|
||||
|
||||
QA_SPECIAL_TOKENS = {
|
||||
'Question': '<question>',
|
||||
'Answer': '<answer>'
|
||||
}
|
||||
|
||||
QA_SPECIAL_TOKENS = {"Question": "<question>", "Answer": "<answer>"}
|
||||
|
||||
|
||||
class SquadV2Dataset(Dataset):
|
||||
|
||||
Reference in New Issue
Block a user