MCPcopy Create free account

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

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

Method__init__
(self, args)
fengshen/examples/finetune_taiyi_stable_diffusion/finetune.py:78
Method__init__
(self, input_size, xcol='emb', ycol='avg_rating')
fengshen/examples/finetune_taiyi_stable_diffusion/evaluate_model.py:23
Method__init__
(self, model_path='./watermark_model_v1.pt')
fengshen/examples/finetune_taiyi_stable_diffusion/evaluate_model.py:68
Method__init__
(self, sd_model_list, sample_num=20, guidance_scale=7.5, test_caption_path="/cognitive_comp/chenweifeng/projec
fengshen/examples/finetune_taiyi_stable_diffusion/evaluate_model.py:186
Method__init__
(self, args)
fengshen/examples/pretrain_t5/pretrain_t5.py:24
Method__init__
(self, args)
fengshen/examples/pretrain_t5/finetune_t5.py:22
Method__init__
(self, args, tokenizer=None)
fengshen/examples/summary/seq2seq_summary.py:30
Method__init__
Constructs a InputExample. Args: guid: Unique id for the example. text_a: string. The untokenized text of the first s
fengshen/examples/zen2_finetune/fengshen_token_level_ft_task.py:42
Method__init__
(self, input_ids, input_mask, segment_ids, label_id, ngram_ids, ngram_positions, ngram_lengths,
fengshen/examples/zen2_finetune/fengshen_token_level_ft_task.py:63
Method__init__
(self, data_path, processor, mode='train')
fengshen/examples/zen2_finetune/fengshen_token_level_ft_task.py:350
Method__init__
(self, args)
fengshen/examples/zen2_finetune/fengshen_token_level_ft_task.py:439
Method__init__
(self, args)
fengshen/examples/zen2_finetune/fengshen_token_level_ft_task.py:620
Method__init__
Constructs a InputExample. Args: guid: Unique id for the example. text_a: string. The untokenized text of the first s
fengshen/examples/zen2_finetune/fengshen_sequence_level_ft_task.py:42
Method__init__
(self, input_ids, input_mask, segment_ids, label_id, ngram_ids, ngram_starts, ngram_lengths,
fengshen/examples/zen2_finetune/fengshen_sequence_level_ft_task.py:64
Method__init__
(self, data_path, processor, mode='train')
fengshen/examples/zen2_finetune/fengshen_sequence_level_ft_task.py:349
Method__init__
(self, args)
fengshen/examples/zen2_finetune/fengshen_sequence_level_ft_task.py:449
Method__init__
(self, args)
fengshen/examples/zen2_finetune/fengshen_sequence_level_ft_task.py:593
Method__init__
(self, args, tokenizer, **kwargs)
fengshen/examples/pretrain_erlangshen_deberta_v2/pretrain_deberta.py:125
Method__init__
(self, args, tokenizer=None)
fengshen/examples/translate/finetune_deltalm.py:136
Method__init__
A lightning wrapper for a CLIP model as specified in the paper. Args: model_name (str): A case sensitive visual model name.
fengshen/examples/clip_finetune/clip_finetune_flickr.py:15
Method__init__
(self, args, tokenizer, **kwargs)
fengshen/examples/pretrain_randeng_bart/pretrain_bart.py:180
Method__init__
(self, cut_size, cutn, skip_augs=False)
fengshen/examples/disco_project/disco.py:238
Method__init__
(self, cut_size, args, Overview=4, InnerCrop=0, IC_Size_Pow=0.5, IC_Grey_P=0
fengshen/examples/disco_project/disco.py:280
Method__init__
(self, custom_path)
fengshen/examples/disco_project/st_disco.py:12
Method__init__
( self, spacial_dim: int, embed_dim: int, num_heads_channels: int, out
fengshen/examples/disco_project/guided_diffusion/guided_diffusion/unet.py:29
Method__init__
(self, channels, use_conv, dims=2, out_channels=None)
fengshen/examples/disco_project/guided_diffusion/guided_diffusion/unet.py:125
Method__init__
( self, channels, emb_channels, dropout, out_channels=None, us
fengshen/examples/disco_project/guided_diffusion/guided_diffusion/unet.py:162
Method__init__
( self, channels, num_heads=1, num_head_channels=-1, use_checkpoint=Fa
fengshen/examples/disco_project/guided_diffusion/guided_diffusion/unet.py:269
Method__init__
(self, n_heads)
fengshen/examples/disco_project/guided_diffusion/guided_diffusion/unet.py:335
Method__init__
(self, n_heads)
fengshen/examples/disco_project/guided_diffusion/guided_diffusion/unet.py:368
Method__init__
( self, image_size, in_channels, model_channels, out_channels,
fengshen/examples/disco_project/guided_diffusion/guided_diffusion/unet.py:429
Method__init__
(self, image_size, in_channels, *args, **kwargs)
fengshen/examples/disco_project/guided_diffusion/guided_diffusion/unet.py:675
Method__init__
( self, image_size, in_channels, model_channels, out_channels,
fengshen/examples/disco_project/guided_diffusion/guided_diffusion/unet.py:692
Method__init__
( self, image_size=512, in_channels=3, model_channels=256, out_channel
fengshen/examples/disco_project/guided_diffusion/guided_diffusion/unet.py:900
Method__init__
(self, config)
fengshen/examples/disco_project/guided_diffusion/guided_diffusion/unet.py:944
Method__init__
( self, *, model, use_fp16=False, fp16_scale_growth=1e-3, init
fengshen/examples/disco_project/guided_diffusion/guided_diffusion/fp16_util.py:149
Method__init__
(self, diffusion)
fengshen/examples/disco_project/guided_diffusion/guided_diffusion/resample.py:62
Method__init__
(self, diffusion, history_per_term=10, uniform_prob=0.001)
fengshen/examples/disco_project/guided_diffusion/guided_diffusion/resample.py:125
Method__init__
(self, filename_or_file)
fengshen/examples/disco_project/guided_diffusion/guided_diffusion/logger.py:36
Method__init__
(self, filename)
fengshen/examples/disco_project/guided_diffusion/guided_diffusion/logger.py:98
Method__init__
(self, filename)
fengshen/examples/disco_project/guided_diffusion/guided_diffusion/logger.py:113
Method__init__
(self, dir)
fengshen/examples/disco_project/guided_diffusion/guided_diffusion/logger.py:154
Method__init__
(self, dir, output_formats, comm=None)
fengshen/examples/disco_project/guided_diffusion/guided_diffusion/logger.py:336
Method__init__
( self, *, betas, model_mean_type, model_var_type, loss_type,
fengshen/examples/disco_project/guided_diffusion/guided_diffusion/gaussian_diffusion.py:118
Method__init__
(self, use_timesteps, **kwargs)
fengshen/examples/disco_project/guided_diffusion/guided_diffusion/respace.py:72
Method__init__
(self, data_path, args, label2id)
fengshen/examples/classification/finetune_classification.py:55
Method__init__
(self, args)
fengshen/examples/classification/finetune_classification.py:146
Method__init__
(self, args)
fengshen/examples/classification/finetune_classification.py:203
Method__init__
(self, args)
fengshen/examples/classification/finetune_classification.py:316
Method__init__
(self, args)
fengshen/examples/wenzhong_qa/finetune_wenzhong.py:30
Method__init__
(self, args, num_data)
fengshen/examples/wenzhong_qa/finetune_wenzhong.py:51
Method__init__
(self, args)
fengshen/examples/wenzhong_qa/finetune_medicalQA.py:34
Method__init__
(self, args, num_data)
fengshen/examples/wenzhong_qa/finetune_medicalQA.py:55
Method__init__
(self, args, tokenizer, **kwargs)
fengshen/examples/pretrain_erlangshen_bert/pretrain_erlangshen.py:135
Method__init__
Constructs a InputExample. Args: guid: Unique id for the example. text_a: string. The untokenized text of the first s
fengshen/examples/zen1_finetune/fengshen_token_level_ft_task.py:43
Method__init__
(self, input_ids, input_mask, segment_ids, label_id, ngram_ids, ngram_positions, ngram_lengths,
fengshen/examples/zen1_finetune/fengshen_token_level_ft_task.py:64
Method__init__
(self, data_path, processor, mode='train')
fengshen/examples/zen1_finetune/fengshen_token_level_ft_task.py:325
Method__init__
(self, args)
fengshen/examples/zen1_finetune/fengshen_token_level_ft_task.py:409
Method__init__
(self, args)
fengshen/examples/zen1_finetune/fengshen_token_level_ft_task.py:589
Method__init__
Constructs a InputExample. Args: guid: Unique id for the example. text_a: string. The untokenized text of the first s
fengshen/examples/zen1_finetune/fengshen_sequence_level_ft_task.py:43
Method__init__
(self, input_ids, input_mask, segment_ids, label_id, ngram_ids, ngram_positions, ngram_lengths,
fengshen/examples/zen1_finetune/fengshen_sequence_level_ft_task.py:64
Method__init__
(self, data_path, processor, mode='train')
fengshen/examples/zen1_finetune/fengshen_sequence_level_ft_task.py:329
Method__init__
(self, args)
fengshen/examples/zen1_finetune/fengshen_sequence_level_ft_task.py:410
Method__init__
(self, args)
fengshen/examples/zen1_finetune/fengshen_sequence_level_ft_task.py:554
Method__init__
(self, args, tokenizer)
fengshen/examples/ziya_llama/finetune_ziya_llama.py:97
Method__init__
(self, args)
fengshen/examples/mt5_summary/mt5_summary.py:72
Method__init__
(self, args, num_data)
fengshen/examples/mt5_summary/mt5_summary.py:93
Method__init__
(self)
fengshen/examples/mt5_summary/fastapi_mt5_summary.py:24
Method__init__
(self, bos_token, eos_token, sep_token)
fengshen/examples/deepVAE/pretrain_deep_vae.py:19
Method__init__
(self, bos_token, eos_token)
fengshen/examples/deepVAE/pretrain_deep_vae.py:43
Method__init__
(self, bos_token, eos_token)
fengshen/examples/deepVAE/pretrain_deep_vae.py:67
Method__init__
( self, args, train_steps=0, labels_dict=None )
fengshen/examples/deepVAE/vae_pl_module.py:104
Method__init__
(self, args)
fengshen/examples/stable_diffusion_dreambooth/train.py:57
Method__init__
(self, optimizer, lr_lambda, last_epoch=-1, warmup_steps=4000, verbose=False)
fengshen/models/model_utils.py:130
Method__init__
(self, data, tokenizer, args, prompt, label_classes)
fengshen/models/tcbert/modeling_tcbert.py:42
Method__init__
(self, train_data, val_data, tokenizer, args, prompt, prompt_label)
fengshen/models/tcbert/modeling_tcbert.py:133
Method__init__
(self, args, model_path, nlabels)
fengshen/models/tcbert/modeling_tcbert.py:249
Method__init__
(self, model, tokenizer, args, prompt, prompt_label)
fengshen/models/tcbert/modeling_tcbert.py:340
Method__init__
(self, config)
fengshen/models/albert/modeling_albert.py:206
Method__init__
(self, config)
fengshen/models/albert/modeling_albert.py:266
Method__init__
(self, config)
fengshen/models/albert/modeling_albert.py:408
Method__init__
(self, config)
fengshen/models/albert/modeling_albert.py:438
Method__init__
(self, config, add_pooling_layer=True)
fengshen/models/albert/modeling_albert.py:629
Method__init__
(self, config)
fengshen/models/albert/modeling_albert.py:755
Method__init__
(self, config)
fengshen/models/albert/modeling_albert.py:856
Method__init__
(self, config)
fengshen/models/albert/modeling_albert.py:882
Method__init__
(self, config)
fengshen/models/albert/modeling_albert.py:902
Method__init__
(self, config)
fengshen/models/albert/modeling_albert.py:987
Method__init__
(self, config)
fengshen/models/albert/modeling_albert.py:1089
Method__init__
(self, config)
fengshen/models/albert/modeling_albert.py:1185
Method__init__
(self, config)
fengshen/models/albert/modeling_albert.py:1284
Method__init__
(self, dim, base=10000, precision=torch.half)
fengshen/models/megatron/layers/positional_embeddings.py:20
Method__init__
(self, dim, max_position_embeddings=2048, base=10000, device=None)
fengshen/models/megatron/layers/positional_embeddings.py:39
Method__init__
( self, input_in_fp16, input_in_bf16, fusion_type, mask_func,
fengshen/models/megatron/layers/fused_softmax.py:105
Method__init__
( self, layers, activation_checkpoint_interval, activation_checkpoint_func,
fengshen/models/megatron/layers/utils.py:84
Method__init__
( self, config, wte, n_tokens: int = 10, init_range: float = 0.5,
fengshen/models/megatron/layers/word_embeddings.py:158
Method__init__
(self, dim, eps=1e-5)
fengshen/models/megatron/layers/norms.py:56
Method__init__
(self, config)
fengshen/models/megatron/layers/activations.py:121
Method__init__
( self, config, parallel_output=True, init_method=nn.init.xavier_normal_,
fengshen/models/megatron/layers/transformer.py:141
Method__init__
( self, config, attention_mask_func, init_method, output_layer_init_me
fengshen/models/megatron/layers/transformer.py:182
← previousnext →1,101–1,200 of 2,547, ranked by callers