MCPcopy Create free account

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

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

Methodtrain_dataloader
(self)
fengshen/data/bert_dataloader/load.py:185
Methodtrain_dataloader
(self)
fengshen/data/t5_dataloader/t5_datasets.py:236
Methodtrain_dataloader
(self)
fengshen/data/t5_dataloader/t5_datasets.py:530
Methodtrain_dataloader
(self)
fengshen/data/mmap_dataloader/mmap_datamodule.py:43
Methodtrain_dataloader
(self)
fengshen/data/clip_dataloader/flickr.py:98
Methodtrain_dataloader
(self)
fengshen/examples/zen2_finetune/fengshen_token_level_ft_task.py:482
Methodtrain_dataloader
(self)
fengshen/examples/zen2_finetune/fengshen_sequence_level_ft_task.py:486
Methodtrain_dataloader
(self)
fengshen/examples/zen1_finetune/fengshen_token_level_ft_task.py:452
Methodtrain_dataloader
(self)
fengshen/examples/zen1_finetune/fengshen_sequence_level_ft_task.py:447
Methodtrain_dataloader
(self)
fengshen/models/tcbert/modeling_tcbert.py:151
Methodtrain_dataloader
(self)
fengshen/models/unimc/modeling_unimc.py:253
Methodtrain_dataloader
(self)
fengshen/models/uniex/modeling_uniex.py:834
Methodtrain_dataloader
(self)
fengshen/models/ubert/modeling_ubert.py:212
Methodtrain_mode
Sets up the model for training by turning off k/v caching.
fengshen/models/megatron/layers/utils.py:110
Methodtraining_epoch_end
(self, outputs)
fengshen/examples/deepVAE/vae_pl_module.py:222
Methodtraining_epoch_end
(self,batch)
fengshen/models/uniex/modeling_uniex.py:1072
Methodtraining_losses
Compute training losses for a single timestep. :param model: the model to evaluate loss on. :param x_start: the [N x C x ...
fengshen/examples/disco_project/guided_diffusion/guided_diffusion/gaussian_diffusion.py:1152
Methodtraining_losses
( self, model, *args, **kwargs )
fengshen/examples/disco_project/guided_diffusion/guided_diffusion/respace.py:93
Methodtraining_step
(self, batch, batch_idx)
fengshen/pipelines/sequence_tagging.py:69
Methodtraining_step
(self, batch, batch_idx)
fengshen/pipelines/text_classification.py:65
Methodtraining_step
(self, batch, batch_idx)
fengshen/examples/clue_sim/finetune_clue_sim.py:278
Methodtraining_step
(self, batch, batch_idx)
fengshen/examples/pretrain_bert/pretrain_bert.py:175
Methodtraining_step
(self, batch)
fengshen/examples/pretrain_taiyi_clip/pretrain.py:166
Methodtraining_step
(self, batch, batch_idx)
fengshen/examples/hubert/pretrain_hubert.py:216
Methodtraining_step
(self, batch, batch_idx)
fengshen/examples/qa_t5/finetune_t5_cmrc.py:130
Methodtraining_step
(self, batch, batch_idx)
fengshen/examples/finetune_bart_qg/finetune_bart.py:281
Methodtraining_step
(self, batch, batch_idx)
fengshen/examples/sequence_tagging/finetune_sequence_tagging.py:108
Methodtraining_step
(self, batch, batch_idx)
fengshen/examples/pegasus/pretrain_pegasus.py:112
Methodtraining_step
(self, batch, batch_idx)
fengshen/examples/finetune_taiyi_stable_diffusion/finetune.py:112
Methodtraining_step
(self, batch, batch_idx)
fengshen/examples/finetune_taiyi_stable_diffusion/evaluate_model.py:48
Methodtraining_step
(self, batch, batch_idx)
fengshen/examples/pretrain_t5/pretrain_t5.py:81
Methodtraining_step
(self, batch, batch_idx)
fengshen/examples/pretrain_t5/finetune_t5.py:49
Methodtraining_step
(self, batch, batch_idx)
fengshen/examples/summary/seq2seq_summary.py:52
Methodtraining_step
(self, batch, batch_idx)
fengshen/examples/zen2_finetune/fengshen_token_level_ft_task.py:530
Methodtraining_step
(self, batch, batch_idx)
fengshen/examples/zen2_finetune/fengshen_sequence_level_ft_task.py:546
Methodtraining_step
(self, batch, batch_idx)
fengshen/examples/pretrain_erlangshen_deberta_v2/pretrain_deberta.py:156
Methodtraining_step
(self, batch, batch_idx)
fengshen/examples/translate/finetune_deltalm.py:170
Methodtraining_step
(self, train_batch, idx)
fengshen/examples/clip_finetune/clip_finetune_flickr.py:37
Methodtraining_step
(self, batch, batch_idx)
fengshen/examples/pretrain_randeng_bart/pretrain_bart.py:198
Methodtraining_step
(self, batch, batch_idx)
fengshen/examples/classification/finetune_classification.py:263
Methodtraining_step
(self, batch, batch_idx)
fengshen/examples/wenzhong_qa/finetune_wenzhong.py:65
Methodtraining_step
(self, batch, batch_idx)
fengshen/examples/wenzhong_qa/finetune_medicalQA.py:70
Methodtraining_step
(self, batch, batch_idx)
fengshen/examples/pretrain_erlangshen_bert/pretrain_erlangshen.py:166
Methodtraining_step
(self, batch, batch_idx)
fengshen/examples/zen1_finetune/fengshen_token_level_ft_task.py:500
Methodtraining_step
(self, batch, batch_idx)
fengshen/examples/zen1_finetune/fengshen_sequence_level_ft_task.py:507
Methodtraining_step
(self, batch, batch_idx)
fengshen/examples/ziya_llama/finetune_ziya_llama.py:133
Methodtraining_step
(self, batch, batch_idx)
fengshen/examples/mt5_summary/mt5_summary.py:107
Methodtraining_step
(self, batch, batch_idx)
fengshen/examples/deepVAE/vae_pl_module.py:193
Methodtraining_step
(self, batch, batch_idx)
fengshen/examples/stable_diffusion_dreambooth/train.py:140
Methodtraining_step
(self, batch, batch_idx)
fengshen/models/tcbert/modeling_tcbert.py:272
Methodtraining_step
(self, batch, batch_idx)
fengshen/models/bart/modeling_bart.py:401
Methodtraining_step
(self, batch, batch_idx)
fengshen/models/unimc/modeling_unimc.py:360
Methodtraining_step
(self, batch, batch_idx)
fengshen/models/uniex/modeling_uniex.py:1061
Methodtraining_step
(self, batch, batch_idx)
fengshen/models/ubert/modeling_ubert.py:339
Methodtraining_step_end
(self, batch_parts)
fengshen/examples/deepVAE/vae_pl_module.py:219
Functiontruncate_segments
Truncates a pair of sequences to a maximum sequence length.
fengshen/data/megatron_dataloader/dataset_utils.py:122
Methodunshape
reshape
fengshen/models/megatron_t5/modeling_megatron_t5.py:487
Methodupdate
labels_paths: [[],[],[],....] pred_paths: [[],[],[],.....] :param label_paths: :param pred_paths: :return:
fengshen/metric/metric.py:110
Functionupdate_ema
Update target parameters to be closer to those of source parameters using an exponential moving average. :param target_params: the targe
fengshen/examples/disco_project/guided_diffusion/guided_diffusion/nn.py:55
Methodupdate_with_all_losses
(self, ts, losses)
fengshen/examples/disco_project/guided_diffusion/guided_diffusion/resample.py:143
Methodupdate_with_local_losses
Update the reweighting using losses from a model. Call this method from each rank with a batch of timesteps and the correspo
fengshen/examples/disco_project/guided_diffusion/guided_diffusion/resample.py:71
Methodval_dataloader
(self)
fengshen/data/universal_datamodule/universal_datamodule.py:134
Methodval_dataloader
(self)
fengshen/data/task_dataloader/task_datasets.py:194
Methodval_dataloader
(self)
fengshen/data/task_dataloader/medicalQADataset.py:113
Methodval_dataloader
(self)
fengshen/data/bert_dataloader/load.py:188
Methodval_dataloader
(self)
fengshen/data/t5_dataloader/t5_gen_datasets.py:329
Methodval_dataloader
(self)
fengshen/data/t5_dataloader/t5_datasets.py:256
Methodval_dataloader
(self)
fengshen/data/t5_dataloader/t5_datasets.py:552
Methodval_dataloader
(self)
fengshen/data/mmap_dataloader/mmap_datamodule.py:52
Methodval_dataloader
(self)
fengshen/data/clip_dataloader/flickr.py:101
Methodval_dataloader
(self)
fengshen/examples/zen2_finetune/fengshen_token_level_ft_task.py:486
Methodval_dataloader
(self)
fengshen/examples/zen2_finetune/fengshen_sequence_level_ft_task.py:490
Methodval_dataloader
(self)
fengshen/examples/classification/finetune_classification.py:176
Methodval_dataloader
(self)
fengshen/examples/zen1_finetune/fengshen_token_level_ft_task.py:456
Methodval_dataloader
(self)
fengshen/examples/zen1_finetune/fengshen_sequence_level_ft_task.py:451
Methodval_dataloader
(self)
fengshen/models/tcbert/modeling_tcbert.py:154
Methodval_dataloader
(self)
fengshen/models/unimc/modeling_unimc.py:256
Methodval_dataloader
(self)
fengshen/models/uniex/modeling_uniex.py:837
Methodval_dataloader
(self)
fengshen/models/ubert/modeling_ubert.py:215
Methodvalidation_biaffine
(self, batch, batch_idx)
fengshen/pipelines/sequence_tagging.py:148
Methodvalidation_biaffine
(self, batch, batch_idx)
fengshen/examples/sequence_tagging/finetune_sequence_tagging.py:187
Methodvalidation_crf
(self, batch, batch_idx)
fengshen/pipelines/sequence_tagging.py:104
Methodvalidation_crf
(self, batch, batch_idx)
fengshen/examples/sequence_tagging/finetune_sequence_tagging.py:143
Methodvalidation_epoch_end
(self, outputs)
fengshen/pipelines/sequence_tagging.py:175
Methodvalidation_epoch_end
(self, val_outputs)
fengshen/examples/pretrain_taiyi_clip/pretrain.py:225
Methodvalidation_epoch_end
(self, validation_step_outputs)
fengshen/examples/finetune_bart_qg/finetune_bart.py:324
Methodvalidation_epoch_end
(self, outputs)
fengshen/examples/sequence_tagging/finetune_sequence_tagging.py:214
Methodvalidation_epoch_end
(self, outputs)
fengshen/examples/summary/seq2seq_summary.py:94
Methodvalidation_epoch_end
(self, outputs)
fengshen/examples/zen2_finetune/fengshen_token_level_ft_task.py:588
Methodvalidation_epoch_end
(self, outputs)
fengshen/examples/translate/finetune_deltalm.py:301
Methodvalidation_epoch_end
(self, outputs)
fengshen/examples/clip_finetune/clip_finetune_flickr.py:113
Methodvalidation_epoch_end
(self, outputs)
fengshen/examples/zen1_finetune/fengshen_token_level_ft_task.py:557
Methodvalidation_epoch_end
(self, outputs)
fengshen/examples/deepVAE/vae_pl_module.py:243
Methodvalidation_linear
(self, batch, batch_idx)
fengshen/pipelines/sequence_tagging.py:78
Methodvalidation_linear
(self, batch, batch_idx)
fengshen/examples/sequence_tagging/finetune_sequence_tagging.py:117
Methodvalidation_span
(self, batch, batch_idx)
fengshen/pipelines/sequence_tagging.py:130
Methodvalidation_span
(self, batch, batch_idx)
fengshen/examples/sequence_tagging/finetune_sequence_tagging.py:169
Methodvalidation_step
(self, batch, batch_idx)
fengshen/pipelines/sequence_tagging.py:75
Methodvalidation_step
(self, batch, batch_idx)
fengshen/pipelines/text_classification.py:78
Methodvalidation_step
(self, batch, batch_idx)
fengshen/examples/clue_sim/finetune_clue_sim.py:293
← previousnext →2,401–2,500 of 2,547, ranked by callers