File size: 538 Bytes
a6a875e |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
from configs.fs import FSConfig
class ScrollsConfig(FSConfig):
def __init__(self, **kwargs):
super().__init__(**kwargs)
@property
def source_key(self):
return "input"
@property
def target_key(self):
return "output"
@property
def train_file(self):
return "train.jsonl"
@property
def validation_file(self):
return "validation.jsonl"
@property
def test_file(self):
return "test.jsonl"
@property
def id_key(self):
return "pid" |