Datasets:
tau
/

Modalities:
Text
Libraries:
Datasets
fs / configs /super_glue.py
yuvalkirstain's picture
update
c6ded99
raw
history blame
698 Bytes
from typing import Optional, Union
from configs.fs import FSConfig
class BoolQConfig(FSConfig):
def __init__(self, **kwargs):
super().__init__(**kwargs)
@property
def id_key(self) -> str:
return "idx"
@property
def source_key(self) -> str:
return "passage"
@property
def question_key(self) -> Union[str, None]:
return "question"
@property
def target_key(self) -> str:
return "label"
@property
def train_file(self) -> str:
return "train.jsonl"
@property
def validation_file(self) -> str:
return "val.jsonl"
@property
def test_file(self) -> str:
return "test.jsonl"