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 = '60c04aa1-ebc8-4636-b0ce-62c7dbf7faf2')[source]#
Bases:
DataClass
A common dataclass for representing examples in a dataset.
- id: str = '60c04aa1-ebc8-4636-b0ce-62c7dbf7faf2'#
- class Example(id: str = '93dba5b1-12eb-4569-a6e4-dd2130aacf61', question: str = None, answer: str = None)[source]#
Bases:
DataClass
A common dataclass for representing examples in a dataset.
- id: str = '93dba5b1-12eb-4569-a6e4-dd2130aacf61'#
- question: str = None#
- answer: str = None#