Datasets:
tau
/

Modalities:
Text
Libraries:
Datasets
fs / configs /scrolls.py
yuvalkirstain's picture
update
c6ded99
raw
history blame
581 Bytes
from configs.fs import FSConfig
class ScrollsConfig(FSConfig):
def __init__(self, **kwargs):
super().__init__(**kwargs)
@property
def source_key(self) -> str:
return "input"
@property
def target_key(self) -> str:
return "output"
@property
def train_file(self) -> str:
return "train.jsonl"
@property
def validation_file(self) -> str:
return "validation.jsonl"
@property
def test_file(self) -> str:
return "test.jsonl"
@property
def id_key(self) -> str:
return "pid"