MCPcopy Create free account

hub / github.com/Hzfinfdu/Diffusion-BERT / types & classes

Types & classes93 in github.com/Hzfinfdu/Diffusion-BERT

↓ 8 callersClassBertModel
The model can behave as an encoder (with only self-attention) as well as a decoder, in which case a layer of cross-attention is added betwee
models/modeling_bert.py:872
↓ 8 callersClassBertModel
The model can behave as an encoder (with only self-attention) as well as a decoder, in which case a layer of cross-attention is added betwee
models/modeling_bert_new_timestep.py:903
↓ 6 callersClassRobertaModel
The model can behave as an encoder (with only self-attention) as well as a decoder, in which case a layer of cross-attention is added betwee
models/modeling_roberta.py:695
↓ 5 callersClassCategorical
sample.py:13
↓ 5 callersClassWholeWordMasking
sample.py:18
↓ 3 callersClassDiffusionLoader
dataloader.py:8
↓ 3 callersClassDiffusionSchedule
A wrapper around a simple schedule function.
diffusion_word_freq.py:18
↓ 3 callersClassDiffusionSchedule
A wrapper around a simple schedule function.
diffusion_condition.py:18
↓ 3 callersClassSamplingState
diffusion_word_freq.py:897
↓ 3 callersClassSamplingState
diffusion_condition.py:915
↓ 2 callersClassBertAttention
models/modeling_bert.py:390
↓ 2 callersClassBertAttention
models/modeling_bert_new_timestep.py:405
↓ 2 callersClassBertLMPredictionHead
models/modeling_bert.py:683
↓ 2 callersClassBertLMPredictionHead
models/modeling_bert_new_timestep.py:714
↓ 2 callersClassBertOnlyMLMHead
models/modeling_bert.py:703
↓ 2 callersClassBertOnlyMLMHead
models/modeling_bert_new_timestep.py:734
↓ 2 callersClassRobertaAttention
models/modeling_roberta.py:303
↓ 2 callersClassRobertaLMHead
Roberta Head for masked language modeling.
models/modeling_roberta.py:1134
↓ 2 callersClassState
diffusion_word_freq.py:783
↓ 2 callersClassState
diffusion_condition.py:801
↓ 1 callersClassBertEmbeddings
Construct the embeddings from word, position and token_type embeddings.
models/modeling_bert.py:182
↓ 1 callersClassBertEmbeddings
Construct the embeddings from word, position and token_type embeddings.
models/modeling_bert_new_timestep.py:201
↓ 1 callersClassBertEncoder
models/modeling_bert.py:554
↓ 1 callersClassBertEncoder
models/modeling_bert_new_timestep.py:582
↓ 1 callersClassBertForPreTrainingOutput
Output type of [`BertForPreTraining`]. Args: loss (*optional*, returned when `labels` is provided, `torch.FloatTensor` of shape `(1,
models/modeling_bert.py:769
↓ 1 callersClassBertForPreTrainingOutput
Output type of [`BertForPreTraining`]. Args: loss (*optional*, returned when `labels` is provided, `torch.FloatTensor` of shape `(1,
models/modeling_bert_new_timestep.py:800
↓ 1 callersClassBertIntermediate
models/modeling_bert.py:439
↓ 1 callersClassBertIntermediate
models/modeling_bert_new_timestep.py:454
↓ 1 callersClassBertLayer
models/modeling_bert.py:468
↓ 1 callersClassBertLayer
models/modeling_bert_new_timestep.py:483
↓ 1 callersClassBertOnlyNSPHead
models/modeling_bert.py:713
↓ 1 callersClassBertOnlyNSPHead
models/modeling_bert_new_timestep.py:744
↓ 1 callersClassBertOutput
models/modeling_bert.py:454
↓ 1 callersClassBertOutput
models/modeling_bert_new_timestep.py:469
↓ 1 callersClassBertPooler
models/modeling_bert.py:651
↓ 1 callersClassBertPooler
models/modeling_bert_new_timestep.py:682
↓ 1 callersClassBertPreTrainingHeads
models/modeling_bert.py:723
↓ 1 callersClassBertPreTrainingHeads
models/modeling_bert_new_timestep.py:754
↓ 1 callersClassBertPredictionHeadTransform
models/modeling_bert.py:666
↓ 1 callersClassBertPredictionHeadTransform
models/modeling_bert_new_timestep.py:697
↓ 1 callersClassBertSelfAttention
models/modeling_bert.py:249
↓ 1 callersClassBertSelfAttention
models/modeling_bert_new_timestep.py:264
↓ 1 callersClassBertSelfOutput
models/modeling_bert.py:376
↓ 1 callersClassBertSelfOutput
models/modeling_bert_new_timestep.py:391
↓ 1 callersClassRobertaClassificationHead
Head for sentence-level classification tasks.
models/modeling_roberta.py:1442
↓ 1 callersClassRobertaEmbeddings
Same as BertEmbeddings with a tiny tweak for positional embeddings indexing.
models/modeling_roberta.py:67
↓ 1 callersClassRobertaEncoder
models/modeling_roberta.py:471
↓ 1 callersClassRobertaIntermediate
models/modeling_roberta.py:353
↓ 1 callersClassRobertaLayer
models/modeling_roberta.py:384
↓ 1 callersClassRobertaOutput
models/modeling_roberta.py:369
↓ 1 callersClassRobertaPooler
models/modeling_roberta.py:569
↓ 1 callersClassRobertaSelfAttention
models/modeling_roberta.py:160
↓ 1 callersClassRobertaSelfOutput
models/modeling_roberta.py:288
ClassBertForMaskedLM
models/modeling_bert.py:1296
ClassBertForMaskedLM
models/modeling_bert_new_timestep.py:1328
ClassBertForMultipleChoice
models/modeling_bert.py:1620
ClassBertForMultipleChoice
models/modeling_bert_new_timestep.py:1652
ClassBertForNextSentencePrediction
models/modeling_bert.py:1411
ClassBertForNextSentencePrediction
models/modeling_bert_new_timestep.py:1443
ClassBertForPreTraining
models/modeling_bert.py:1057
ClassBertForPreTraining
models/modeling_bert_new_timestep.py:1089
ClassBertForQuestionAnswering
models/modeling_bert.py:1802
ClassBertForQuestionAnswering
models/modeling_bert_new_timestep.py:1834
ClassBertForSequenceClassification
models/modeling_bert.py:1516
ClassBertForSequenceClassification
models/modeling_bert_new_timestep.py:1548
ClassBertForTokenClassification
models/modeling_bert.py:1715
ClassBertForTokenClassification
models/modeling_bert_new_timestep.py:1747
ClassBertLMHeadModel
models/modeling_bert.py:1161
ClassBertLMHeadModel
models/modeling_bert_new_timestep.py:1193
ClassBertPreTrainedModel
An abstract class to handle weights initialization and a simple interface for downloading and loading pretrained models.
models/modeling_bert.py:735
ClassBertPreTrainedModel
An abstract class to handle weights initialization and a simple interface for downloading and loading pretrained models.
models/modeling_bert_new_timestep.py:766
ClassCCLoader
dataloader.py:138
ClassConditionalLoader
dataloader.py:32
ClassDiffusionLoaderWithElectra
dataloader.py:150
ClassDiscreteDiffusionBase
diffusion_word_freq.py:33
ClassDiscreteDiffusionBase
diffusion_condition.py:33
ClassDiscreteDiffusionMatrixBase
Base class for all matrix-noise schedulers.
diffusion_word_freq.py:122
ClassDiscreteDiffusionMatrixBase
Base class for all matrix-noise schedulers.
diffusion_condition.py:122
ClassMaskDiffusion
diffusion_word_freq.py:306
ClassMaskDiffusion
diffusion_condition.py:306
ClassQQP
conditional_data/qqp/qqp.py:5
ClassQQPLoader
dataloader.py:102
ClassQT
conditional_data/Q-T/Q-T.py:5
ClassQTLoader
dataloader.py:115
ClassRobertaForCausalLM
models/modeling_roberta.py:883
ClassRobertaForMaskedLM
models/modeling_roberta.py:1035
ClassRobertaForMultipleChoice
models/modeling_roberta.py:1268
ClassRobertaForQuestionAnswering
models/modeling_roberta.py:1471
ClassRobertaForSequenceClassification
models/modeling_roberta.py:1168
ClassRobertaForTokenClassification
models/modeling_roberta.py:1361
ClassRobertaPreTrainedModel
An abstract class to handle weights initialization and a simple interface for downloading and loading pretrained models.
models/modeling_roberta.py:584
ClassSampleClassBase
sample.py:5
ClassWikiLoader
dataloader.py:127