MCPcopy Create free account

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

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

Methodset_output_embeddings
(self, new_embeddings)
fengshen/models/llama/modeling_llama.py:269
Methodset_output_embeddings
(self, new_embeddings)
fengshen/models/longformer/modeling_longformer.py:1926
Methodset_output_embeddings
(self, new_embeddings)
fengshen/models/deberta_v2/modeling_deberta_v2.py:1107
Methodset_output_embeddings
(self, new_embeddings)
fengshen/models/megatron_t5/modeling_megatron_t5.py:1733
Methodset_output_embeddings
(self, new_embeddings)
fengshen/models/roformer/modeling_roformer.py:1126
Methodset_output_embeddings
(self, new_embeddings)
fengshen/models/roformer/modeling_roformer.py:1240
Methodset_output_embeddings
(self, new_embeddings)
fengshen/models/roformer/modeling_roformer.py:1391
Methodset_output_embeddings
(self, new_embeddings)
fengshen/models/deltalm/modeling_deltalm.py:1204
Methodset_output_embeddings
(self, new_embeddings)
fengshen/models/deltalm/modeling_deltalm.py:1394
Methodset_parallel_output
(self, value: bool)
fengshen/models/megatron/mpu/layers.py:341
Functionset_seed
(args)
fengshen/models/DAVAE/run_latent_generation.py:10
Methodsetup
(self, stage: Optional[str] = None)
fengshen/data/universal_datamodule/universal_datamodule.py:108
Methodsetup
(self, stage: Optional[str] = None)
fengshen/data/bert_dataloader/load.py:161
Methodsetup
(self, stage: Optional[str] = None)
fengshen/data/mmap_dataloader/mmap_datamodule.py:40
Methodsetup
(self, stage=None)
fengshen/data/clip_dataloader/flickr.py:88
Methodsetup
(self, stage)
fengshen/pipelines/sequence_tagging.py:64
Methodsetup
(self, stage)
fengshen/pipelines/text_classification.py:50
Methodsetup
(self, stage)
fengshen/examples/clue_sim/finetune_clue_sim.py:92
Methodsetup
(self, stage=None)
fengshen/examples/clue_sim/finetune_clue_sim.py:199
Methodsetup
(self, stage)
fengshen/examples/pretrain_bert/pretrain_bert.py:139
Methodsetup
(self, stage)
fengshen/examples/pretrain_taiyi_clip/pretrain.py:94
Methodsetup
(self, stage)
fengshen/examples/hubert/pretrain_hubert.py:121
Methodsetup
(self)
fengshen/examples/qa_t5/qa_dataset.py:101
Methodsetup
(self, stage=None)
fengshen/examples/qa_t5/finetune_t5_cmrc.py:77
Methodsetup
(self, stage)
fengshen/examples/finetune_bart_qg/finetune_bart.py:262
Methodsetup
(self, stage)
fengshen/examples/sequence_tagging/finetune_sequence_tagging.py:103
Methodsetup
(self, stage)
fengshen/examples/pegasus/pretrain_pegasus.py:95
Methodsetup
(self, stage)
fengshen/examples/finetune_taiyi_stable_diffusion/finetune.py:104
Methodsetup
(self, stage)
fengshen/examples/pretrain_t5/pretrain_t5.py:61
Methodsetup
(self, stage)
fengshen/examples/pretrain_t5/finetune_t5.py:29
Methodsetup
(self, stage)
fengshen/examples/summary/seq2seq_summary.py:40
Methodsetup
(self, stage)
fengshen/examples/zen2_finetune/fengshen_token_level_ft_task.py:514
Methodsetup
(self, stage)
fengshen/examples/zen2_finetune/fengshen_sequence_level_ft_task.py:530
Methodsetup
(self, stage)
fengshen/examples/pretrain_erlangshen_deberta_v2/pretrain_deberta.py:133
Methodsetup
(self, stage)
fengshen/examples/translate/finetune_deltalm.py:154
Methodsetup
(self)
fengshen/examples/pretrain_randeng_bart/pretrain_bart.py:39
Methodsetup
(self, stage)
fengshen/examples/classification/finetune_classification.py:248
Methodsetup
(self, stage)
fengshen/examples/wenzhong_qa/finetune_wenzhong.py:58
Methodsetup
(self, stage)
fengshen/examples/wenzhong_qa/finetune_medicalQA.py:63
Methodsetup
(self)
fengshen/examples/pretrain_erlangshen_bert/pretrain_erlangshen.py:48
Methodsetup
(self, stage)
fengshen/examples/zen1_finetune/fengshen_token_level_ft_task.py:484
Methodsetup
(self, stage)
fengshen/examples/zen1_finetune/fengshen_sequence_level_ft_task.py:491
Methodsetup
(self, stage)
fengshen/examples/ziya_llama/finetune_ziya_llama.py:102
Methodsetup
(self, stage)
fengshen/examples/mt5_summary/mt5_summary.py:100
Methodsetup
(self, stage)
fengshen/examples/stable_diffusion_dreambooth/train.py:123
Methodsetup
(self, stage)
fengshen/models/tcbert/modeling_tcbert.py:255
Methodsetup
(self, stage=None)
fengshen/models/bart/modeling_bart.py:411
Methodsetup
(self, stage)
fengshen/models/unimc/modeling_unimc.py:353
Methodsetup
(self, stage)
fengshen/models/uniex/modeling_uniex.py:1054
Methodsetup
(self, stage)
fengshen/models/ubert/modeling_ubert.py:332
Methodsetup_environment
(self)
fengshen/strategies/megatron_deepspeed.py:339
Methodshape
projection
fengshen/models/megatron_t5/modeling_megatron_t5.py:483
Functionsimulate
(model_vae, tokenizer_encoder, tokenizer_decoder, args, sent_input, prompt=None)
fengshen/models/DAVAE/run_latent_generation.py:155
Functionsimulate_batch
(model_vae, tokenizer_encoder, tokenizer_decoder, args, sent_inputs, prompt=None)
fengshen/models/DAVAE/run_latent_generation.py:288
Functionsimulate_bz
(model_vae, tokenizer_encoder, tokenizer_decoder, args, sent_inputs, prompt=None)
fengshen/models/DAVAE/run_latent_generation.py:293
Methodsizes
(self)
fengshen/data/megatron_dataloader/indexed_dataset.py:443
Methodsizes
(self)
fengshen/data/megatron_dataloader/indexed_dataset.py:529
Functionsr_create_model_and_diffusion
( large_size, small_size, class_cond, learn_sigma, num_channels, num_res_blocks, n
fengshen/examples/disco_project/guided_diffusion/guided_diffusion/script_util.py:284
Functionsr_model_and_diffusion_defaults
()
fengshen/examples/disco_project/guided_diffusion/guided_diffusion/script_util.py:273
Methodstate_dict_to_master_params
(self, state_dict)
fengshen/examples/disco_project/guided_diffusion/guided_diffusion/fp16_util.py:231
Functionstop_criteria
(inputid, logits)
fengshen/examples/ziya_inference/llama_cpp_quantizatin_inference.py:38
Functionstr2bool
https://stackoverflow.com/questions/15008758/parsing-boolean-values-with-argparse
fengshen/examples/disco_project/guided_diffusion/guided_diffusion/script_util.py:445
Methodsummary_val
(k, v)
fengshen/examples/disco_project/guided_diffusion/guided_diffusion/logger.py:171
Methodsupports_prefetch
(self)
fengshen/data/megatron_dataloader/indexed_dataset.py:213
Methodsupports_prefetch
(self)
fengshen/data/megatron_dataloader/indexed_dataset.py:225
Methodsupports_prefetch
(self)
fengshen/data/megatron_dataloader/indexed_dataset.py:543
Functionswish
(x, beta: float = 1.0)
fengshen/models/megatron/layers/activations.py:111
Functionswish
(x)
fengshen/models/zen1/modeling.py:164
Functionswish
(x)
fengshen/models/zen2/modeling.py:260
Methodsymbolic
(graph, input_)
fengshen/models/megatron/mpu/mappings.py:114
Methodsymbolic
(graph, input_)
fengshen/models/megatron/mpu/mappings.py:130
Methodsymbolic
(graph, input_)
fengshen/models/megatron/mpu/mappings.py:146
Methodsymbolic
(graph, input_)
fengshen/models/megatron/mpu/mappings.py:162
Methodsymbolic
(g, self, mask, dim)
fengshen/models/deberta_v2/modeling_deberta_v2.py:125
Functionsymmetry_transformation_fn
(x)
fengshen/examples/disco_project/disco.py:372
Functiontest
()
fengshen/examples/mt5_summary/mt5_summary.py:18
Methodtest_dataloader
(self)
fengshen/data/universal_datamodule/universal_datamodule.py:155
Methodtest_dataloader
(self)
fengshen/data/bert_dataloader/load.py:191
Methodtest_dataloader
(self)
fengshen/data/mmap_dataloader/mmap_datamodule.py:61
Methodtest_dataloader
(self)
fengshen/data/clip_dataloader/flickr.py:104
Methodtest_epoch_end
(self, outputs)
fengshen/examples/clip_finetune/clip_finetune_flickr.py:128
Functiontest_layer_norm
()
fengshen/models/megatron/fused_kernels/tests/test_fused_kernels.py:220
Methodtest_step
(self, batch, batch_idx)
fengshen/examples/clue_sim/finetune_clue_sim.py:307
Methodtest_step
(self, batch, batch_idx)
fengshen/examples/translate/finetune_deltalm.py:346
Methodtest_step
(self, test_batch, idx)
fengshen/examples/clip_finetune/clip_finetune_flickr.py:120
Methodtest_step
(self, batch, batch_idx)
fengshen/examples/deepVAE/vae_pl_module.py:246
Functiontext_process
分割文本
fengshen/examples/pegasus/data_utils.py:127
Functiontext_process_split_long_content
分割长文本
fengshen/examples/pegasus/data_utils.py:143
Methodtokenize
(self, text)
fengshen/data/data_utils/sentence_split.py:34
Methodtokenize
(self, text)
fengshen/metric/utils_ner.py:13
Methodtokenize
Tokenizes a piece of text into its word pieces. This uses a greedy longest-match-first algorithm to perform tokenization using the gi
fengshen/examples/pegasus/tokenizers_pegasus.py:556
Methodtokenize
Tokenizes a piece of text.
fengshen/models/zen1/tokenization.py:238
Methodtokenize
Tokenizes a piece of text into its word pieces. This uses a greedy longest-match-first algorithm to perform tokenization using the gi
fengshen/models/zen1/tokenization.py:349
Methodtokenize
Tokenizes a piece of text.
fengshen/models/zen2/tokenization.py:260
Methodtokenize
Tokenizes a piece of text into its word pieces. This uses a greedy longest-match-first algorithm to perform tokenization using the gi
fengshen/models/zen2/tokenization.py:371
Methodtokenize_function
(self, examples)
fengshen/data/t5_dataloader/t5_datasets.py:156
Methodtrain
(self)
fengshen/pipelines/sequence_tagging.py:246
Methodtrain
Args: datasets is a dict like { test: Dataset() validation: Dataset()
fengshen/pipelines/text_classification.py:194
Methodtrain
(self, mode)
fengshen/models/llama/modeling_llama.py:257
Methodtrain_dataloader
(self)
fengshen/data/universal_datamodule/universal_datamodule.py:111
← previousnext →2,301–2,400 of 2,547, ranked by callers