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
compute_pred
(proj_x, target, label_embs)
fengshen/examples/hubert/pretrain_hubert.py:164
Method
cond_fn
(x, t, y=None)
fengshen/examples/disco_project/disco.py:600
Method
condition_mean
(self, cond_fn, *args, **kwargs)
fengshen/examples/disco_project/guided_diffusion/guided_diffusion/respace.py:98
Method
condition_score
(self, cond_fn, *args, **kwargs)
fengshen/examples/disco_project/guided_diffusion/guided_diffusion/respace.py:101
Method
configure_optimizers
(self)
fengshen/pipelines/sequence_tagging.py:185
Method
configure_optimizers
(self)
fengshen/pipelines/text_classification.py:89
Method
configure_optimizers
Prepare optimizer and schedule
fengshen/examples/clue_sim/finetune_clue_sim.py:165
Method
configure_optimizers
(self)
fengshen/examples/pretrain_bert/pretrain_bert.py:148
Method
configure_optimizers
(self)
fengshen/examples/pretrain_taiyi_clip/pretrain.py:101
Method
configure_optimizers
(self)
fengshen/examples/hubert/pretrain_hubert.py:137
Method
configure_optimizers
(self)
fengshen/examples/qa_t5/finetune_t5_cmrc.py:102
Method
configure_optimizers
(self)
fengshen/examples/finetune_bart_qg/finetune_bart.py:278
Method
configure_optimizers
(self)
fengshen/examples/sequence_tagging/finetune_sequence_tagging.py:274
Method
configure_optimizers
(self)
fengshen/examples/pegasus/pretrain_pegasus.py:108
Method
configure_optimizers
(self)
fengshen/examples/finetune_taiyi_stable_diffusion/finetune.py:109
Method
configure_optimizers
(self)
fengshen/examples/finetune_taiyi_stable_diffusion/evaluate_model.py:62
Method
configure_optimizers
(self)
fengshen/examples/pretrain_t5/pretrain_t5.py:77
Method
configure_optimizers
(self)
fengshen/examples/pretrain_t5/finetune_t5.py:45
Method
configure_optimizers
(self)
fengshen/examples/summary/seq2seq_summary.py:137
Method
configure_optimizers
(self)
fengshen/examples/zen2_finetune/fengshen_token_level_ft_task.py:598
Method
configure_optimizers
(self)
fengshen/examples/zen2_finetune/fengshen_sequence_level_ft_task.py:571
Method
configure_optimizers
(self)
fengshen/examples/pretrain_erlangshen_deberta_v2/pretrain_deberta.py:138
Method
configure_optimizers
(self)
fengshen/examples/translate/finetune_deltalm.py:165
Method
configure_optimizers
(self)
fengshen/examples/clip_finetune/clip_finetune_flickr.py:184
Method
configure_optimizers
(self)
fengshen/examples/pretrain_randeng_bart/pretrain_bart.py:191
Method
configure_optimizers
(self)
fengshen/examples/classification/finetune_classification.py:294
Method
configure_optimizers
(self)
fengshen/examples/wenzhong_qa/finetune_wenzhong.py:89
Method
configure_optimizers
(self)
fengshen/examples/wenzhong_qa/finetune_medicalQA.py:94
Method
configure_optimizers
(self)
fengshen/examples/pretrain_erlangshen_bert/pretrain_erlangshen.py:148
Method
configure_optimizers
(self)
fengshen/examples/zen1_finetune/fengshen_token_level_ft_task.py:567
Method
configure_optimizers
(self)
fengshen/examples/zen1_finetune/fengshen_sequence_level_ft_task.py:532
Method
configure_optimizers
(self)
fengshen/examples/ziya_llama/finetune_ziya_llama.py:114
Method
configure_optimizers
(self)
fengshen/examples/mt5_summary/mt5_summary.py:141
Method
configure_optimizers
(self)
fengshen/examples/deepVAE/vae_pl_module.py:262
Method
configure_optimizers
(self)
fengshen/examples/stable_diffusion_dreambooth/train.py:130
Method
configure_optimizers
(self)
fengshen/models/tcbert/modeling_tcbert.py:310
Method
configure_optimizers
(self)
fengshen/models/bart/modeling_bart.py:422
Method
configure_optimizers
(self)
fengshen/models/unimc/modeling_unimc.py:375
Method
configure_optimizers
(self)
fengshen/models/uniex/modeling_uniex.py:1090
Method
configure_optimizers
(self)
fengshen/models/ubert/modeling_ubert.py:365
Function
construct_ngram_matrix
(ngram_data, max_seq_length)
fengshen/models/zen2/ngram_utils.py:179
Method
convert_ids_to_tokens
Converts a sequence of ids in wordpiece tokens using the vocab.
fengshen/models/zen2/tokenization.py:170
Function
convert_module_to_f16
Convert primitive modules to float16.
fengshen/examples/disco_project/guided_diffusion/guided_diffusion/fp16_util.py:15
Function
convert_module_to_f32
Convert primitive modules to float32, undoing convert_module_to_f16().
fengshen/examples/disco_project/guided_diffusion/guided_diffusion/fp16_util.py:25
Method
convert_to_fp16
Convert the torso of the model to float16.
fengshen/examples/disco_project/guided_diffusion/guided_diffusion/unet.py:859
Method
convert_to_fp16
Convert the torso of the model to float16.
fengshen/examples/disco_project/guided_diffusion/guided_diffusion/unet.py:969
Method
convert_to_fp32
Convert the torso of the model to float32.
fengshen/examples/disco_project/guided_diffusion/guided_diffusion/unet.py:628
Method
convert_to_fp32
Convert the torso of the model to float32.
fengshen/examples/disco_project/guided_diffusion/guided_diffusion/unet.py:866
Function
convert_to_unicode
Converts `text` to Unicode (if it's not already), assuming utf-8 input.
fengshen/models/zen2/tokenization.py:70
Method
convert_tokens_to_ids
Converts a sequence of tokens into ids using the vocab.
fengshen/models/zen2/tokenization.py:157
Method
convert_tokens_to_string
Converts a sequence of tokens (string) in a single string.
fengshen/models/deltalm/tokenizer_deltalm.py:294
Method
convert_tokens_to_string
Converts a sequence of tokens (string) in a single string.
fengshen/models/transfo_xl_denoise/tokenization_transfo_xl_denoise.py:79
Method
count_flops
(model, _x, y)
fengshen/examples/disco_project/guided_diffusion/guided_diffusion/unet.py:359
Method
count_flops
(model, _x, y)
fengshen/examples/disco_project/guided_diffusion/guided_diffusion/unet.py:394
Function
create_classifier_and_diffusion
( image_size, classifier_use_fp16, classifier_width, classifier_depth, classifier_attentio
fengshen/examples/disco_project/guided_diffusion/guided_diffusion/script_util.py:191
Method
create_custom_forward
(module)
fengshen/models/longformer/modeling_longformer.py:1457
Method
create_custom_forward
(module)
fengshen/models/deberta_v2/modeling_deberta_v2.py:484
Method
create_custom_forward
(module)
fengshen/models/megatron_t5/modeling_megatron_t5.py:1176
Method
create_custom_forward
(module)
fengshen/models/roformer/modeling_roformer.py:635
Method
create_custom_forward
(module)
fengshen/models/deltalm/modeling_deltalm.py:673
Method
create_custom_forward
(module)
fengshen/models/deltalm/modeling_deltalm.py:1000
Method
create_custom_forward
(module)
fengshen/models/deepVAE/latent_connector.py:203
Function
create_doc_idx
(sizes)
fengshen/data/megatron_dataloader/indexed_dataset.py:122
Function
create_named_schedule_sampler
Create a ScheduleSampler from a library of pre-defined samplers. :param name: the name of the sampler. :param diffusion: the diffusion o
fengshen/examples/disco_project/guided_diffusion/guided_diffusion/resample.py:8
Function
create_position_ids_from_input_ids
Replace non-padding symbols with their position numbers. Position numbers begin at padding_idx+1. Padding symbols are ignored. This is modifi
fengshen/models/longformer/modeling_longformer.py:430
Method
create_position_ids_from_inputs_embeds
We are provided embeddings directly. We cannot infer which are padded so just generate sequential position ids. Args: in
fengshen/models/longformer/modeling_longformer.py:513
Method
create_token_type_ids_from_sequences
Create a mask from the two sequences passed to be used in a sequence-pair classification task. T5 does not make use of token type ids
fengshen/models/deltalm/tokenizer_deltalm.py:203
Method
custom
(start, end)
fengshen/models/transfo_xl_denoise/modeling_transfo_xl_denoise.py:604
Method
custom_forward
(*inputs)
fengshen/models/longformer/modeling_longformer.py:1458
Method
custom_forward
(*inputs)
fengshen/models/deberta_v2/modeling_deberta_v2.py:485
Method
custom_forward
(*inputs)
fengshen/models/megatron_t5/modeling_megatron_t5.py:1177
Method
custom_forward
(*inputs)
fengshen/models/roformer/modeling_roformer.py:636
Method
custom_forward
(*inputs)
fengshen/models/deltalm/modeling_deltalm.py:674
Method
custom_forward
(*inputs)
fengshen/models/deltalm/modeling_deltalm.py:1001
Method
custom_forward
(*inputs)
fengshen/models/deepVAE/latent_connector.py:204
Method
custom_forward
(*inputs)
fengshen/models/transfo_xl_denoise/modeling_transfo_xl_denoise.py:605
Function
cut_sent
中文分句,默认?、。、!、省略号分句,考虑双引号包裹的句子 采用分割替换的方式
fengshen/data/bert_dataloader/preprocessing.py:11
Function
cut_sent
(para)
fengshen/examples/clue1.1/data_preprocessing/cmrc2018_preprocessing.py:9
Function
dataset_exists
(path, impl)
fengshen/data/megatron_dataloader/indexed_dataset.py:78
Method
datasets
(self)
fengshen/examples/hubert/pretrain_hubert.py:52
Method
ddim_reverse_sample
Sample x_{t+1} from the model using DDIM reverse ODE.
fengshen/examples/disco_project/guided_diffusion/guided_diffusion/gaussian_diffusion.py:749
Method
ddim_sample
Sample x_{t-1} from the model using DDIM. Same usage as p_sample().
fengshen/examples/disco_project/guided_diffusion/guided_diffusion/gaussian_diffusion.py:634
Method
ddim_sample_loop
Generate samples from the model using DDIM. Same usage as p_sample_loop().
fengshen/examples/disco_project/guided_diffusion/guided_diffusion/gaussian_diffusion.py:784
Method
ddim_sample_with_grad
Sample x_{t-1} from the model using DDIM. Same usage as p_sample().
fengshen/examples/disco_project/guided_diffusion/guided_diffusion/gaussian_diffusion.py:695
Function
debug
(*args)
fengshen/examples/disco_project/guided_diffusion/guided_diffusion/logger.py:253
Method
decode
This method forwards all its arguments to BertTokenizerFast's [`~PreTrainedTokenizer.decode`]. Please refer to the docstring of this
fengshen/models/clip/processing_taiyi_clip.py:104
Function
decode_speed_test
测试推理速度
fengshen/examples/ziya_inference/hf_quantizatin_inference.py:33
Function
decorator_with_name
(func)
fengshen/examples/disco_project/guided_diffusion/guided_diffusion/logger.py:309
Function
deduction_generate
Generate with fixed prompt of deduction
fengshen/models/transfo_xl_reasoning/generate.py:21
Method
default_onnx_opset
(self)
fengshen/models/clip/configuration_taiyi_clip.py:182
Method
deparallelize
(self)
fengshen/models/megatron_t5/modeling_megatron_t5.py:1515
Method
deparallelize
(self)
fengshen/models/megatron_t5/modeling_megatron_t5.py:1715
Method
deparallelize
(self)
fengshen/models/megatron_t5/modeling_megatron_t5.py:2024
Function
destroy_model_parallel
Set the groups to none.
fengshen/models/megatron/mpu/initialize.py:277
Method
do_lower_case
(self)
fengshen/examples/pegasus/tokenizers_pegasus.py:201
Method
doc_idx
(self)
fengshen/data/megatron_dataloader/indexed_dataset.py:447
Method
doc_idx
(self)
fengshen/data/megatron_dataloader/indexed_dataset.py:533
Function
docstring_decorator
(fn)
fengshen/models/auto/configuration_auto.py:221
Method
dummy_inputs
(self)
fengshen/models/megatron_t5/modeling_megatron_t5.py:810
Function
dumpkvs
Write all of the diagnostics from the current iteration
fengshen/examples/disco_project/guided_diffusion/guided_diffusion/logger.py:235
← previous
next →
1,601–1,700 of 2,547, ranked by callers