MCPcopy Create free account

hub / github.com/ag1988/injecting_numeracy / types & classes

Types & classes71 in github.com/ag1988/injecting_numeracy

↓ 7 callersClassBertModel
BERT model ("Bidirectional Embedding Representations from a Transformer"). Params: `config`: a BertConfig class instance with the configu
pre_training/gen_bert/squad_finetuning/modeling.py:769
↓ 4 callersClassBertLayerNorm
pre_training/gen_bert/modeling.py:283
↓ 4 callersClassBertLayerNorm
pre_training/gen_bert/squad_finetuning/modeling.py:277
↓ 4 callersClassDropDataset
pre_training/gen_bert/train_textual_with_numeric.py:116
↓ 3 callersClassBertPredictionHeadTransform
pre_training/gen_bert/modeling.py:559
↓ 2 callersClassBertLMPredictionHead
pre_training/gen_bert/modeling.py:576
↓ 2 callersClassBertLMPredictionHead
pre_training/gen_bert/squad_finetuning/modeling.py:543
↓ 2 callersClassBertModel
BERT model ("Bidirectional Embedding Representations from a Transformer"). Params: `config`: a BertConfig class instance with the configu
pre_training/gen_bert/modeling.py:802
↓ 2 callersClassBertOnlyMLMHead
pre_training/gen_bert/modeling.py:595
↓ 2 callersClassDropDataset
pre_training/gen_bert/finetune_on_drop.py:116
↓ 2 callersClassGenerator
textual_data_generation/generators/generator.py:40
↓ 2 callersClassState
textual_data_generation/generators/state.py:11
↓ 1 callersClassBertAttention
pre_training/gen_bert/modeling.py:421
↓ 1 callersClassBertAttention
pre_training/gen_bert/squad_finetuning/modeling.py:402
↓ 1 callersClassBertConfig
Configuration class to store the configuration of a `BertModel`.
pre_training/gen_bert/modeling.py:181
↓ 1 callersClassBertConfig
Configuration class to store the configuration of a `BertModel`.
pre_training/gen_bert/squad_finetuning/modeling.py:177
↓ 1 callersClassBertEmbeddings
Construct the embeddings from word, position and token_type embeddings.
pre_training/gen_bert/modeling.py:299
↓ 1 callersClassBertEmbeddings
Construct the embeddings from word, position and token_type embeddings.
pre_training/gen_bert/squad_finetuning/modeling.py:292
↓ 1 callersClassBertEncoder
pre_training/gen_bert/modeling.py:518
↓ 1 callersClassBertEncoder
pre_training/gen_bert/squad_finetuning/modeling.py:486
↓ 1 callersClassBertIntermediate
pre_training/gen_bert/modeling.py:469
↓ 1 callersClassBertIntermediate
pre_training/gen_bert/squad_finetuning/modeling.py:437
↓ 1 callersClassBertLayer
pre_training/gen_bert/modeling.py:498
↓ 1 callersClassBertLayer
pre_training/gen_bert/squad_finetuning/modeling.py:466
↓ 1 callersClassBertOnlyMLMHead
pre_training/gen_bert/squad_finetuning/modeling.py:562
↓ 1 callersClassBertOnlyNSPHead
pre_training/gen_bert/squad_finetuning/modeling.py:572
↓ 1 callersClassBertOutput
pre_training/gen_bert/modeling.py:484
↓ 1 callersClassBertOutput
pre_training/gen_bert/squad_finetuning/modeling.py:452
↓ 1 callersClassBertPooler
pre_training/gen_bert/modeling.py:544
↓ 1 callersClassBertPooler
pre_training/gen_bert/squad_finetuning/modeling.py:511
↓ 1 callersClassBertPreTrainingHeads
pre_training/gen_bert/squad_finetuning/modeling.py:582
↓ 1 callersClassBertPredictionHeadTransform
pre_training/gen_bert/squad_finetuning/modeling.py:526
↓ 1 callersClassBertSelfAttention
pre_training/gen_bert/modeling.py:334
↓ 1 callersClassBertSelfAttention
pre_training/gen_bert/squad_finetuning/modeling.py:323
↓ 1 callersClassBertSelfOutput
pre_training/gen_bert/modeling.py:407
↓ 1 callersClassBertSelfOutput
pre_training/gen_bert/squad_finetuning/modeling.py:388
↓ 1 callersClassDropExample
pre_training/gen_bert/create_examples_n_features.py:26
↓ 1 callersClassDropFeatures
pre_training/gen_bert/create_examples_n_features.py:87
↓ 1 callersClassDropReader
pre_training/gen_bert/create_examples_n_features.py:180
↓ 1 callersClassInputFeatures
A single set of features of data.
pre_training/gen_bert/squad_finetuning/run_squad_dataset_utils.py:75
↓ 1 callersClassMLMDataset
pre_training/gen_bert/train_textual_with_numeric.py:48
↓ 1 callersClassMLMDataset
pre_training/gen_bert/finetune_on_drop.py:48
↓ 1 callersClassQuestionAnswerGeneratorInterEntityComparison
textual_data_generation/generators/qa_generator.py:224
↓ 1 callersClassQuestionAnswerGeneratorInterEntitySum
textual_data_generation/generators/qa_generator.py:451
↓ 1 callersClassQuestionAnswerGeneratorInterEntitySuperlative
textual_data_generation/generators/qa_generator.py:301
↓ 1 callersClassQuestionAnswerGeneratorIntraEntitySimpleDiff
textual_data_generation/generators/qa_generator.py:87
↓ 1 callersClassQuestionAnswerGeneratorIntraEntitySubset
textual_data_generation/generators/qa_generator.py:147
↓ 1 callersClassQuestionAnswerGeneratorIntraEntitySuperlative
textual_data_generation/generators/qa_generator.py:387
↓ 1 callersClassQuestionAnswerGeneratorSelect
textual_data_generation/generators/qa_generator.py:40
↓ 1 callersClassSimpleMLMHead
used for simple decoding based on similarity with output embeddings.
pre_training/gen_bert/modeling.py:960
↓ 1 callersClassSpanExtractionHead
Span extraction head for QA. Mostly borrowed from https://github.com/raylin1000/drop-bert/blob/master/drop_bert/augmented_bert.py .
pre_training/gen_bert/modeling.py:1153
↓ 1 callersClassSquadExample
A single training/test example for the Squad dataset. For examples without an answer, the start and end position are -1.
pre_training/gen_bert/squad_finetuning/run_squad_dataset_utils.py:35
↓ 1 callersClassSyntheticExample
textual_data_generation/generators/generator.py:18
ClassBertForMaskedLM
pre_training/gen_bert/modeling.py:937
ClassBertForMaskedLM
BERT model with the masked language modeling head. This module comprises the BERT model followed by the masked language modeling head. Params
pre_training/gen_bert/squad_finetuning/modeling.py:976
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:
pre_training/gen_bert/squad_finetuning/modeling.py:1203
ClassBertForNextSentencePrediction
BERT model with next sentence prediction head. This module comprises the BERT model followed by the next sentence classification head. Params
pre_training/gen_bert/squad_finetuning/modeling.py:1050
ClassBertForPreTraining
BERT model with pre-training heads. This module comprises the BERT model followed by the two pre-training heads: - the masked language mod
pre_training/gen_bert/squad_finetuning/modeling.py:893
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
pre_training/gen_bert/squad_finetuning/modeling.py:1369
ClassBertForSequenceClassification
BERT model for classification. This module is composed of the BERT model with a linear layer on top of the pooled output. Params:
pre_training/gen_bert/squad_finetuning/modeling.py:1125
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
pre_training/gen_bert/squad_finetuning/modeling.py:1284
ClassBertOnlyNSPHead
pre_training/gen_bert/modeling.py:605
ClassBertPreTrainedModel
An abstract class to handle weights initialization and a simple interface for dowloading and loading pretrained models.
pre_training/gen_bert/modeling.py:627
ClassBertPreTrainedModel
An abstract class to handle weights initialization and a simple interface for dowloading and loading pretrained models.
pre_training/gen_bert/squad_finetuning/modeling.py:594
ClassBertPreTrainingHeads
pre_training/gen_bert/modeling.py:615
ClassBertTransformer
Bert encoder + Bert decoder with extra mlm, span extraction, etc heads. TODO: for exractive QA, include BIO tagging head.
pre_training/gen_bert/modeling.py:992
ClassContainerType
textual_data_generation/generators/element_type.py:25
ClassElementType
textual_data_generation/generators/element_type.py:7
ClassExtendedEnum
textual_data_generation/utils/collections.py:6
ClassQuestionAnswerGeneratorBase
textual_data_generation/generators/qa_generator.py:15
ClassVerbType
textual_data_generation/generators/element_type.py:15