from configs.fs import FSConfig | |
class ScrollsConfig(FSConfig): | |
def __init__(self, **kwargs): | |
super().__init__(**kwargs) | |
def source_key(self): | |
return "input" | |
def target_key(self): | |
return "output" | |
def train_file(self): | |
return "train.jsonl" | |
def validation_file(self): | |
return "validation.jsonl" | |
def test_file(self): | |
return "test.jsonl" | |
def id_key(self): | |
return "pid" |