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
train_dataloader
(self)
fengshen/data/bert_dataloader/load.py:185
Method
train_dataloader
(self)
fengshen/data/t5_dataloader/t5_datasets.py:236
Method
train_dataloader
(self)
fengshen/data/t5_dataloader/t5_datasets.py:530
Method
train_dataloader
(self)
fengshen/data/mmap_dataloader/mmap_datamodule.py:43
Method
train_dataloader
(self)
fengshen/data/clip_dataloader/flickr.py:98
Method
train_dataloader
(self)
fengshen/examples/zen2_finetune/fengshen_token_level_ft_task.py:482
Method
train_dataloader
(self)
fengshen/examples/zen2_finetune/fengshen_sequence_level_ft_task.py:486
Method
train_dataloader
(self)
fengshen/examples/zen1_finetune/fengshen_token_level_ft_task.py:452
Method
train_dataloader
(self)
fengshen/examples/zen1_finetune/fengshen_sequence_level_ft_task.py:447
Method
train_dataloader
(self)
fengshen/models/tcbert/modeling_tcbert.py:151
Method
train_dataloader
(self)
fengshen/models/unimc/modeling_unimc.py:253
Method
train_dataloader
(self)
fengshen/models/uniex/modeling_uniex.py:834
Method
train_dataloader
(self)
fengshen/models/ubert/modeling_ubert.py:212
Method
train_mode
Sets up the model for training by turning off k/v caching.
fengshen/models/megatron/layers/utils.py:110
Method
training_epoch_end
(self, outputs)
fengshen/examples/deepVAE/vae_pl_module.py:222
Method
training_epoch_end
(self,batch)
fengshen/models/uniex/modeling_uniex.py:1072
Method
training_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
Method
training_losses
( self, model, *args, **kwargs )
fengshen/examples/disco_project/guided_diffusion/guided_diffusion/respace.py:93
Method
training_step
(self, batch, batch_idx)
fengshen/pipelines/sequence_tagging.py:69
Method
training_step
(self, batch, batch_idx)
fengshen/pipelines/text_classification.py:65
Method
training_step
(self, batch, batch_idx)
fengshen/examples/clue_sim/finetune_clue_sim.py:278
Method
training_step
(self, batch, batch_idx)
fengshen/examples/pretrain_bert/pretrain_bert.py:175
Method
training_step
(self, batch)
fengshen/examples/pretrain_taiyi_clip/pretrain.py:166
Method
training_step
(self, batch, batch_idx)
fengshen/examples/hubert/pretrain_hubert.py:216
Method
training_step
(self, batch, batch_idx)
fengshen/examples/qa_t5/finetune_t5_cmrc.py:130
Method
training_step
(self, batch, batch_idx)
fengshen/examples/finetune_bart_qg/finetune_bart.py:281
Method
training_step
(self, batch, batch_idx)
fengshen/examples/sequence_tagging/finetune_sequence_tagging.py:108
Method
training_step
(self, batch, batch_idx)
fengshen/examples/pegasus/pretrain_pegasus.py:112
Method
training_step
(self, batch, batch_idx)
fengshen/examples/finetune_taiyi_stable_diffusion/finetune.py:112
Method
training_step
(self, batch, batch_idx)
fengshen/examples/finetune_taiyi_stable_diffusion/evaluate_model.py:48
Method
training_step
(self, batch, batch_idx)
fengshen/examples/pretrain_t5/pretrain_t5.py:81
Method
training_step
(self, batch, batch_idx)
fengshen/examples/pretrain_t5/finetune_t5.py:49
Method
training_step
(self, batch, batch_idx)
fengshen/examples/summary/seq2seq_summary.py:52
Method
training_step
(self, batch, batch_idx)
fengshen/examples/zen2_finetune/fengshen_token_level_ft_task.py:530
Method
training_step
(self, batch, batch_idx)
fengshen/examples/zen2_finetune/fengshen_sequence_level_ft_task.py:546
Method
training_step
(self, batch, batch_idx)
fengshen/examples/pretrain_erlangshen_deberta_v2/pretrain_deberta.py:156
Method
training_step
(self, batch, batch_idx)
fengshen/examples/translate/finetune_deltalm.py:170
Method
training_step
(self, train_batch, idx)
fengshen/examples/clip_finetune/clip_finetune_flickr.py:37
Method
training_step
(self, batch, batch_idx)
fengshen/examples/pretrain_randeng_bart/pretrain_bart.py:198
Method
training_step
(self, batch, batch_idx)
fengshen/examples/classification/finetune_classification.py:263
Method
training_step
(self, batch, batch_idx)
fengshen/examples/wenzhong_qa/finetune_wenzhong.py:65
Method
training_step
(self, batch, batch_idx)
fengshen/examples/wenzhong_qa/finetune_medicalQA.py:70
Method
training_step
(self, batch, batch_idx)
fengshen/examples/pretrain_erlangshen_bert/pretrain_erlangshen.py:166
Method
training_step
(self, batch, batch_idx)
fengshen/examples/zen1_finetune/fengshen_token_level_ft_task.py:500
Method
training_step
(self, batch, batch_idx)
fengshen/examples/zen1_finetune/fengshen_sequence_level_ft_task.py:507
Method
training_step
(self, batch, batch_idx)
fengshen/examples/ziya_llama/finetune_ziya_llama.py:133
Method
training_step
(self, batch, batch_idx)
fengshen/examples/mt5_summary/mt5_summary.py:107
Method
training_step
(self, batch, batch_idx)
fengshen/examples/deepVAE/vae_pl_module.py:193
Method
training_step
(self, batch, batch_idx)
fengshen/examples/stable_diffusion_dreambooth/train.py:140
Method
training_step
(self, batch, batch_idx)
fengshen/models/tcbert/modeling_tcbert.py:272
Method
training_step
(self, batch, batch_idx)
fengshen/models/bart/modeling_bart.py:401
Method
training_step
(self, batch, batch_idx)
fengshen/models/unimc/modeling_unimc.py:360
Method
training_step
(self, batch, batch_idx)
fengshen/models/uniex/modeling_uniex.py:1061
Method
training_step
(self, batch, batch_idx)
fengshen/models/ubert/modeling_ubert.py:339
Method
training_step_end
(self, batch_parts)
fengshen/examples/deepVAE/vae_pl_module.py:219
Function
truncate_segments
Truncates a pair of sequences to a maximum sequence length.
fengshen/data/megatron_dataloader/dataset_utils.py:122
Method
unshape
reshape
fengshen/models/megatron_t5/modeling_megatron_t5.py:487
Method
update
labels_paths: [[],[],[],....] pred_paths: [[],[],[],.....] :param label_paths: :param pred_paths: :return:
fengshen/metric/metric.py:110
Function
update_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
Method
update_with_all_losses
(self, ts, losses)
fengshen/examples/disco_project/guided_diffusion/guided_diffusion/resample.py:143
Method
update_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
Method
val_dataloader
(self)
fengshen/data/universal_datamodule/universal_datamodule.py:134
Method
val_dataloader
(self)
fengshen/data/task_dataloader/task_datasets.py:194
Method
val_dataloader
(self)
fengshen/data/task_dataloader/medicalQADataset.py:113
Method
val_dataloader
(self)
fengshen/data/bert_dataloader/load.py:188
Method
val_dataloader
(self)
fengshen/data/t5_dataloader/t5_gen_datasets.py:329
Method
val_dataloader
(self)
fengshen/data/t5_dataloader/t5_datasets.py:256
Method
val_dataloader
(self)
fengshen/data/t5_dataloader/t5_datasets.py:552
Method
val_dataloader
(self)
fengshen/data/mmap_dataloader/mmap_datamodule.py:52
Method
val_dataloader
(self)
fengshen/data/clip_dataloader/flickr.py:101
Method
val_dataloader
(self)
fengshen/examples/zen2_finetune/fengshen_token_level_ft_task.py:486
Method
val_dataloader
(self)
fengshen/examples/zen2_finetune/fengshen_sequence_level_ft_task.py:490
Method
val_dataloader
(self)
fengshen/examples/classification/finetune_classification.py:176
Method
val_dataloader
(self)
fengshen/examples/zen1_finetune/fengshen_token_level_ft_task.py:456
Method
val_dataloader
(self)
fengshen/examples/zen1_finetune/fengshen_sequence_level_ft_task.py:451
Method
val_dataloader
(self)
fengshen/models/tcbert/modeling_tcbert.py:154
Method
val_dataloader
(self)
fengshen/models/unimc/modeling_unimc.py:256
Method
val_dataloader
(self)
fengshen/models/uniex/modeling_uniex.py:837
Method
val_dataloader
(self)
fengshen/models/ubert/modeling_ubert.py:215
Method
validation_biaffine
(self, batch, batch_idx)
fengshen/pipelines/sequence_tagging.py:148
Method
validation_biaffine
(self, batch, batch_idx)
fengshen/examples/sequence_tagging/finetune_sequence_tagging.py:187
Method
validation_crf
(self, batch, batch_idx)
fengshen/pipelines/sequence_tagging.py:104
Method
validation_crf
(self, batch, batch_idx)
fengshen/examples/sequence_tagging/finetune_sequence_tagging.py:143
Method
validation_epoch_end
(self, outputs)
fengshen/pipelines/sequence_tagging.py:175
Method
validation_epoch_end
(self, val_outputs)
fengshen/examples/pretrain_taiyi_clip/pretrain.py:225
Method
validation_epoch_end
(self, validation_step_outputs)
fengshen/examples/finetune_bart_qg/finetune_bart.py:324
Method
validation_epoch_end
(self, outputs)
fengshen/examples/sequence_tagging/finetune_sequence_tagging.py:214
Method
validation_epoch_end
(self, outputs)
fengshen/examples/summary/seq2seq_summary.py:94
Method
validation_epoch_end
(self, outputs)
fengshen/examples/zen2_finetune/fengshen_token_level_ft_task.py:588
Method
validation_epoch_end
(self, outputs)
fengshen/examples/translate/finetune_deltalm.py:301
Method
validation_epoch_end
(self, outputs)
fengshen/examples/clip_finetune/clip_finetune_flickr.py:113
Method
validation_epoch_end
(self, outputs)
fengshen/examples/zen1_finetune/fengshen_token_level_ft_task.py:557
Method
validation_epoch_end
(self, outputs)
fengshen/examples/deepVAE/vae_pl_module.py:243
Method
validation_linear
(self, batch, batch_idx)
fengshen/pipelines/sequence_tagging.py:78
Method
validation_linear
(self, batch, batch_idx)
fengshen/examples/sequence_tagging/finetune_sequence_tagging.py:117
Method
validation_span
(self, batch, batch_idx)
fengshen/pipelines/sequence_tagging.py:130
Method
validation_span
(self, batch, batch_idx)
fengshen/examples/sequence_tagging/finetune_sequence_tagging.py:169
Method
validation_step
(self, batch, batch_idx)
fengshen/pipelines/sequence_tagging.py:75
Method
validation_step
(self, batch, batch_idx)
fengshen/pipelines/text_classification.py:78
Method
validation_step
(self, batch, batch_idx)
fengshen/examples/clue_sim/finetune_clue_sim.py:293
← previous
next →
2,401–2,500 of 2,547, ranked by callers