HotpotQA
get_input_data_model()
Returns HotpotQA input data model for pipeline configurations.
Returns:
Type | Description |
---|---|
DataModel
|
The HotpotQA input data model |
Source code in synalinks/src/datasets/hotpotqa.py
get_knowledge_data_model()
Returns HotpotQA knowledge data model for pipeline configurations.
Returns:
Type | Description |
---|---|
DataModel
|
The HotpotQA knowledge data model |
Source code in synalinks/src/datasets/hotpotqa.py
get_output_data_model()
Returns HotpotQA output data model for pipeline configurations.
Returns:
Type | Description |
---|---|
DataModel
|
The HotpotQA output data model |
Source code in synalinks/src/datasets/hotpotqa.py
load_data()
Load and format data from HuggingFace
Example:
Returns:
Type | Description |
---|---|
tuple
|
The train and test data ready for training |
Source code in synalinks/src/datasets/hotpotqa.py
load_knowledge()
Load and format data from HuggingFace
Example:
Returns:
Type | Description |
---|---|
list
|
The data ready for knowledge injestion |