modelzoo.transformers.pytorch.bert.fine_tuning.extractive_summarization.input.utils.BertCSVFormatter#

class modelzoo.transformers.pytorch.bert.fine_tuning.extractive_summarization.input.utils.BertCSVFormatter[source]#

Bases: object

Converts input into bert format, sets extractive summarization targets based on the rouge score between references and input sentences. :param params: dict params: BertData configuration parameters.

Methods

process

__init__(params)[source]#

Converts input into bert format, sets extractive summarization targets based on the rouge score between references and input sentences. :param params: dict params: BertData configuration parameters.