BERT

This module includes classes to enable compatibility with BERT models (Devlin et al., 2018) that are stored in the HuggingFace hub. For instance, in the work this package was originally developed for (Ulmer et al., 2022), three different BERTs were used:

The BERT model that is supposed to be used can be specified by using the bert_name argument for nlp_uncertainty_zoo.models.bert.BertModule.__init__().

BERT Module Documentation