MCPcopy Create free account

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

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

Method__init__
(self, config: DeltalmConfig)
fengshen/models/deltalm/modeling_deltalm.py:255
Method__init__
(self, config: DeltalmConfig)
fengshen/models/deltalm/modeling_deltalm.py:323
Method__init__
(self, config: DeltalmConfig, embed_tokens: Optional[nn.Embedding] = None)
fengshen/models/deltalm/modeling_deltalm.py:481
Method__init__
(self, config: DeltalmConfig, embed_tokens: Optional[nn.Embedding] = None)
fengshen/models/deltalm/modeling_deltalm.py:871
Method__init__
(self, config: DeltalmConfig)
fengshen/models/deltalm/modeling_deltalm.py:1171
Method__init__
(self, config)
fengshen/models/deltalm/modeling_deltalm.py:1364
Method__init__
(self, config)
fengshen/models/deltalm/modeling_deltalm.py:1373
Method__init__
( self, vocab_size=250001, max_position_embeddings=1024, encoder_layers=12,
fengshen/models/deltalm/configuration_deltalm.py:22
Method__init__
(self, input_dim)
fengshen/models/deepVAE/deep_vae.py:45
Method__init__
(self, hidden_dim)
fengshen/models/deepVAE/deep_vae.py:57
Method__init__
(self, encoder, decoder, latent_dim, hidden_dim, layer_num, pad_token_id, bos_token_id, eos_token_id, CVAE)
fengshen/models/deepVAE/deep_vae.py:80
Method__init__
(self, config, latent_dim=32)
fengshen/models/deepVAE/latent_connector.py:310
Method__init__
(self, config)
fengshen/models/deepVAE/latent_connector.py:372
Method__init__
( self, vocab_size=50257, n_positions=1024, n_embd=768, n_layer=12,
fengshen/models/deepVAE/configuration_della.py:82
Method__init__
(self, x, y)
fengshen/models/GAVAE/gans_model.py:9
Method__init__
(self, x, y, s)
fengshen/models/GAVAE/gans_model.py:22
Method__init__
(self,input_x2_dim, output_dim)
fengshen/models/GAVAE/gans_model.py:101
Method__init__
(self, config)
fengshen/models/GAVAE/gans_model.py:138
Method__init__
(self, config:PretrainedConfig)
fengshen/models/GAVAE/GAVAEModel.py:37
Method__init__
( self, num_layers=32, vocab_size=50048, hidden_size=1600, num_attenti
fengshen/models/transfo_xl_denoise/configuration_transfo_xl_denoise.py:89
Method__init__
( self, vocab_file, unk_token="<|endoftext|>", bos_token="<|en
fengshen/models/transfo_xl_denoise/tokenization_transfo_xl_denoise.py:49
Method__init__
(self, hidden_size)
fengshen/models/transfo_xl_denoise/modeling_transfo_xl_denoise.py:108
Method__init__
(self, hidden_size, num_attention_heads, attention_dropout_prob, output_dropout_prob,
fengshen/models/transfo_xl_denoise/modeling_transfo_xl_denoise.py:195
Method__init__
(self, hidden_size, num_attention_heads, attention_dropout_
fengshen/models/transfo_xl_denoise/modeling_transfo_xl_denoise.py:416
Method__init__
(self, num_layers, hidden_size, num_attention_heads,
fengshen/models/transfo_xl_denoise/modeling_transfo_xl_denoise.py:512
Method__init__
(self, config: TransfoXLDenoiseConfig)
fengshen/models/transfo_xl_denoise/modeling_transfo_xl_denoise.py:688
Method__iter__
(self)
fengshen/data/universal_datamodule/universal_sampler.py:55
Method__iter__
(self)
fengshen/data/universal_datamodule/universal_sampler.py:99
Method__iter__
(self)
fengshen/models/auto/configuration_auto.py:105
Method__iter__
(self)
fengshen/models/auto/configuration_auto.py:170
Method__iter__
(self)
fengshen/models/auto/auto_factory.py:623
Method__len__
(self)
fengshen/utils/convert_py_to_npy.py:13
Method__len__
(self)
fengshen/data/megatron_dataloader/blendable_dataset.py:58
Method__len__
(self)
fengshen/data/megatron_dataloader/bert_dataset.py:67
Method__len__
(self)
fengshen/data/megatron_dataloader/indexed_dataset.py:196
Method__len__
(self)
fengshen/data/megatron_dataloader/indexed_dataset.py:454
Method__len__
(self)
fengshen/data/megatron_dataloader/indexed_dataset.py:490
Method__len__
(self)
fengshen/data/megatron_dataloader/bart_dataset.py:86
Method__len__
(self)
fengshen/data/universal_datamodule/universal_sampler.py:47
Method__len__
(self)
fengshen/data/universal_datamodule/universal_sampler.py:96
Method__len__
(self)
fengshen/data/task_dataloader/task_datasets.py:79
Method__len__
(self)
fengshen/data/task_dataloader/medicalQADataset.py:27
Method__len__
(self)
fengshen/data/hubert/hubert_dataset.py:218
Method__len__
(self)
fengshen/data/t5_dataloader/t5_gen_datasets.py:112
Method__len__
(self)
fengshen/data/t5_dataloader/t5_datasets.py:107
Method__len__
(self)
fengshen/data/t5_dataloader/t5_datasets.py:448
Method__len__
(self)
fengshen/data/mmap_dataloader/mmap_index_dataset.py:37
Method__len__
(self)
fengshen/data/clip_dataloader/flickr.py:32
Method__len__
(self)
fengshen/data/sequence_tagging_dataloader/sequence_tagging_datasets.py:108
Method__len__
(self)
fengshen/data/dreambooth_datasets/dreambooth_datasets.py:136
Method__len__
(self)
fengshen/data/dreambooth_datasets/dreambooth_datasets.py:176
Method__len__
(self)
fengshen/data/taiyi_stable_diffusion_datasets/taiyi_datasets.py:55
Method__len__
(self)
fengshen/data/taiyi_stable_diffusion_datasets/taiyi_datasets.py:89
Method__len__
(self)
fengshen/examples/clue_sim/finetune_clue_sim.py:46
Method__len__
(self)
fengshen/examples/pretrain_taiyi_clip/flickr_datasets.py:24
Method__len__
(self)
fengshen/examples/zen2_finetune/fengshen_token_level_ft_task.py:354
Method__len__
(self)
fengshen/examples/zen2_finetune/fengshen_sequence_level_ft_task.py:353
Method__len__
(self)
fengshen/examples/classification/finetune_classification.py:62
Method__len__
(self)
fengshen/examples/zen1_finetune/fengshen_token_level_ft_task.py:329
Method__len__
(self)
fengshen/examples/zen1_finetune/fengshen_sequence_level_ft_task.py:333
Method__len__
(self)
fengshen/models/tcbert/modeling_tcbert.py:53
Method__len__
(self)
fengshen/models/PPVAE/utils.py:8
Method__len__
(self)
fengshen/models/unimc/modeling_unimc.py:56
Method__len__
(self)
fengshen/models/uniex/modeling_uniex.py:809
Method__len__
(self)
fengshen/models/ubert/modeling_ubert.py:66
Method__len__
(self)
fengshen/models/GAVAE/gans_model.py:17
Method__len__
(self)
fengshen/models/GAVAE/gans_model.py:31
Method__repr__
(self)
fengshen/models/tagging_models/layers/crf.py:49
Method__setstate__
(self, state)
fengshen/data/megatron_dataloader/indexed_dataset.py:469
Method__setstate__
(self, d)
fengshen/models/deltalm/tokenizer_deltalm.py:251
Function_bias_dropout_add
(x, bias, residual, prob)
fengshen/models/megatron/layers/fused_bias_dropout.py:38
Method_convert_id_to_token
Converts an index (integer) in a token (str) using the vocab.
fengshen/models/deltalm/tokenizer_deltalm.py:277
Method_convert_id_to_token
Converts an index (integer) in a token (str) using the vocab.
fengshen/models/transfo_xl_denoise/tokenization_transfo_xl_denoise.py:75
Function_convert_to_rgb
(image)
fengshen/data/clip_dataloader/flickr.py:44
Method_convert_token_to_id
Converts a token (str) in an id using the vocab.
fengshen/examples/pegasus/tokenizers_pegasus.py:232
Method_convert_token_to_id
Converts a token (str) in an id using the vocab.
fengshen/models/deltalm/tokenizer_deltalm.py:265
Method_convert_token_to_id
Converts a token (str) in an id using the vocab.
fengshen/models/transfo_xl_denoise/tokenization_transfo_xl_denoise.py:71
Method_eventually_correct_t5_max_length
(pretrained_model_name_or_path, max_model_length, init_max_model_length)
fengshen/models/deltalm/tokenizer_deltalm.py:136
Method_forward
(self, model_inputs)
fengshen/pipelines/multiplechoice.py:167
Method_forward
(self, model_inputs)
fengshen/pipelines/tcbert.py:108
Method_forward
(self, model_inputs)
fengshen/pipelines/sequence_tagging.py:266
Method_forward
(self, x, emb)
fengshen/examples/disco_project/guided_diffusion/guided_diffusion/unet.py:238
Method_forward
(self, x)
fengshen/examples/disco_project/guided_diffusion/guided_diffusion/unet.py:301
Method_forward
(self, model_inputs)
fengshen/models/unimc/modeling_unimc.py:576
Function_generate_cache_arrow
(index, ds, path)
fengshen/examples/pretrain_t5/process_data.py:8
Method_init_weights
Initialize the weights.
fengshen/models/albert/modeling_albert.py:501
Method_init_weights
Initialize the weights
fengshen/models/llama/modeling_llama.py:88
Method_init_weights
Initialize the weights
fengshen/models/PPVAE/pluginVAE.py:82
Method_init_weights
Initialize the weights
fengshen/models/longformer/modeling_longformer.py:1564
Method_init_weights
Initialize the weights.
fengshen/models/deberta_v2/modeling_deberta_v2.py:894
Method_init_weights
Initialize the weights
fengshen/models/megatron_t5/modeling_megatron_t5.py:820
Method_init_weights
Initialize the weights
fengshen/models/roformer/modeling_roformer.py:801
Method_init_weights
Initialize the weights
fengshen/models/DAVAE/DAVAEModel.py:31
Method_init_weights
Initialize the weights
fengshen/models/DAVAE/GPT2ModelForLatent.py:588
Method_init_weights
Initialize the weights
fengshen/models/zen2/modeling.py:738
Method_init_weights
(self, module)
fengshen/models/deltalm/modeling_deltalm.py:457
Method_init_weights
Initialize the weights
fengshen/models/deepVAE/deep_vae.py:217
Method_init_weights
Initialize the weights
fengshen/models/GAVAE/GAVAEModel.py:31
Method_init_weights
Initialize the weights
fengshen/models/transfo_xl_denoise/modeling_transfo_xl_denoise.py:676
Method_initialize_deepspeed_inference
(self, model: Module)
fengshen/strategies/megatron_deepspeed.py:371
← previousnext →1,401–1,500 of 2,547, ranked by callers