modelzoo.transformers.data_processing.bert.bertsum_data_processor.JsonConverter#

class modelzoo.transformers.data_processing.bert.bertsum_data_processor.JsonConverter[source]#

Bases: object

JsonConverter simplifies the input and convert it into json files format with source and target (summarized) texts. Splits input into train, test and valid parts based on the map_path. :param params: dict params: JsonConverter configuration parameters.

Methods

process

__init__(params)[source]#

JsonConverter simplifies the input and convert it into json files format with source and target (summarized) texts. Splits input into train, test and valid parts based on the map_path. :param params: dict params: JsonConverter configuration parameters.