types#
Classes
|
A common dataclass for representing examples in a dataset. |
|
A common dataclass for representing examples in a dataset. |
|
A dataclass for representing examples in the HotPotQA dataset. |
|
A dataclass for representing examples in the TREC dataset. |
- class BaseData(id: str = 'd1bfa711-900b-4d00-98bc-8c9502dd6404')[source]#
Bases:
DataClass
A common dataclass for representing examples in a dataset.
- id: str = 'd1bfa711-900b-4d00-98bc-8c9502dd6404'#
- class Example(id: str = 'bb33e8bd-717c-476c-ba00-e7e69940c2e4', question: str = None, answer: str = None)[source]#
Bases:
DataClass
A common dataclass for representing examples in a dataset.
- id: str = 'bb33e8bd-717c-476c-ba00-e7e69940c2e4'#
- question: str = None#
- answer: str = None#