MCPcopy Create free account

hub / github.com/IDEA-CCNL/Fengshenbang-LM / functions

Functions2,547 in github.com/IDEA-CCNL/Fengshenbang-LM

Methodget_decoder
(self)
fengshen/models/megatron_t5/modeling_megatron_t5.py:1535
Methodget_decoder
(self)
fengshen/models/megatron_t5/modeling_megatron_t5.py:1742
Methodget_decoder
(self)
fengshen/models/deltalm/modeling_deltalm.py:1183
Methodget_decoder
(self)
fengshen/models/deltalm/modeling_deltalm.py:1400
Methodget_decoder_beta_list
(self, n_steps, start=0., stop=1.0, n_cycle=4)
fengshen/examples/deepVAE/vae_pl_module.py:157
Methodget_dev_examples
Gets a collection of `InputExample`s for the dev set.
fengshen/metric/utils_ner.py:32
Functionget_dir
Get directory that log files are being written to. will be None if there is no output directory (i.e., if you didn't call start)
fengshen/examples/disco_project/guided_diffusion/guided_diffusion/logger.py:280
Methodget_encoder
(self)
fengshen/models/bart/modeling_bart.py:335
Methodget_encoder
(self)
fengshen/models/megatron_t5/modeling_megatron_t5.py:1532
Methodget_encoder
(self)
fengshen/models/megatron_t5/modeling_megatron_t5.py:1739
Methodget_encoder
(self)
fengshen/models/megatron_t5/modeling_megatron_t5.py:2038
Methodget_encoder
(self)
fengshen/models/deltalm/modeling_deltalm.py:1180
Methodget_encoder_logits
(self, input_ids, attention_mask=None)
fengshen/models/bart/modeling_bart.py:341
Methodget_examples
(self, data_path, mode)
fengshen/examples/zen2_finetune/fengshen_sequence_level_ft_task.py:121
Methodget_examples
(self, data_path, mode)
fengshen/examples/zen2_finetune/fengshen_sequence_level_ft_task.py:145
Methodget_examples
(self, data_path, mode)
fengshen/examples/zen2_finetune/fengshen_sequence_level_ft_task.py:173
Methodget_examples
(self, data_path, mode)
fengshen/examples/zen1_finetune/fengshen_sequence_level_ft_task.py:118
Methodget_examples
(self, data_path, mode)
fengshen/examples/zen1_finetune/fengshen_sequence_level_ft_task.py:142
Methodget_examples
(self, data_path, mode)
fengshen/examples/zen1_finetune/fengshen_sequence_level_ft_task.py:170
Methodget_input_embeddings
(self)
fengshen/models/albert/modeling_albert.py:644
Methodget_input_embeddings
(self)
fengshen/models/albert/modeling_albert.py:770
Methodget_input_embeddings
(self)
fengshen/models/albert/modeling_albert.py:916
Methodget_input_embeddings
(self)
fengshen/models/llama/modeling_llama.py:129
Methodget_input_embeddings
(self)
fengshen/models/longformer/modeling_longformer.py:1709
Methodget_input_embeddings
(self)
fengshen/models/deberta_v2/modeling_deberta_v2.py:1246
Methodget_input_embeddings
(self)
fengshen/models/deberta_v2/modeling_deberta_v2.py:1542
Methodget_input_embeddings
(self)
fengshen/models/megatron_t5/modeling_megatron_t5.py:1031
Methodget_input_embeddings
(self)
fengshen/models/megatron_t5/modeling_megatron_t5.py:1524
Methodget_input_embeddings
(self)
fengshen/models/megatron_t5/modeling_megatron_t5.py:1725
Methodget_input_embeddings
(self)
fengshen/models/megatron_t5/modeling_megatron_t5.py:2031
Methodget_input_embeddings
(self)
fengshen/models/roformer/modeling_roformer.py:947
Methodget_input_embeddings
(self)
fengshen/models/deltalm/modeling_deltalm.py:507
Methodget_input_embeddings
(self)
fengshen/models/deltalm/modeling_deltalm.py:902
Methodget_input_embeddings
(self)
fengshen/models/deltalm/modeling_deltalm.py:1052
Methodget_input_embeddings
(self)
fengshen/models/deltalm/modeling_deltalm.py:1385
Functionget_io_parallel_group
Get the IO parallel group the caller rank belongs to.
fengshen/models/megatron/mpu/initialize.py:189
Methodget_labels
(args)
fengshen/data/sequence_tagging_dataloader/sequence_tagging_datasets.py:44
Methodget_labels
(self)
fengshen/examples/zen2_finetune/fengshen_token_level_ft_task.py:286
Methodget_labels
(self)
fengshen/examples/zen2_finetune/fengshen_token_level_ft_task.py:294
Methodget_labels
(self)
fengshen/examples/zen2_finetune/fengshen_token_level_ft_task.py:303
Methodget_labels
(self)
fengshen/examples/zen2_finetune/fengshen_token_level_ft_task.py:315
Methodget_labels
(self)
fengshen/examples/zen2_finetune/fengshen_token_level_ft_task.py:329
Methodget_labels
(self)
fengshen/examples/zen2_finetune/fengshen_token_level_ft_task.py:342
Methodget_labels
(self)
fengshen/examples/zen1_finetune/fengshen_token_level_ft_task.py:261
Methodget_labels
(self)
fengshen/examples/zen1_finetune/fengshen_token_level_ft_task.py:269
Methodget_labels
(self)
fengshen/examples/zen1_finetune/fengshen_token_level_ft_task.py:278
Methodget_labels
(self)
fengshen/examples/zen1_finetune/fengshen_token_level_ft_task.py:290
Methodget_labels
(self)
fengshen/examples/zen1_finetune/fengshen_token_level_ft_task.py:304
Methodget_labels
(self)
fengshen/examples/zen1_finetune/fengshen_token_level_ft_task.py:317
Methodget_layer
()
fengshen/models/DAVAE/GPT2ModelForLatent.py:482
Methodget_layer
()
fengshen/models/transfo_xl_denoise/modeling_transfo_xl_denoise.py:563
Methodget_lr
(self)
fengshen/models/model_utils.py:182
Functionget_ltor_masks_and_position_ids
Build masks and position id for left to right model.
fengshen/models/megatron/layers/utils.py:38
Methodget_model_output
(x, t)
fengshen/examples/disco_project/guided_diffusion/guided_diffusion/gaussian_diffusion.py:941
Methodget_multihead_outputs
Gather all multi-head outputs. Return: list (layers) of multihead module outputs with gradients
fengshen/models/zen1/modeling.py:622
Methodget_multihead_outputs
Gather all multi-head outputs. Return: list (layers) of multihead module outputs with gradients
fengshen/models/zen2/modeling.py:815
Functionget_named_beta_schedule
Get a pre-defined beta schedule for the given name. The beta schedule library consists of beta schedules which remain similar in the lim
fengshen/examples/disco_project/guided_diffusion/guided_diffusion/gaussian_diffusion.py:18
Methodget_output_embeddings
(self)
fengshen/models/albert/modeling_albert.py:764
Methodget_output_embeddings
(self)
fengshen/models/albert/modeling_albert.py:910
Methodget_output_embeddings
(self)
fengshen/models/llama/modeling_llama.py:266
Methodget_output_embeddings
(self)
fengshen/models/bart/modeling_bart.py:338
Methodget_output_embeddings
(self)
fengshen/models/longformer/modeling_longformer.py:1923
Methodget_output_embeddings
(self)
fengshen/models/deberta_v2/modeling_deberta_v2.py:1104
Methodget_output_embeddings
(self)
fengshen/models/megatron_t5/modeling_megatron_t5.py:1736
Methodget_output_embeddings
(self)
fengshen/models/roformer/modeling_roformer.py:1123
Methodget_output_embeddings
(self)
fengshen/models/roformer/modeling_roformer.py:1237
Methodget_output_embeddings
(self)
fengshen/models/roformer/modeling_roformer.py:1388
Methodget_output_embeddings
(self)
fengshen/models/deltalm/modeling_deltalm.py:1201
Methodget_output_embeddings
(self)
fengshen/models/deltalm/modeling_deltalm.py:1391
Functionget_pipe_parallel_rank
Return my rank for the pipe parallel group.
fengshen/models/megatron/mpu/initialize.py:267
Functionget_pipe_parallel_world_size
Return world size for the pipe parallel group.
fengshen/models/megatron/mpu/initialize.py:272
Methodget_quotechar
(self)
fengshen/examples/zen2_finetune/fengshen_token_level_ft_task.py:326
Methodget_quotechar
(self)
fengshen/examples/zen2_finetune/fengshen_token_level_ft_task.py:339
Methodget_quotechar
(self)
fengshen/examples/zen1_finetune/fengshen_token_level_ft_task.py:301
Methodget_quotechar
(self)
fengshen/examples/zen1_finetune/fengshen_token_level_ft_task.py:314
Functionget_raw_data
(raw_data)
fengshen/models/DAVAE/run_latent_generation.py:25
Methodget_slopes_power_of_2
(n)
fengshen/models/megatron/layers/positional_embeddings.py:114
Methodget_special_tokens_mask
Retrieve sequence ids from a token list that has no special tokens added. This method is called when adding special tokens using the
fengshen/examples/pegasus/tokenizers_pegasus.py:343
Methodget_special_tokens_mask
Retrieve sequence ids from a token list that has no special tokens added. This method is called when adding special tokens using the
fengshen/models/deltalm/tokenizer_deltalm.py:166
Functionget_time_str
()
fengshen/examples/pretrain_t5/convert_ckpt_to_bin.py:9
Methodget_token_type
(self, sep_idx, max_length)
fengshen/models/unimc/modeling_unimc.py:62
Methodget_token_type
(self, sep_idx, max_length)
fengshen/models/uniex/modeling_uniex.py:275
Methodget_train_examples
Gets a collection of `InputExample`s for the train set.
fengshen/metric/utils_ner.py:28
Methodget_train_examples
See base class.
fengshen/examples/zen2_finetune/fengshen_sequence_level_ft_task.py:116
Methodget_train_examples
See base class.
fengshen/examples/zen1_finetune/fengshen_sequence_level_ft_task.py:113
Functionget_values
(model_mapping)
fengshen/models/auto/auto_factory.py:529
Methodget_vocab
(self)
fengshen/examples/pegasus/tokenizers_pegasus.py:208
Methodget_vocab
(self)
fengshen/models/deltalm/tokenizer_deltalm.py:161
Functiongetkvs
()
fengshen/examples/disco_project/guided_diffusion/guided_diffusion/logger.py:242
Functiongpt2_attention_mask_func
(attention_scores, ltor_mask)
fengshen/models/llama/modeling_llama.py:72
Methodgroup_texts
(self, examples)
fengshen/data/t5_dataloader/t5_datasets.py:164
Methodhidden_size
(self)
fengshen/models/megatron_t5/configuration_megatron_t5.py:131
Methodhidden_size
(self)
fengshen/models/deltalm/configuration_deltalm.py:103
Methodinference
(self, inputs, top_p, max_length, top_k=0., temperature=1., repetition_penalty=1., sample=False, beta_logvar=1
fengshen/models/deepVAE/deep_vae.py:186
Methodinference_mode
Sets up the model for inference by turning on k/v caching (if specified) and setting `parallel output` of the final layer to false, s
fengshen/models/megatron/layers/utils.py:101
Functioninfo
(*args)
fengshen/examples/disco_project/guided_diffusion/guided_diffusion/logger.py:257
Functioninit_
(tensor)
fengshen/models/megatron/layers/init_functions.py:23
Functioninit_
(tensor)
fengshen/models/DAVAE/GPT2ModelForLatent.py:63
Functioninit_
(tensor)
fengshen/models/transfo_xl_denoise/modeling_transfo_xl_denoise.py:143
Methodinit_context
(self, reuse_mask=True, scale=1)
fengshen/models/deberta_v2/modeling_deberta_v2.py:222
← previousnext →2,001–2,100 of 2,547, ranked by callers