MCPcopy Create free account

hub / github.com/LiteSSLHub/DisCo / types & classes

Types & classes44 in github.com/LiteSSLHub/DisCo

↓ 8 callersClassBertModel
BERT model ("Bidirectional Embedding Representations from a Transformer"). Params: config: a BertConfig class instance with the configura
src/pytorch_pretrained_bert/modeling.py:619
↓ 4 callersClassBertLayerNorm
src/pytorch_pretrained_bert/modeling.py:193
↓ 4 callersClassSelfUdaDataset
src/data.py:453
↓ 3 callersClassConsistSumDataset
src/data.py:334
↓ 2 callersClassBaseModelOutput
A quite easy output class for bert output, in order to enable this Bert modle to be used like the Bert model in transformers
src/pytorch_pretrained_bert/modeling.py:68
↓ 2 callersClassBatch
src/data.py:475
↓ 2 callersClassBertLMPredictionHead
src/pytorch_pretrained_bert/modeling.py:412
↓ 2 callersClassConsistSum
src/model.py:114
↓ 2 callersClassConsistSumDataModule
src/data.py:136
↓ 2 callersClassSelfUdaDataModule
src/data.py:241
↓ 1 callersClassBasicTokenizer
Runs basic tokenization (punctuation splitting, lower casing, etc.).
src/pytorch_pretrained_bert/tokenization.py:158
↓ 1 callersClassBertAttention
src/pytorch_pretrained_bert/modeling.py:306
↓ 1 callersClassBertConfig
Configuration class to store the configuration of a `BertModel`.
src/pytorch_pretrained_bert/modeling.py:93
↓ 1 callersClassBertEmbeddings
Construct the embeddings from word, position and token_type embeddings.
src/pytorch_pretrained_bert/modeling.py:209
↓ 1 callersClassBertEncoder
src/pytorch_pretrained_bert/modeling.py:359
↓ 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
src/pytorch_pretrained_bert/modeling.py:711
↓ 1 callersClassBertIntermediate
src/pytorch_pretrained_bert/modeling.py:318
↓ 1 callersClassBertLayer
src/pytorch_pretrained_bert/modeling.py:345
↓ 1 callersClassBertOnlyMLMHead
src/pytorch_pretrained_bert/modeling.py:431
↓ 1 callersClassBertOnlyNSPHead
src/pytorch_pretrained_bert/modeling.py:441
↓ 1 callersClassBertOutput
src/pytorch_pretrained_bert/modeling.py:331
↓ 1 callersClassBertPooler
src/pytorch_pretrained_bert/modeling.py:382
↓ 1 callersClassBertPreTrainingHeads
src/pytorch_pretrained_bert/modeling.py:451
↓ 1 callersClassBertPredictionHeadTransform
src/pytorch_pretrained_bert/modeling.py:397
↓ 1 callersClassBertSelfAttention
src/pytorch_pretrained_bert/modeling.py:241
↓ 1 callersClassBertSelfOutput
src/pytorch_pretrained_bert/modeling.py:292
↓ 1 callersClassDistillDataset
src/data.py:392
↓ 1 callersClassDocumentDatabase
src/pregenerate_training_data.py:38
↓ 1 callersClassExtractiveSummaryHead
src/model.py:67
↓ 1 callersClassGlueTaskHead
src/model.py:82
↓ 1 callersClassTinyBertForPreTraining
src/model.py:38
↓ 1 callersClassTrainer
src/general_distill.py:90
↓ 1 callersClassUDAData
src/data.py:28
↓ 1 callersClassWarpJsonObject
convert pyarrow.Table to python dict
src/utils.py:41
↓ 1 callersClassWordpieceTokenizer
Runs WordPiece tokenization.
src/pytorch_pretrained_bert/tokenization.py:275
ClassBertAdam
Implements BERT version of Adam algorithm with weight decay fix. Params: lr: learning rate warmup: portion of t_total for the warm
src/pytorch_pretrained_bert/optimization.py:45
ClassBertForMaskedLM
BERT model with the masked language modeling head. This module comprises the BERT model followed by the masked language modeling head. Params
src/pytorch_pretrained_bert/modeling.py:784
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:
src/pytorch_pretrained_bert/modeling.py:976
ClassBertForNextSentencePrediction
BERT model with next sentence prediction head. This module comprises the BERT model followed by the next sentence classification head. Params
src/pytorch_pretrained_bert/modeling.py:846
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
src/pytorch_pretrained_bert/modeling.py:1121
ClassBertForSequenceClassification
BERT model for classification. This module is composed of the BERT model with a linear layer on top of the pooled output. Params:
src/pytorch_pretrained_bert/modeling.py:909
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
src/pytorch_pretrained_bert/modeling.py:1047
ClassBertPreTrainedModel
An abstract class to handle weights initialization and a simple interface for dowloading and loading pretrained models.
src/pytorch_pretrained_bert/modeling.py:463
ClassBertTokenizer
Runs end-to-end tokenization: punctuation splitting + wordpiece
src/pytorch_pretrained_bert/tokenization.py:75