modelzoo.transformers.pytorch.bert.bert_finetune_models.BertForSummarizationLoss#

class modelzoo.transformers.pytorch.bert.bert_finetune_models.BertForSummarizationLoss[source]#

Bases: torch.nn.Module

Methods

forward

__call__(*args: Any, **kwargs: Any) Any#

Call self as a function.

__init__(num_labels, loss_weight=1.0)[source]#
static __new__(cls, *args: Any, **kwargs: Any) Any#