Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LiteSSLHub/DisCo
/ types & classes
Types & classes
44 in github.com/LiteSSLHub/DisCo
⨍
Functions
201
◇
Types & classes
44
↓ 8 callers
Class
BertModel
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 callers
Class
BertLayerNorm
src/pytorch_pretrained_bert/modeling.py:193
↓ 4 callers
Class
SelfUdaDataset
src/data.py:453
↓ 3 callers
Class
ConsistSumDataset
src/data.py:334
↓ 2 callers
Class
BaseModelOutput
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 callers
Class
Batch
src/data.py:475
↓ 2 callers
Class
BertLMPredictionHead
src/pytorch_pretrained_bert/modeling.py:412
↓ 2 callers
Class
ConsistSum
src/model.py:114
↓ 2 callers
Class
ConsistSumDataModule
src/data.py:136
↓ 2 callers
Class
SelfUdaDataModule
src/data.py:241
↓ 1 callers
Class
BasicTokenizer
Runs basic tokenization (punctuation splitting, lower casing, etc.).
src/pytorch_pretrained_bert/tokenization.py:158
↓ 1 callers
Class
BertAttention
src/pytorch_pretrained_bert/modeling.py:306
↓ 1 callers
Class
BertConfig
Configuration class to store the configuration of a `BertModel`.
src/pytorch_pretrained_bert/modeling.py:93
↓ 1 callers
Class
BertEmbeddings
Construct the embeddings from word, position and token_type embeddings.
src/pytorch_pretrained_bert/modeling.py:209
↓ 1 callers
Class
BertEncoder
src/pytorch_pretrained_bert/modeling.py:359
↓ 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
src/pytorch_pretrained_bert/modeling.py:711
↓ 1 callers
Class
BertIntermediate
src/pytorch_pretrained_bert/modeling.py:318
↓ 1 callers
Class
BertLayer
src/pytorch_pretrained_bert/modeling.py:345
↓ 1 callers
Class
BertOnlyMLMHead
src/pytorch_pretrained_bert/modeling.py:431
↓ 1 callers
Class
BertOnlyNSPHead
src/pytorch_pretrained_bert/modeling.py:441
↓ 1 callers
Class
BertOutput
src/pytorch_pretrained_bert/modeling.py:331
↓ 1 callers
Class
BertPooler
src/pytorch_pretrained_bert/modeling.py:382
↓ 1 callers
Class
BertPreTrainingHeads
src/pytorch_pretrained_bert/modeling.py:451
↓ 1 callers
Class
BertPredictionHeadTransform
src/pytorch_pretrained_bert/modeling.py:397
↓ 1 callers
Class
BertSelfAttention
src/pytorch_pretrained_bert/modeling.py:241
↓ 1 callers
Class
BertSelfOutput
src/pytorch_pretrained_bert/modeling.py:292
↓ 1 callers
Class
DistillDataset
src/data.py:392
↓ 1 callers
Class
DocumentDatabase
src/pregenerate_training_data.py:38
↓ 1 callers
Class
ExtractiveSummaryHead
src/model.py:67
↓ 1 callers
Class
GlueTaskHead
src/model.py:82
↓ 1 callers
Class
TinyBertForPreTraining
src/model.py:38
↓ 1 callers
Class
Trainer
src/general_distill.py:90
↓ 1 callers
Class
UDAData
src/data.py:28
↓ 1 callers
Class
WarpJsonObject
convert pyarrow.Table to python dict
src/utils.py:41
↓ 1 callers
Class
WordpieceTokenizer
Runs WordPiece tokenization.
src/pytorch_pretrained_bert/tokenization.py:275
Class
BertAdam
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
Class
BertForMaskedLM
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
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:
src/pytorch_pretrained_bert/modeling.py:976
Class
BertForNextSentencePrediction
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
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
src/pytorch_pretrained_bert/modeling.py:1121
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:
src/pytorch_pretrained_bert/modeling.py:909
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
src/pytorch_pretrained_bert/modeling.py:1047
Class
BertPreTrainedModel
An abstract class to handle weights initialization and a simple interface for dowloading and loading pretrained models.
src/pytorch_pretrained_bert/modeling.py:463
Class
BertTokenizer
Runs end-to-end tokenization: punctuation splitting + wordpiece
src/pytorch_pretrained_bert/tokenization.py:75