megatron.data.orqa_wiki_dataset#
Description
Wikipedia dataset from DPR code for ORQA.
Classes
|
Open Retrieval Evidence dataset class. |
Functions
|
Convert to numpy and return a sample consumed by the batch producer. |
Build token types and paddings, trim if needed, and pad if needed. |
|
|
Build token types and paddings, trim if needed, and pad if needed. |
|
|