MCPcopy Create free account

hub / github.com/circlePi/Pretraining-Yourself-Bert-From-Scratch / types & classes

Types & classes37 in github.com/circlePi/Pretraining-Yourself-Bert-From-Scratch

↓ 7 callersClassBertModel
BERT model ("Bidirectional Embedding Representations from a Transformer"). Params: config: a BertConfig class instance with the configura
lm_smallBert/pytorch_pretrained_bert/modeling.py:652
↓ 4 callersClassBertLayerNorm
lm_smallBert/pytorch_pretrained_bert/modeling.py:231
↓ 2 callersClassBertLMPredictionHead
lm_smallBert/pytorch_pretrained_bert/modeling.py:446
↓ 1 callersClassBasicTokenizer
Runs basic tokenization (punctuation splitting, lower casing, etc.).
lm_smallBert/pytorch_pretrained_bert/tokenization.py:201
↓ 1 callersClassBertAdam
Implements BERT version of Adam algorithm with weight decay fix. Params: lr: learning rate warmup: portion of t_total for the warm
lm_smallBert/pytorch_pretrained_bert/optimization.py:177
↓ 1 callersClassBertAttention
lm_smallBert/pytorch_pretrained_bert/modeling.py:342
↓ 1 callersClassBertConfig
Configuration class to store the configuration of a `BertModel`.
lm_smallBert/pytorch_pretrained_bert/modeling.py:134
↓ 1 callersClassBertEmbeddings
Construct the embeddings from word, position and token_type embeddings.
lm_smallBert/pytorch_pretrained_bert/modeling.py:246
↓ 1 callersClassBertEncoder
lm_smallBert/pytorch_pretrained_bert/modeling.py:397
↓ 1 callersClassBertForMaskedLM
BERT model with the masked language modeling head. This module comprises the BERT model followed by the masked language modeling head. Params
lm_smallBert/pytorch_pretrained_bert/modeling.py:806
↓ 1 callersClassBertIntermediate
lm_smallBert/pytorch_pretrained_bert/modeling.py:354
↓ 1 callersClassBertLayer
lm_smallBert/pytorch_pretrained_bert/modeling.py:383
↓ 1 callersClassBertOnlyMLMHead
lm_smallBert/pytorch_pretrained_bert/modeling.py:465
↓ 1 callersClassBertOnlyNSPHead
lm_smallBert/pytorch_pretrained_bert/modeling.py:475
↓ 1 callersClassBertOutput
lm_smallBert/pytorch_pretrained_bert/modeling.py:369
↓ 1 callersClassBertPooler
lm_smallBert/pytorch_pretrained_bert/modeling.py:414
↓ 1 callersClassBertPreTrainingHeads
lm_smallBert/pytorch_pretrained_bert/modeling.py:485
↓ 1 callersClassBertPredictionHeadTransform
lm_smallBert/pytorch_pretrained_bert/modeling.py:429
↓ 1 callersClassBertSelfAttention
lm_smallBert/pytorch_pretrained_bert/modeling.py:277
↓ 1 callersClassBertSelfOutput
lm_smallBert/pytorch_pretrained_bert/modeling.py:328
↓ 1 callersClassBertTokenizer
Runs end-to-end tokenization: punctuation splitting + wordpiece
lm_smallBert/pytorch_pretrained_bert/tokenization.py:74
↓ 1 callersClassInputFeatures
A single set of features of data.
lm_smallBert/run_pretraining.py:36
↓ 1 callersClassWordpieceTokenizer
Runs WordPiece tokenization.
lm_smallBert/pytorch_pretrained_bert/tokenization.py:318
ClassBertForMultipleChoice
BERT model for multiple choice tasks. This module is composed of the BERT model with a linear layer on top of the pooled output. Params:
lm_smallBert/pytorch_pretrained_bert/modeling.py:995
ClassBertForNextSentencePrediction
BERT model with next sentence prediction head. This module comprises the BERT model followed by the next sentence classification head. Params
lm_smallBert/pytorch_pretrained_bert/modeling.py:867
ClassBertForPreTraining
BERT model with pre-training heads. This module comprises the BERT model followed by the two pre-training heads: - the masked language mod
lm_smallBert/pytorch_pretrained_bert/modeling.py:735
ClassBertForQuestionAnswering
BERT model for Question Answering (span extraction). This module is composed of the BERT model with a linear layer on top of the sequence outp
lm_smallBert/pytorch_pretrained_bert/modeling.py:1137
ClassBertForSequenceClassification
BERT model for classification. This module is composed of the BERT model with a linear layer on top of the pooled output. Params:
lm_smallBert/pytorch_pretrained_bert/modeling.py:929
ClassBertForTokenClassification
BERT model for token-level classification. This module is composed of the BERT model with a linear layer on top of the full hidden state of th
lm_smallBert/pytorch_pretrained_bert/modeling.py:1064
ClassBertPreTrainedModel
An abstract class to handle weights initialization and a simple interface for dowloading and loading pretrained models.
lm_smallBert/pytorch_pretrained_bert/modeling.py:497
ClassConstantLR
lm_smallBert/pytorch_pretrained_bert/optimization.py:81
ClassWarmupConstantSchedule
Applies linear warmup. After warmup always returns 1..
lm_smallBert/pytorch_pretrained_bert/optimization.py:147
ClassWarmupCosineSchedule
Cosine learning rate schedule with linear warmup. Cosine after warmup is without restarts.
lm_smallBert/pytorch_pretrained_bert/optimization.py:86
ClassWarmupCosineWithHardRestartsSchedule
Cosine learning rate schedule with linear warmup and hard restarts (if cycles > 1).
lm_smallBert/pytorch_pretrained_bert/optimization.py:109
ClassWarmupCosineWithWarmupRestartsSchedule
Cosine learning rate schedule with linear warmups and linear warmup restarts. The same warmup rate is used for warmup restarts as for initial
lm_smallBert/pytorch_pretrained_bert/optimization.py:126
ClassWarmupLinearSchedule
Linear warmup. Linear decay after warmup.
lm_smallBert/pytorch_pretrained_bert/optimization.py:157
Class_LRSchedule
Parent of all LRSchedules here.
lm_smallBert/pytorch_pretrained_bert/optimization.py:35