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, init_method, output_layer_init_method, parallel_output=False )
fengshen/models/megatron/layers/transformer.py:580
Method__init__
( self, config, attention_mask_func, init_method, output_layer_init_me
fengshen/models/megatron/layers/transformer.py:633
Method__init__
(self, config, d_attn, d_ff, mask_fn)
fengshen/models/megatron/layers/gmlp.py:29
Method__init__
(self, config, d_ff, d_attn=None, causal=True, mask_fn=None)
fengshen/models/megatron/layers/gmlp.py:54
Method__init__
( self, config, num_embeddings, embedding_dim, init_method=init.xavier_normal_ )
fengshen/models/megatron/mpu/layers.py:66
Method__init__
( self, config, scale, causal=True, num_buckets=32, max_distan
fengshen/models/megatron/mpu/layers.py:147
Method__init__
( self, config, input_size, output_size, bias=True, gather_out
fengshen/models/megatron/mpu/layers.py:285
Method__init__
(self, config)
fengshen/models/llama/modeling_llama.py:241
Method__init__
( self, vocab_size=32000, hidden_size=4096, num_hidden_layers=32, num_
fengshen/models/llama/configuration_llama.py:68
Method__init__
(self, config, num_labels, loss_type)
fengshen/models/tagging_models/bert_for_tagging.py:22
Method__init__
(self, config, num_labels, loss_type)
fengshen/models/tagging_models/bert_for_tagging.py:78
Method__init__
(self, config, num_labels, loss_type, soft_label=True)
fengshen/models/tagging_models/bert_for_tagging.py:123
Method__init__
(self, input_size, hidden_size, output_size, dropout_rate=0)
fengshen/models/tagging_models/layers/linears.py:6
Method__init__
(self, hidden_size, num_classes)
fengshen/models/tagging_models/layers/linears.py:19
Method__init__
(self, hidden_size, num_classes)
fengshen/models/tagging_models/layers/linears.py:28
Method__init__
(self, num_tags: int, batch_first: bool = False)
fengshen/models/tagging_models/layers/crf.py:28
Method__init__
(self, eps=0.1, reduction='mean',ignore_index=-100)
fengshen/models/tagging_models/losses/label_smoothing.py:5
Method__init__
(self, gamma=2, weight=None,ignore_index=-100)
fengshen/models/tagging_models/losses/focal_loss.py:7
Method__init__
(self, data)
fengshen/models/PPVAE/utils.py:4
Method__init__
(self, tolerance=10, min_delta=0)
fengshen/models/PPVAE/utils.py:17
Method__init__
(self, latent_dim=128, bottle_dim=20)
fengshen/models/PPVAE/pluginVAE.py:47
Method__init__
(self, config)
fengshen/models/PPVAE/pluginVAE.py:60
Method__init__
(self, config:PretrainedConfig)
fengshen/models/PPVAE/pluginVAE.py:88
Method__init__
(self, config: BartConfig)
fengshen/models/bart/modeling_bart.py:105
Method__init__
(self, data, yes_token, no_token, tokenizer, args, used_mask=True)
fengshen/models/unimc/modeling_unimc.py:44
Method__init__
(self, train_data, val_data, yes_token, no_token, tokenizer, args)
fengshen/models/unimc/modeling_unimc.py:244
Method__init__
(self, args, yes_token, model_path, num_data=100)
fengshen/models/unimc/modeling_unimc.py:347
Method__init__
(self, yes_token, no_token, model, tokenizer, args)
fengshen/models/unimc/modeling_unimc.py:412
Method__init__
(self, args, model_path)
fengshen/models/unimc/modeling_unimc.py:468
Method__init__
(self, tokenizer, args, used_mask=False)
fengshen/models/uniex/modeling_uniex.py:247
Method__init__
(self, data, tokenizer, args, data_encode)
fengshen/models/uniex/modeling_uniex.py:800
Method__init__
(self, train_data, dev_data, tokenizer, args)
fengshen/models/uniex/modeling_uniex.py:826
Method__init__
(self)
fengshen/models/uniex/modeling_uniex.py:841
Method__init__
(self, triaffine_hidden_size)
fengshen/models/uniex/modeling_uniex.py:859
Method__init__
(self, config)
fengshen/models/uniex/modeling_uniex.py:886
Method__init__
(self, args, dev_data=[],test_data=[], num_data=1)
fengshen/models/uniex/modeling_uniex.py:1039
Method__init__
(self, args)
fengshen/models/uniex/modeling_uniex.py:1161
Method__init__
(self)
fengshen/models/uniex/modeling_uniex.py:1173
Method__init__
(self, tokenizer, args)
fengshen/models/uniex/modeling_uniex.py:1219
Method__init__
(self, tokenizer, args)
fengshen/models/uniex/modeling_uniex.py:1539
Method__init__
(self, args)
fengshen/models/uniex/modeling_uniex.py:1819
Method__init__
(self, args)
fengshen/models/uniex/modeling_uniex.py:1891
Method__init__
Constructs a BertTokenizer. Args: vocab_file: Path to a one-wordpiece-per-line vocabulary file do_lower_case: Whether to
fengshen/models/zen1/tokenization.py:95
Method__init__
Constructs a BasicTokenizer. Args: do_lower_case: Whether to lower case the input.
fengshen/models/zen1/tokenization.py:227
Method__init__
(self, vocab, unk_token="[UNK]", max_input_chars_per_word=100)
fengshen/models/zen1/tokenization.py:344
Method__init__
Constructs ZenNgramDict :param ngram_freq_path: ngrams with frequency
fengshen/models/zen1/ngram_utils.py:33
Method__init__
Constructs ZenConfig. Args: vocab_size_or_config_json_file: Vocabulary size of `inputs_ids` in `BertModel`. hidden_si
fengshen/models/zen1/configuration_zen1.py:25
Method__init__
Construct a layernorm module in the TF style (epsilon inside the square root).
fengshen/models/zen1/modeling.py:178
Method__init__
(self, config)
fengshen/models/zen1/modeling.py:197
Method__init__
(self, config)
fengshen/models/zen1/modeling.py:229
Method__init__
(self, config, output_attentions=False, keep_multihead_output=False)
fengshen/models/zen1/modeling.py:253
Method__init__
(self, config)
fengshen/models/zen1/modeling.py:318
Method__init__
(self, config, output_attentions=False, keep_multihead_output=False)
fengshen/models/zen1/modeling.py:332
Method__init__
(self, config)
fengshen/models/zen1/modeling.py:367
Method__init__
(self, config)
fengshen/models/zen1/modeling.py:383
Method__init__
(self, config, output_attentions=False, keep_multihead_output=False)
fengshen/models/zen1/modeling.py:397
Method__init__
(self, config, output_attentions=False, keep_multihead_output=False)
fengshen/models/zen1/modeling.py:417
Method__init__
(self, config)
fengshen/models/zen1/modeling.py:453
Method__init__
(self, config)
fengshen/models/zen1/modeling.py:468
Method__init__
(self, config, bert_model_embedding_weights)
fengshen/models/zen1/modeling.py:486
Method__init__
(self, config, bert_model_embedding_weights)
fengshen/models/zen1/modeling.py:505
Method__init__
(self, config)
fengshen/models/zen1/modeling.py:515
Method__init__
(self, config, bert_model_embedding_weights)
fengshen/models/zen1/modeling.py:525
Method__init__
(self, config, output_attentions=False, keep_multihead_output=False)
fengshen/models/zen1/modeling.py:750
Method__init__
(self, config, output_attentions=False, keep_multihead_output=False)
fengshen/models/zen1/modeling.py:831
Method__init__
(self, config, output_attentions=False, keep_multihead_output=False)
fengshen/models/zen1/modeling.py:897
Method__init__
(self, config, num_labels=2, output_attentions=False, keep_multihead_output=False)
fengshen/models/zen1/modeling.py:964
Method__init__
(self, config, num_labels=2, output_attentions=False, keep_multihead_output=False)
fengshen/models/zen1/modeling.py:1038
Method__init__
(self, config)
fengshen/models/longformer/modeling_longformer.py:451
Method__init__
(self, config, layer_id)
fengshen/models/longformer/modeling_longformer.py:555
Method__init__
(self, config)
fengshen/models/longformer/modeling_longformer.py:1280
Method__init__
(self, config, layer_id=0)
fengshen/models/longformer/modeling_longformer.py:1295
Method__init__
(self, config)
fengshen/models/longformer/modeling_longformer.py:1347
Method__init__
(self, config)
fengshen/models/longformer/modeling_longformer.py:1363
Method__init__
(self, config, layer_id=0)
fengshen/models/longformer/modeling_longformer.py:1378
Method__init__
(self, config)
fengshen/models/longformer/modeling_longformer.py:1421
Method__init__
(self, config)
fengshen/models/longformer/modeling_longformer.py:1511
Method__init__
(self, config)
fengshen/models/longformer/modeling_longformer.py:1529
Method__init__
(self, config, add_pooling_layer=True)
fengshen/models/longformer/modeling_longformer.py:1688
Method__init__
(self, config)
fengshen/models/longformer/modeling_longformer.py:1915
Method__init__
(self, config)
fengshen/models/longformer/modeling_longformer.py:2019
Method__init__
(self, config)
fengshen/models/longformer/modeling_longformer.py:2119
Method__init__
(self, config)
fengshen/models/longformer/modeling_longformer.py:2147
Method__init__
(self, config)
fengshen/models/longformer/modeling_longformer.py:2284
Method__init__
(self, config)
fengshen/models/longformer/modeling_longformer.py:2377
Method__init__
( self, text_config=None, vision_config=None, projection_dim=512, logit_scale_init_value=2.6592, **kwa
fengshen/models/clip/configuration_taiyi_clip.py:85
Method__init__
(self, version="IDEA-CCNL/Taiyi-Stable-Diffusion-1B-Chinese-v0.1", device="cuda", max_length=512)
fengshen/models/clip/modeling_taiyi_clip.py:263
Method__init__
(self, feature_extractor, tokenizer)
fengshen/models/clip/processing_taiyi_clip.py:40
Method__init__
(self, config)
fengshen/models/deberta_v2/modeling_deberta_v2.py:57
Method__init__
(self)
fengshen/models/deberta_v2/modeling_deberta_v2.py:142
Method__init__
(self, drop_prob)
fengshen/models/deberta_v2/modeling_deberta_v2.py:201
Method__init__
(self, config)
fengshen/models/deberta_v2/modeling_deberta_v2.py:244
Method__init__
(self, config)
fengshen/models/deberta_v2/modeling_deberta_v2.py:259
Method__init__
(self, config)
fengshen/models/deberta_v2/modeling_deberta_v2.py:296
Method__init__
(self, config)
fengshen/models/deberta_v2/modeling_deberta_v2.py:312
Method__init__
(self, config)
fengshen/models/deberta_v2/modeling_deberta_v2.py:328
Method__init__
(self, config)
fengshen/models/deberta_v2/modeling_deberta_v2.py:400
Method__init__
(self, config)
fengshen/models/deberta_v2/modeling_deberta_v2.py:601
Method__init__
(self, config)
fengshen/models/deberta_v2/modeling_deberta_v2.py:810
Method__init__
(self, config)
fengshen/models/deberta_v2/modeling_deberta_v2.py:979
← previousnext →1,201–1,300 of 2,547, ranked by callers