modelzoo.transformers.pytorch.bert.fine_tuning.token_classifier.input.BertTokenClassifierDataProcessor.parse_ner_row#
- modelzoo.transformers.pytorch.bert.fine_tuning.token_classifier.input.BertTokenClassifierDataProcessor.parse_ner_row(data_row, do_lower=False)[source]#
Postprocessing of a row in the CSV file. :param: dict data_row: dictionary with an input text tokens and labels.
- Returns
tuple: (list of parsed tokens, List of labels).