utils¶
Functions
Convert pandas dataframe to TensorDataset |
|
Convert dataframe to examples which can be fed into dataloader |
|
Method to generate InputFeatures object from individual example row |
|
Loop method to process all examples |
|
Iterate through a conversation history to let each utterance be the evidence utterance. |
|
Load examples from dataframe |
|
Get config from config file using argparser |
Classes
Convert pandas dataframe data instance to InputExample instance for easier manipulation |
|
Convert InputExample instance to InputFeature instance for easier manipulation |
|
Class to create torch Dataset instance, which is the required data type for Transformer’s Trainer |