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/built_in/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/built_in/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/built_in/hotpotqa.py
iterable_dataset(repeat=1, batch_size=1, limit=None, split='train')
Streaming dataset for RL-style training.
Returns:
| Type | Description |
|---|---|
HuggingFaceDataset
|
A streaming, iterable dataset. |
Source code in synalinks/src/datasets/built_in/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/built_in/hotpotqa.py
load_knowledge()
Load and format data from HuggingFace.
Example:
Returns:
| Type | Description |
|---|---|
ndarray
|
The data ready for knowledge ingestion |