modelzoo.transformers.pytorch.bert.fine_tuning.qa.input.BertQADataProcessor.parse_qa_row#

modelzoo.transformers.pytorch.bert.fine_tuning.qa.input.BertQADataProcessor.parse_qa_row(data_row)[source]#

Processing of a row in the CSV file.

Parameters

data_row (dict) – dictionary with input values.

Returns: tuple: (list of parsed tokens, List of labels).