Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IDEA-CCNL/Fengshenbang-LM
/ functions
Functions
2,547 in github.com/IDEA-CCNL/Fengshenbang-LM
⨍
Functions
2,547
◇
Types & classes
564
↳
Endpoints
10
Method
get_decoder
(self)
fengshen/models/megatron_t5/modeling_megatron_t5.py:1535
Method
get_decoder
(self)
fengshen/models/megatron_t5/modeling_megatron_t5.py:1742
Method
get_decoder
(self)
fengshen/models/deltalm/modeling_deltalm.py:1183
Method
get_decoder
(self)
fengshen/models/deltalm/modeling_deltalm.py:1400
Method
get_decoder_beta_list
(self, n_steps, start=0., stop=1.0, n_cycle=4)
fengshen/examples/deepVAE/vae_pl_module.py:157
Method
get_dev_examples
Gets a collection of `InputExample`s for the dev set.
fengshen/metric/utils_ner.py:32
Function
get_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
Method
get_encoder
(self)
fengshen/models/bart/modeling_bart.py:335
Method
get_encoder
(self)
fengshen/models/megatron_t5/modeling_megatron_t5.py:1532
Method
get_encoder
(self)
fengshen/models/megatron_t5/modeling_megatron_t5.py:1739
Method
get_encoder
(self)
fengshen/models/megatron_t5/modeling_megatron_t5.py:2038
Method
get_encoder
(self)
fengshen/models/deltalm/modeling_deltalm.py:1180
Method
get_encoder_logits
(self, input_ids, attention_mask=None)
fengshen/models/bart/modeling_bart.py:341
Method
get_examples
(self, data_path, mode)
fengshen/examples/zen2_finetune/fengshen_sequence_level_ft_task.py:121
Method
get_examples
(self, data_path, mode)
fengshen/examples/zen2_finetune/fengshen_sequence_level_ft_task.py:145
Method
get_examples
(self, data_path, mode)
fengshen/examples/zen2_finetune/fengshen_sequence_level_ft_task.py:173
Method
get_examples
(self, data_path, mode)
fengshen/examples/zen1_finetune/fengshen_sequence_level_ft_task.py:118
Method
get_examples
(self, data_path, mode)
fengshen/examples/zen1_finetune/fengshen_sequence_level_ft_task.py:142
Method
get_examples
(self, data_path, mode)
fengshen/examples/zen1_finetune/fengshen_sequence_level_ft_task.py:170
Method
get_input_embeddings
(self)
fengshen/models/albert/modeling_albert.py:644
Method
get_input_embeddings
(self)
fengshen/models/albert/modeling_albert.py:770
Method
get_input_embeddings
(self)
fengshen/models/albert/modeling_albert.py:916
Method
get_input_embeddings
(self)
fengshen/models/llama/modeling_llama.py:129
Method
get_input_embeddings
(self)
fengshen/models/longformer/modeling_longformer.py:1709
Method
get_input_embeddings
(self)
fengshen/models/deberta_v2/modeling_deberta_v2.py:1246
Method
get_input_embeddings
(self)
fengshen/models/deberta_v2/modeling_deberta_v2.py:1542
Method
get_input_embeddings
(self)
fengshen/models/megatron_t5/modeling_megatron_t5.py:1031
Method
get_input_embeddings
(self)
fengshen/models/megatron_t5/modeling_megatron_t5.py:1524
Method
get_input_embeddings
(self)
fengshen/models/megatron_t5/modeling_megatron_t5.py:1725
Method
get_input_embeddings
(self)
fengshen/models/megatron_t5/modeling_megatron_t5.py:2031
Method
get_input_embeddings
(self)
fengshen/models/roformer/modeling_roformer.py:947
Method
get_input_embeddings
(self)
fengshen/models/deltalm/modeling_deltalm.py:507
Method
get_input_embeddings
(self)
fengshen/models/deltalm/modeling_deltalm.py:902
Method
get_input_embeddings
(self)
fengshen/models/deltalm/modeling_deltalm.py:1052
Method
get_input_embeddings
(self)
fengshen/models/deltalm/modeling_deltalm.py:1385
Function
get_io_parallel_group
Get the IO parallel group the caller rank belongs to.
fengshen/models/megatron/mpu/initialize.py:189
Method
get_labels
(args)
fengshen/data/sequence_tagging_dataloader/sequence_tagging_datasets.py:44
Method
get_labels
(self)
fengshen/examples/zen2_finetune/fengshen_token_level_ft_task.py:286
Method
get_labels
(self)
fengshen/examples/zen2_finetune/fengshen_token_level_ft_task.py:294
Method
get_labels
(self)
fengshen/examples/zen2_finetune/fengshen_token_level_ft_task.py:303
Method
get_labels
(self)
fengshen/examples/zen2_finetune/fengshen_token_level_ft_task.py:315
Method
get_labels
(self)
fengshen/examples/zen2_finetune/fengshen_token_level_ft_task.py:329
Method
get_labels
(self)
fengshen/examples/zen2_finetune/fengshen_token_level_ft_task.py:342
Method
get_labels
(self)
fengshen/examples/zen1_finetune/fengshen_token_level_ft_task.py:261
Method
get_labels
(self)
fengshen/examples/zen1_finetune/fengshen_token_level_ft_task.py:269
Method
get_labels
(self)
fengshen/examples/zen1_finetune/fengshen_token_level_ft_task.py:278
Method
get_labels
(self)
fengshen/examples/zen1_finetune/fengshen_token_level_ft_task.py:290
Method
get_labels
(self)
fengshen/examples/zen1_finetune/fengshen_token_level_ft_task.py:304
Method
get_labels
(self)
fengshen/examples/zen1_finetune/fengshen_token_level_ft_task.py:317
Method
get_layer
()
fengshen/models/DAVAE/GPT2ModelForLatent.py:482
Method
get_layer
()
fengshen/models/transfo_xl_denoise/modeling_transfo_xl_denoise.py:563
Method
get_lr
(self)
fengshen/models/model_utils.py:182
Function
get_ltor_masks_and_position_ids
Build masks and position id for left to right model.
fengshen/models/megatron/layers/utils.py:38
Method
get_model_output
(x, t)
fengshen/examples/disco_project/guided_diffusion/guided_diffusion/gaussian_diffusion.py:941
Method
get_multihead_outputs
Gather all multi-head outputs. Return: list (layers) of multihead module outputs with gradients
fengshen/models/zen1/modeling.py:622
Method
get_multihead_outputs
Gather all multi-head outputs. Return: list (layers) of multihead module outputs with gradients
fengshen/models/zen2/modeling.py:815
Function
get_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
Method
get_output_embeddings
(self)
fengshen/models/albert/modeling_albert.py:764
Method
get_output_embeddings
(self)
fengshen/models/albert/modeling_albert.py:910
Method
get_output_embeddings
(self)
fengshen/models/llama/modeling_llama.py:266
Method
get_output_embeddings
(self)
fengshen/models/bart/modeling_bart.py:338
Method
get_output_embeddings
(self)
fengshen/models/longformer/modeling_longformer.py:1923
Method
get_output_embeddings
(self)
fengshen/models/deberta_v2/modeling_deberta_v2.py:1104
Method
get_output_embeddings
(self)
fengshen/models/megatron_t5/modeling_megatron_t5.py:1736
Method
get_output_embeddings
(self)
fengshen/models/roformer/modeling_roformer.py:1123
Method
get_output_embeddings
(self)
fengshen/models/roformer/modeling_roformer.py:1237
Method
get_output_embeddings
(self)
fengshen/models/roformer/modeling_roformer.py:1388
Method
get_output_embeddings
(self)
fengshen/models/deltalm/modeling_deltalm.py:1201
Method
get_output_embeddings
(self)
fengshen/models/deltalm/modeling_deltalm.py:1391
Function
get_pipe_parallel_rank
Return my rank for the pipe parallel group.
fengshen/models/megatron/mpu/initialize.py:267
Function
get_pipe_parallel_world_size
Return world size for the pipe parallel group.
fengshen/models/megatron/mpu/initialize.py:272
Method
get_quotechar
(self)
fengshen/examples/zen2_finetune/fengshen_token_level_ft_task.py:326
Method
get_quotechar
(self)
fengshen/examples/zen2_finetune/fengshen_token_level_ft_task.py:339
Method
get_quotechar
(self)
fengshen/examples/zen1_finetune/fengshen_token_level_ft_task.py:301
Method
get_quotechar
(self)
fengshen/examples/zen1_finetune/fengshen_token_level_ft_task.py:314
Function
get_raw_data
(raw_data)
fengshen/models/DAVAE/run_latent_generation.py:25
Method
get_slopes_power_of_2
(n)
fengshen/models/megatron/layers/positional_embeddings.py:114
Method
get_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
Method
get_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
Function
get_time_str
()
fengshen/examples/pretrain_t5/convert_ckpt_to_bin.py:9
Method
get_token_type
(self, sep_idx, max_length)
fengshen/models/unimc/modeling_unimc.py:62
Method
get_token_type
(self, sep_idx, max_length)
fengshen/models/uniex/modeling_uniex.py:275
Method
get_train_examples
Gets a collection of `InputExample`s for the train set.
fengshen/metric/utils_ner.py:28
Method
get_train_examples
See base class.
fengshen/examples/zen2_finetune/fengshen_sequence_level_ft_task.py:116
Method
get_train_examples
See base class.
fengshen/examples/zen1_finetune/fengshen_sequence_level_ft_task.py:113
Function
get_values
(model_mapping)
fengshen/models/auto/auto_factory.py:529
Method
get_vocab
(self)
fengshen/examples/pegasus/tokenizers_pegasus.py:208
Method
get_vocab
(self)
fengshen/models/deltalm/tokenizer_deltalm.py:161
Function
getkvs
()
fengshen/examples/disco_project/guided_diffusion/guided_diffusion/logger.py:242
Function
gpt2_attention_mask_func
(attention_scores, ltor_mask)
fengshen/models/llama/modeling_llama.py:72
Method
group_texts
(self, examples)
fengshen/data/t5_dataloader/t5_datasets.py:164
Method
hidden_size
(self)
fengshen/models/megatron_t5/configuration_megatron_t5.py:131
Method
hidden_size
(self)
fengshen/models/deltalm/configuration_deltalm.py:103
Method
inference
(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
Method
inference_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
Function
info
(*args)
fengshen/examples/disco_project/guided_diffusion/guided_diffusion/logger.py:257
Function
init_
(tensor)
fengshen/models/megatron/layers/init_functions.py:23
Function
init_
(tensor)
fengshen/models/DAVAE/GPT2ModelForLatent.py:63
Function
init_
(tensor)
fengshen/models/transfo_xl_denoise/modeling_transfo_xl_denoise.py:143
Method
init_context
(self, reuse_mask=True, scale=1)
fengshen/models/deberta_v2/modeling_deberta_v2.py:222
← previous
next →
2,001–2,100 of 2,547, ranked by callers