InputExample

class InputExample(guid: int, text_a: str, text_b: Optional[str] = None, label: Optional[int] = None)[source]

Convert pandas dataframe data instance to InputExample instance for easier manipulation

Parameters
  • guid (int) – [description]

  • text_a (str) – [description]

  • text_b (str, optional) – Not used for emotion entailment. Defaults to None.

  • label (int optional) – Contains label of data. Defaults to None.