MCPcopy Create free account

hub / github.com/InternLM/InternLM-XComposer / functions

Functions1,890 in github.com/InternLM/InternLM-XComposer

Method__len__
(self)
InternLM-XComposer-2.5-OmniLive/benchmarks/eval_audio/evaluate_asr.py:51
Method__len__
(self)
InternLM-XComposer-2.5-OmniLive/benchmarks/eval_audio/evaluate_asr.py:122
Method__len__
(self)
projects/ShareGPT4V/share4v/eval/model_vqa_loader.py:66
Method__len__
(self)
projects/ShareGPT4V/share4v/train/train.py:682
Method__len__
(self)
projects/ShareGPT4V/share4v/train/share4v_trainer.py:128
Method__len__
(self)
projects/DualFocus/dualfocus/train/train.py:647
Method__len__
(self)
projects/DualFocus/dualfocus/train/llava_trainer.py:122
Method__len__
(self)
InternLM-XComposer-1.0/evaluation/mmbench/utils.py:120
Method__len__
(self)
InternLM-XComposer-1.0/evaluation/seed_bench/utils.py:110
Method__len__
(self)
InternLM-XComposer-1.0/finetune/data_mix.py:84
Method__len__
(self)
InternLM-XComposer-1.0/finetune/data_mix.py:109
Method__len__
(self)
InternLM-XComposer-2.5-Reward/training/data_mix.py:101
Method__len__
(self)
InternLM-XComposer-2.5-Reward/training/data_mix.py:153
Method__len__
(self)
finetune/data_mix.py:98
Method__len__
(self)
finetune/data_mix.py:149
Method__next__
(self)
InternLM-XComposer-2.0/demo_asset/serve_utils.py:82
Method__next__
(self)
InternLM-XComposer-1.0/demo_asset/serve_utils.py:82
Method__next__
(self)
demo_asset/serve_utils.py:82
Method__repr__
(self)
InternLM-XComposer-2.5-OmniLive/benchmarks/eval_audio/cn_tn.py:408
Method__str__
(self)
gradio_demo/gradio_demo_composition.py:74
Method__str__
(self)
InternLM-XComposer-2.0/examples/gradio_demo_composition.py:67
Method__str__
(self)
InternLM-XComposer-2.0/examples/IXC2_demo.py:68
Method__str__
(self)
InternLM-XComposer-2.5-OmniLive/benchmarks/eval_audio/cn_tn.py:425
Method__str__
(self)
InternLM-XComposer-2.5-OmniLive/benchmarks/eval_audio/cn_tn.py:461
Method__str__
(self)
examples/gradio_demo_gaokaozuowen.py:67
Function_build_alibi_tensor
(self: BloomModel, batch_size: int, query_length: int, key_length: int, dtype: torch.dtype, device: torch.devi
projects/DualFocus/dualfocus/model/language_model/mpt/hf_prefixlm_converter.py:140
Function_bwd_kernel
(Q, K, V, Bias, DO, DQ, DK, DV, LSE, D, softmax_scale, stride_qb, stride_qh, stride_qm, stride_kb, stride_kh,
projects/DualFocus/dualfocus/model/language_model/mpt/flash_attn_triton.py:306
Function_bwd_preprocess_do_o_dot
(Out, DO, Delta, stride_ob, stride_oh, stride_om, stride_dob, stride_doh, stride_dom, nheads, seqlen_q, seqlen
projects/DualFocus/dualfocus/model/language_model/mpt/flash_attn_triton.py:155
Method_callback
(val)
InternLM-XComposer-2.0/demo_asset/serve_utils.py:58
Method_callback
(val)
InternLM-XComposer-1.0/demo_asset/serve_utils.py:58
Method_callback
(val)
demo_asset/serve_utils.py:58
Method_convert_id_to_token
Converts an index (integer) in a token (str) using the vocab.
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/base/tokenization_internlm2.py:114
Method_convert_id_to_token
Converts an index (integer) in a token (str) using the vocab.
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/adapter/tokenization_internlm2.py:114
Method_convert_id_to_token
Converts an index (integer) in a token (str) using the vocab.
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/merge_lora/tokenization_internlm2.py:114
Method_convert_token_to_id
Converts a token (str) in an id using the vocab.
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/base/tokenization_internlm2.py:110
Method_convert_token_to_id
Converts a token (str) in an id using the vocab.
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/adapter/tokenization_internlm2.py:110
Method_convert_token_to_id
Converts a token (str) in an id using the vocab.
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/merge_lora/tokenization_internlm2.py:110
Function_fwd_kernel
(Q, K, V, Bias, Out, Lse, TMP, softmax_scale, stride_qb, stride_qh, stride_qm, stride_kb, stride_kh, stride_kn
projects/DualFocus/dualfocus/model/language_model/mpt/flash_attn_triton.py:51
Method_get_train_sampler
(self)
projects/ShareGPT4V/share4v/train/share4v_trainer.py:143
Method_get_train_sampler
(self)
projects/DualFocus/dualfocus/train/llava_trainer.py:135
Method_init_weights
(self, module)
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/memory/modeling_qwen.py:688
Method_init_weights
(self, module)
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/base/modeling_internlm_.py:722
Method_init_weights
(self, module)
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/base/modeling_internlm2.py:718
Method_init_weights
(self, module)
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/merge_lora/modeling_internlm2.py:718
Method_init_weights
Initialize the weights
projects/ShareGPT4V/share4v/model/multimodal_encoder/modeling_evaclip.py:554
Method_inner_training_loop
(self, batch_size=None, args=None,
InternLM-XComposer-2.5-Reward/training/trainer.py:61
Function_prepare_attn_mask
(self: BloomModel, attention_mask: torch.Tensor, bidirectional_mask: Optional[torch.Tensor], input_shape: Tupl
projects/DualFocus/dualfocus/model/language_model/mpt/hf_prefixlm_converter.py:126
Function_prepare_decoder_attention_mask
( self, attention_mask, input_shape, inputs_embeds, past_key_values_length )
projects/ShareGPT4V/share4v/train/llama_flash_attn_monkey_patch.py:100
Function_prepare_decoder_attention_mask
(self, attention_mask, input_shape, inputs_embeds, past_key_values_length)
projects/DualFocus/dualfocus/model/language_model/mpt/hf_prefixlm_converter.py:285
Function_prepare_decoder_attention_mask
( self, attention_mask, input_shape, inputs_embeds, past_key_values_length )
projects/DualFocus/dualfocus/train/llama_flash_attn_monkey_patch.py:98
Method_reorder_cache
(past_key_values, beam_idx)
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/base/modeling_internlm_xcomposer2.py:579
Method_reorder_cache
(past_key_values, beam_idx)
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/base/modeling_internlm_.py:1516
Method_reorder_cache
(past_key_values, beam_idx)
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/merge_lora/modeling_internlm_xcomposer2.py:579
Method_reorder_cache
Used by HuggingFace generate when using beam search with kv-caching. See https://github.com/huggingface/transformers/blob/3ec7a47664ebe40c40f
projects/DualFocus/dualfocus/model/language_model/mpt/modeling_mpt.py:322
Method_save_checkpoint
(self, model, trial, metrics=None)
projects/ShareGPT4V/share4v/train/share4v_trainer.py:302
Method_set_cos_sin_cache
(self, seq_len, device, dtype)
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/base/modeling_internlm_.py:185
Method_set_cos_sin_cache
(self, seq_len, device, dtype)
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/base/modeling_internlm_.py:207
Method_set_cos_sin_cache
(self, seq_len, device, dtype)
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/base/modeling_internlm2.py:181
Method_set_cos_sin_cache
(self, seq_len, device, dtype)
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/base/modeling_internlm2.py:203
Method_set_cos_sin_cache
(self, seq_len, device, dtype)
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/merge_lora/modeling_internlm2.py:181
Method_set_cos_sin_cache
(self, seq_len, device, dtype)
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/merge_lora/modeling_internlm2.py:203
Method_set_gradient_checkpointing
(self, module, value=False)
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/memory/grounding_qwen.py:57
Method_set_gradient_checkpointing
(self, module, value=False)
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/base/modeling_internlm_xcomposer2.py:128
Method_set_gradient_checkpointing
(self, module, value=False)
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/base/modeling_internlm_.py:1034
Method_set_gradient_checkpointing
(self, module, value=False)
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/merge_lora/modeling_internlm_xcomposer2.py:128
Method_set_gradient_checkpointing
(self, module, value=False)
projects/ShareGPT4V/share4v/model/multimodal_encoder/modeling_evaclip.py:614
Method_set_gradient_checkpointing
(self, module, value=False)
projects/DualFocus/dualfocus/model/language_model/llava_mpt.py:68
Method_shape
(self, tensor: torch.Tensor, seq_len: int, bsz: int)
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/base/modeling_internlm_.py:344
Method_shape
(self, tensor: torch.Tensor, seq_len: int, bsz: int)
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/base/modeling_internlm2.py:340
Method_shape
(self, tensor: torch.Tensor, seq_len: int, bsz: int)
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/merge_lora/modeling_internlm2.py:340
Method_tokenize
Returns a tokenized string.
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/base/tokenization_internlm2.py:106
Method_tokenize
Returns a tokenized string.
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/adapter/tokenization_internlm2.py:106
Method_tokenize
Returns a tokenized string.
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/merge_lora/tokenization_internlm2.py:106
Methodactivation_checkpointing_fn
(self, module)
projects/DualFocus/dualfocus/model/language_model/mpt/modeling_mpt.py:229
Methodactivation_checkpointing_fn
(self, module)
projects/DualFocus/dualfocus/model/language_model/mpt/modeling_mpt.py:298
Functionadd_audio
(history, task_history, file)
InternLM-XComposer-2.5-OmniLive/online_demo_gradio/webdemo.py:160
Functionadd_audio_ana
(history, task_history, file)
InternLM-XComposer-2.5-OmniLive/online_demo_gradio/webdemo.py:181
Functionadd_bidirectional_mask_if_missing
Attempts to add bidirectional_mask to batch if missing. Raises: KeyError if bidirectional_mask is missing and can't be inferred
projects/DualFocus/dualfocus/model/language_model/mpt/hf_prefixlm_converter.py:401
Methodadd_delete_caption
(self)
InternLM-XComposer-1.0/examples/web_demo_4bit.py:563
Methodadd_delete_caption
(self)
InternLM-XComposer-1.0/examples/web_demo.py:589
Methodadd_delete_image
(self, text, status, index)
InternLM-XComposer-1.0/examples/web_demo_4bit.py:513
Methodadd_delete_image
(self, text, status, index)
InternLM-XComposer-1.0/examples/web_demo.py:521
Functionadd_file
(history, task_history, file)
InternLM-XComposer-2.5-OmniLive/online_demo_gradio/webdemo.py:154
Functionadd_text
(history, task_history, text)
InternLM-XComposer-2.5-OmniLive/online_demo_gradio/webdemo.py:144
Functionadd_text
(state, text, image, image_process_mode)
projects/ShareGPT4V/tools/app.py:61
Functionadd_video
(history, task_history, file)
InternLM-XComposer-2.5-OmniLive/online_demo_gradio/webdemo.py:221
Methodadjust_img
(self, img_num, progress=gr.Progress())
InternLM-XComposer-1.0/examples/web_demo_4bit.py:486
Methodadjust_img
(self, img_num, progress=gr.Progress())
InternLM-XComposer-1.0/examples/web_demo.py:468
Methodasr
(self)
InternLM-XComposer-2.5-OmniLive/online_demo/Backend/backend_ixc/client.py:486
Methodaudio_vad
(self)
InternLM-XComposer-2.5-OmniLive/online_demo/Backend/backend_ixc/client.py:412
Functionauto_configure_device_map
(num_gpus)
gradio_demo/utils.py:6
Methodbackward
(ctx, do)
projects/DualFocus/dualfocus/model/language_model/mpt/flash_attn_triton.py:419
Methodbackward
(ctx, do)
projects/DualFocus/dualfocus/model/language_model/mpt/flash_attn_triton.py:446
Functionbaseline_param_init_fn_
(module: nn.Module, init_std: float, n_layers: int, d_model: Optional[int]=None, init_div_is_residual: Union[i
projects/DualFocus/dualfocus/model/language_model/mpt/param_init_fns.py:131
Methodbos_token_id
(self)
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/base/tokenization_internlm2.py:93
Methodbos_token_id
(self)
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/adapter/tokenization_internlm2.py:93
Methodbos_token_id
(self)
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/merge_lora/tokenization_internlm2.py:93
Functionbox2str
(box)
projects/DualFocus/dualfocus/misc/boxes.py:46
Methodbuild
build llava qwen.
InternLM-XComposer-2.5-OmniLive/online_demo/Backend/backend_ixc/vs_deploy/configs_vs/config_ground_qwen.py:15
Methodbuild
build llava qwen.
InternLM-XComposer-2.5-OmniLive/online_demo_gradio/configs_vs/config_ground_qwen.py:15
← previousnext →1,201–1,300 of 1,890, ranked by callers