modelzoo.transformers.pytorch.bert.bert_finetune_models.BertForSequenceClassification#

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

Bases: torch.nn.Module

Methods

forward

reset_parameters

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

Call self as a function.

__init__(num_labels, problem_type, classifier_dropout, **model_kwargs)[source]#
static __new__(cls, *args: Any, **kwargs: Any) Any#