MCPcopy Create free account

hub / github.com/ag1988/injecting_numeracy / functions

Functions329 in github.com/ag1988/injecting_numeracy

Methodforward
(self, hidden_states)
pre_training/gen_bert/squad_finetuning/modeling.py:517
Methodforward
(self, hidden_states)
pre_training/gen_bert/squad_finetuning/modeling.py:536
Methodforward
(self, hidden_states)
pre_training/gen_bert/squad_finetuning/modeling.py:556
Methodforward
(self, sequence_output)
pre_training/gen_bert/squad_finetuning/modeling.py:567
Methodforward
(self, pooled_output)
pre_training/gen_bert/squad_finetuning/modeling.py:577
Methodforward
(self, sequence_output, pooled_output)
pre_training/gen_bert/squad_finetuning/modeling.py:588
Methodforward
(self, input_ids, token_type_ids=None, attention_mask=None, output_all_encoded_layers=True, head_mask=None)
pre_training/gen_bert/squad_finetuning/modeling.py:841
Methodforward
(self, input_ids, token_type_ids=None, attention_mask=None, masked_lm_labels=None, next_sentence_label=None, h
pre_training/gen_bert/squad_finetuning/modeling.py:956
Methodforward
(self, input_ids, token_type_ids=None, attention_mask=None, masked_lm_labels=None, head_mask=None)
pre_training/gen_bert/squad_finetuning/modeling.py:1031
Methodforward
(self, input_ids, token_type_ids=None, attention_mask=None, next_sentence_label=None, head_mask=None)
pre_training/gen_bert/squad_finetuning/modeling.py:1106
Methodforward
(self, input_ids, token_type_ids=None, attention_mask=None, labels=None, head_mask=None)
pre_training/gen_bert/squad_finetuning/modeling.py:1185
Methodforward
(self, input_ids, token_type_ids=None, attention_mask=None, labels=None, head_mask=None)
pre_training/gen_bert/squad_finetuning/modeling.py:1262
Methodforward
(self, input_ids, token_type_ids=None, attention_mask=None, labels=None, head_mask=None)
pre_training/gen_bert/squad_finetuning/modeling.py:1344
Methodforward
(self, input_ids, token_type_ids=None, attention_mask=None, start_positions=None, end_position
pre_training/gen_bert/squad_finetuning/modeling.py:1429
Functiongelu
Implementation of the gelu activation function. For information: OpenAI GPT's gelu is slightly different (and gives slightly different results
pre_training/gen_bert/modeling.py:165
Functiongelu
Implementation of the gelu activation function. For information: OpenAI GPT's gelu is slightly different (and gives slightly different results
pre_training/gen_bert/squad_finetuning/modeling.py:161
Methodget_multihead_outputs
Gather all multi-head outputs. Return: list (layers) of multihead module outputs with gradients
pre_training/gen_bert/modeling.py:868
Methodget_multihead_outputs
Gather all multi-head outputs. Return: list (layers) of multihead module outputs with gradients
pre_training/gen_bert/squad_finetuning/modeling.py:835
Methodget_orphan_container_identifiers
(self)
textual_data_generation/generators/state.py:51
Methodinit_bert_weights
Initialize the weights.
pre_training/gen_bert/modeling.py:642
Methodinit_bert_weights
Initialize the weights.
pre_training/gen_bert/squad_finetuning/modeling.py:609
Methodnames
(cls)
textual_data_generation/utils/collections.py:8
Methodprune_heads
(self, heads)
pre_training/gen_bert/modeling.py:429
Methodprune_heads
Prunes heads of the model. heads_to_prune: dict of {layer_num: list of heads to prune in this layer}
pre_training/gen_bert/modeling.py:861
Methodprune_heads
(self, heads)
pre_training/gen_bert/squad_finetuning/modeling.py:410
Methodprune_heads
Prunes heads of the model. heads_to_prune: dict of {layer_num: list of heads to prune in this layer}
pre_training/gen_bert/squad_finetuning/modeling.py:828
Functionrand_float
(x)
pre_training/numeric_data_generation/gen_numeric_data.py:46
Functionswish
(x)
pre_training/gen_bert/modeling.py:174
Functionswish
(x)
pre_training/gen_bert/squad_finetuning/modeling.py:170
← previous301–329 of 329, ranked by callers