Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Albert-Ma/PROP
/ types & classes
Types & classes
43 in github.com/Albert-Ma/PROP
⨍
Functions
183
◇
Types & classes
43
↓ 8 callers
Class
BertModel
BERT model ("Bidirectional Embedding Representations from a Transformer"). Params: config: a BertConfig class instance with the configura
pytorch_pretrain_bert/modeling.py:675
↓ 4 callers
Class
BertLayerNorm
pytorch_pretrain_bert/modeling.py:235
↓ 3 callers
Class
BertLMPredictionHead
pytorch_pretrain_bert/modeling.py:467
↓ 2 callers
Class
BertOnlyMLMHead
pytorch_pretrain_bert/modeling.py:486
↓ 2 callers
Class
InputFeatures
A single set of features of data.
bprop/extract_bert_attention.py:57
↓ 2 callers
Class
PregeneratedDataset
run_pretraining.py:58
↓ 1 callers
Class
BasicTokenizer
Runs basic tokenization (punctuation splitting, lower casing, etc.).
pytorch_pretrain_bert/tokenization.py:201
↓ 1 callers
Class
BertAdam
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 callers
Class
BertAttention
pytorch_pretrain_bert/modeling.py:357
↓ 1 callers
Class
BertConfig
Configuration class to store the configuration of a `BertModel`.
pytorch_pretrain_bert/modeling.py:138
↓ 1 callers
Class
BertEmbeddings
Construct the embeddings from word, position and token_type embeddings.
pytorch_pretrain_bert/modeling.py:250
↓ 1 callers
Class
BertEncoder
pytorch_pretrain_bert/modeling.py:417
↓ 1 callers
Class
BertForPreTraining
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 callers
Class
BertIntermediate
pytorch_pretrain_bert/modeling.py:371
↓ 1 callers
Class
BertLayer
pytorch_pretrain_bert/modeling.py:400
↓ 1 callers
Class
BertOnlyNSPHead
pytorch_pretrain_bert/modeling.py:496
↓ 1 callers
Class
BertOutput
pytorch_pretrain_bert/modeling.py:386
↓ 1 callers
Class
BertPooler
pytorch_pretrain_bert/modeling.py:435
↓ 1 callers
Class
BertPreTrainingHeads
pytorch_pretrain_bert/modeling.py:506
↓ 1 callers
Class
BertPredictionHeadTransform
pytorch_pretrain_bert/modeling.py:450
↓ 1 callers
Class
BertSelfAttention
pytorch_pretrain_bert/modeling.py:281
↓ 1 callers
Class
BertSelfOutput
pytorch_pretrain_bert/modeling.py:343
↓ 1 callers
Class
DocumentDatabase
bprop/multiprocessing_generate_word_sets.py:36
↓ 1 callers
Class
DocumentDatabase
prop/preprocessing_data.py:26
↓ 1 callers
Class
DocumentDatabase
prop/multiprocessing_generate_pairwise_instances.py:21
↓ 1 callers
Class
DocumentDatabase
prop/multiprocessing_generate_word_sets.py:32
↓ 1 callers
Class
DocumentTfDatabase
prop/multiprocessing_generate_word_sets.py:68
↓ 1 callers
Class
InputExample
bprop/extract_bert_attention.py:49
↓ 1 callers
Class
RandomPairSampler
run_pretraining.py:127
↓ 1 callers
Class
Stem2WordDatabase
bprop/multiprocessing_generate_word_sets.py:72
↓ 1 callers
Class
Stem2WordDatabase
prop/multiprocessing_generate_word_sets.py:110
↓ 1 callers
Class
TableForNegativeSamples
prop/multiprocessing_generate_word_sets.py:161
↓ 1 callers
Class
WordpieceTokenizer
Runs WordPiece tokenization.
pytorch_pretrain_bert/tokenization.py:318
Class
BertForMaskedLM
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
Class
BertForMultipleChoice
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
Class
BertForNextSentencePrediction
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
Class
BertForQuestionAnswering
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
Class
BertForSequenceClassification
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
Class
BertForTokenClassification
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
Class
BertPreTrainedModel
An abstract class to handle weights initialization and a simple interface for dowloading and loading pretrained models.
pytorch_pretrain_bert/modeling.py:518
Class
BertTokenizer
Runs end-to-end tokenization: punctuation splitting + wordpiece
pytorch_pretrain_bert/tokenization.py:74
Class
PROP
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
Class
TableForNegativeSamples
bprop/multiprocessing_generate_word_sets.py:124