MCPcopy Create free account

hub / github.com/Albert-Ma/PROP / types & classes

Types & classes43 in github.com/Albert-Ma/PROP

↓ 8 callersClassBertModel
BERT model ("Bidirectional Embedding Representations from a Transformer"). Params: config: a BertConfig class instance with the configura
pytorch_pretrain_bert/modeling.py:675
↓ 4 callersClassBertLayerNorm
pytorch_pretrain_bert/modeling.py:235
↓ 3 callersClassBertLMPredictionHead
pytorch_pretrain_bert/modeling.py:467
↓ 2 callersClassBertOnlyMLMHead
pytorch_pretrain_bert/modeling.py:486
↓ 2 callersClassInputFeatures
A single set of features of data.
bprop/extract_bert_attention.py:57
↓ 2 callersClassPregeneratedDataset
run_pretraining.py:58
↓ 1 callersClassBasicTokenizer
Runs basic tokenization (punctuation splitting, lower casing, etc.).
pytorch_pretrain_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
pytorch_pretrain_bert/optimization.py:54
↓ 1 callersClassBertAttention
pytorch_pretrain_bert/modeling.py:357
↓ 1 callersClassBertConfig
Configuration class to store the configuration of a `BertModel`.
pytorch_pretrain_bert/modeling.py:138
↓ 1 callersClassBertEmbeddings
Construct the embeddings from word, position and token_type embeddings.
pytorch_pretrain_bert/modeling.py:250
↓ 1 callersClassBertEncoder
pytorch_pretrain_bert/modeling.py:417
↓ 1 callersClassBertForPreTraining
BERT model with pre-training heads. This module comprises the BERT model followed by the two pre-training heads: - the masked language mod
pytorch_pretrain_bert/modeling.py:848
↓ 1 callersClassBertIntermediate
pytorch_pretrain_bert/modeling.py:371
↓ 1 callersClassBertLayer
pytorch_pretrain_bert/modeling.py:400
↓ 1 callersClassBertOnlyNSPHead
pytorch_pretrain_bert/modeling.py:496
↓ 1 callersClassBertOutput
pytorch_pretrain_bert/modeling.py:386
↓ 1 callersClassBertPooler
pytorch_pretrain_bert/modeling.py:435
↓ 1 callersClassBertPreTrainingHeads
pytorch_pretrain_bert/modeling.py:506
↓ 1 callersClassBertPredictionHeadTransform
pytorch_pretrain_bert/modeling.py:450
↓ 1 callersClassBertSelfAttention
pytorch_pretrain_bert/modeling.py:281
↓ 1 callersClassBertSelfOutput
pytorch_pretrain_bert/modeling.py:343
↓ 1 callersClassDocumentDatabase
bprop/multiprocessing_generate_word_sets.py:36
↓ 1 callersClassDocumentDatabase
prop/preprocessing_data.py:26
↓ 1 callersClassDocumentDatabase
prop/multiprocessing_generate_pairwise_instances.py:21
↓ 1 callersClassDocumentDatabase
prop/multiprocessing_generate_word_sets.py:32
↓ 1 callersClassDocumentTfDatabase
prop/multiprocessing_generate_word_sets.py:68
↓ 1 callersClassInputExample
bprop/extract_bert_attention.py:49
↓ 1 callersClassRandomPairSampler
run_pretraining.py:127
↓ 1 callersClassStem2WordDatabase
bprop/multiprocessing_generate_word_sets.py:72
↓ 1 callersClassStem2WordDatabase
prop/multiprocessing_generate_word_sets.py:110
↓ 1 callersClassTableForNegativeSamples
prop/multiprocessing_generate_word_sets.py:161
↓ 1 callersClassWordpieceTokenizer
Runs WordPiece tokenization.
pytorch_pretrain_bert/tokenization.py:318
ClassBertForMaskedLM
BERT model with the masked language modeling head. This module comprises the BERT model followed by the masked language modeling head. Params
pytorch_pretrain_bert/modeling.py:920
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:
pytorch_pretrain_bert/modeling.py:1109
ClassBertForNextSentencePrediction
BERT model with next sentence prediction head. This module comprises the BERT model followed by the next sentence classification head. Params
pytorch_pretrain_bert/modeling.py:981
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
pytorch_pretrain_bert/modeling.py:1251
ClassBertForSequenceClassification
BERT model for classification. This module is composed of the BERT model with a linear layer on top of the pooled output. Params:
pytorch_pretrain_bert/modeling.py:1043
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
pytorch_pretrain_bert/modeling.py:1178
ClassBertPreTrainedModel
An abstract class to handle weights initialization and a simple interface for dowloading and loading pretrained models.
pytorch_pretrain_bert/modeling.py:518
ClassBertTokenizer
Runs end-to-end tokenization: punctuation splitting + wordpiece
pytorch_pretrain_bert/tokenization.py:74
ClassPROP
BERT model with pre-training heads. This module comprises the BERT model followed by the two pre-training heads: - the masked language mod
pytorch_pretrain_bert/modeling.py:775
ClassTableForNegativeSamples
bprop/multiprocessing_generate_word_sets.py:124