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 original, English BERT by `Devlin et al. (2018) `_ (`bert-base-uncased`). * The Danish BERT developed by `Hvingelby et al. (2020) `_ (`alexanderfalk/danbert-small-cased`). * The Finnish BERT provided by `Virtanen et al. (2019) `_ (`TurkuNLP/bert-base-finnish-cased-v1`). The BERT model that is supposed to be used can be specified by using the `bert_name` argument for :py:meth:`nlp_uncertainty_zoo.models.bert.BertModule.__init__()`. BERT Module Documentation ========================= .. automodule:: nlp_uncertainty_zoo.models.bert :members: :show-inheritance: :undoc-members: