MCPcopy Create free account

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

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

↓ 1 callersFunctioninsert_separator
(X, sep)
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/memory/mm_utils.py:48
↓ 1 callersFunctioninsert_separator
(X, sep)
InternLM-XComposer-2.5-OmniLive/online_demo/Backend/backend_ixc/vs_deploy/video_streaming.py:80
↓ 1 callersFunctioninsert_separator
(X, sep)
InternLM-XComposer-2.5-OmniLive/online_demo/Backend/backend_ixc/vs_deploy/vs_only.py:77
↓ 1 callersFunctioninsert_separator
(X, sep)
InternLM-XComposer-2.5-OmniLive/online_demo_gradio/backend_vs.py:178
↓ 1 callersFunctioninsert_separator
(X, sep)
projects/ShareGPT4V/share4v/mm_utils.py:50
↓ 1 callersFunctioninsert_separator
(X, sep)
projects/DualFocus/dualfocus/mm_utils.py:46
↓ 1 callersMethodinterleav_wrap
(self, img_list, text_list, image_nums)
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/base/modeling_internlm_xcomposer2.py:292
↓ 1 callersMethodinterleav_wrap
(self, img_list, text_list, image_nums)
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/merge_lora/modeling_internlm_xcomposer2.py:292
↓ 1 callersMethodinterleav_wrap
(self, img_embeds, text)
InternLM-XComposer-1.0/examples/web_demo_4bit.py:201
↓ 1 callersMethodinterleav_wrap
(self, img_embeds, text)
InternLM-XComposer-1.0/examples/web_demo.py:182
↓ 1 callersFunctionisMobile
()
InternLM-XComposer-2.5-OmniLive/online_demo/Frontend/src/components/srs/srs.sdk.js:22
↓ 1 callersFunctionisMobile
()
InternLM-XComposer-2.5-OmniLive/online_demo/Frontend/src/utils/utils.ts:2
↓ 1 callersMethodisSupported
(data: ArrayBufferView)
InternLM-XComposer-2.5-OmniLive/online_demo/Frontend/src/components/pcm-player/pcm-audio-player.ts:99
↓ 1 callersMethodisTypedArray
(data: ArrayBufferView)
InternLM-XComposer-2.5-OmniLive/online_demo/Frontend/src/components/pcm-player/pcm-audio-player.ts:92
↓ 1 callersFunctionis_image
(file_path)
InternLM-XComposer-2.5-OmniLive/online_demo_gradio/webdemo.py:74
↓ 1 callersFunctionis_video
(file_path)
InternLM-XComposer-2.5-OmniLive/online_demo_gradio/webdemo.py:66
↓ 1 callersFunctionlaunch_demo
()
InternLM-XComposer-2.5-OmniLive/online_demo_gradio/frontend.py:291
↓ 1 callersFunctionload_data
(EVAL_DATA_FILE)
InternLM-XComposer-2.5-OmniLive/benchmarks/streamingbench/src/utils/data_execution.py:13
↓ 1 callersFunctionload_from_hf
(repo_id, filename, subfolder=None)
projects/ShareGPT4V/share4v/model/builder.py:58
↓ 1 callersFunctionload_from_hf
(repo_id, filename, subfolder=None)
projects/DualFocus/dualfocus/model/builder.py:65
↓ 1 callersFunctionload_image
(image_file)
projects/ShareGPT4V/share4v/eval/model_vqa_qbench.py:19
↓ 1 callersFunctionload_image_from_base64
(image)
projects/DualFocus/dualfocus/mm_utils.py:10
↓ 1 callersFunctionload_video
(vis_path, scene_sep, num_frm=16, max_clip=4)
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/memory/model_grounding_ego.py:51
↓ 1 callersFunctionload_video
(video_path, num_frm=32, start=None, end=None)
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/base/ixc_utils.py:127
↓ 1 callersFunctionload_video
(video_path, num_frm=32, start=None, end=None)
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/merge_lora/ixc_utils.py:127
↓ 1 callersFunctionload_video
(vis_path, num_frm=16, max_clip=4)
InternLM-XComposer-2.5-OmniLive/examples/infer_llm_with_memory.py:185
↓ 1 callersFunctionload_video
(video_path)
InternLM-XComposer-2.5-OmniLive/benchmarks/streamingbench/src/model/LLaVANextVideo32.py:53
↓ 1 callersFunctionload_video
(vis_path, scene_sep, num_frm=16, max_clip=4, sample_frame=None)
InternLM-XComposer-2.5-OmniLive/benchmarks/streamingbench/src/model/videoStream.py:61
↓ 1 callersFunctionload_video
(video_path)
InternLM-XComposer-2.5-OmniLive/benchmarks/streamingbench/src/model/FlashVstream.py:32
↓ 1 callersFunctionload_video
(video_path, bound=None, input_size=448, max_num=1, num_segments=32)
InternLM-XComposer-2.5-OmniLive/benchmarks/streamingbench/src/model/InternVL.py:129
↓ 1 callersFunctionload_video
(vis_path, num_frm=16, max_clip=4)
InternLM-XComposer-2.5-OmniLive/benchmarks/streamingbench/src/model/ixc2d5_ol.py:165
↓ 1 callersFunctionload_video
(video_path, max_frames_num)
InternLM-XComposer-2.5-OmniLive/benchmarks/streamingbench/src/model/LLaVAOneVision.py:43
↓ 1 callersFunctionload_video
(vis_path, num_frm=16, max_clip=4)
InternLM-XComposer-2.5-OmniLive/benchmarks/mlvu/mlvu.py:171
↓ 1 callersFunctionload_video
(vis_path, num_frm=16, max_clip=4)
InternLM-XComposer-2.5-OmniLive/benchmarks/video_mme/video_mme.py:172
↓ 1 callersFunctionload_video
(vis_path, num_frm=16, max_clip=4, is_video=True)
InternLM-XComposer-2.5-OmniLive/benchmarks/mvbench/mvbench.py:172
↓ 1 callersFunctionlog
(name)
InternLM-XComposer-2.5-OmniLive/online_demo/Backend/backend_ixc/audio_stream_consume.py:18
↓ 1 callersFunctionmain
(args)
InternLM-XComposer-2.5-OmniLive/benchmarks/streamingbench/src/eval.py:31
↓ 1 callersFunctionmake_delta
(base_model_path, target_model_path, delta_path, hub_repo_id)
projects/DualFocus/dualfocus/model/make_delta.py:13
↓ 1 callersFunctionmake_supervised_data_module
Make dataset and collator for supervised fine-tuning.
InternLM-XComposer-2.0/finetune/finetune.py:155
↓ 1 callersFunctionmake_supervised_data_module
Make dataset and collator for supervised fine-tuning.
projects/ShareGPT4V/share4v/train/train.py:796
↓ 1 callersFunctionmake_supervised_data_module
Make dataset and collator for supervised fine-tuning.
projects/DualFocus/dualfocus/train/train.py:793
↓ 1 callersFunctionmake_supervised_data_module
Make dataset and collator for supervised fine-tuning.
InternLM-XComposer-1.0/finetune/finetune.py:156
↓ 1 callersFunctionmake_supervised_data_module
Make dataset and collator for supervised fine-tuning.
InternLM-XComposer-2.5-Reward/training/finetune.py:184
↓ 1 callersFunctionmake_supervised_data_module
Make dataset and collator for supervised fine-tuning.
finetune/finetune.py:155
↓ 1 callersFunctionmaybe_zero_3
(param)
InternLM-XComposer-2.0/finetune/finetune.py:68
↓ 1 callersFunctionmaybe_zero_3
(param, ignore_status=False, name=None)
projects/ShareGPT4V/share4v/train/share4v_trainer.py:13
↓ 1 callersFunctionmaybe_zero_3
(param, ignore_status=False, name=None)
projects/DualFocus/dualfocus/train/llava_trainer.py:18
↓ 1 callersFunctionmaybe_zero_3
(param)
InternLM-XComposer-1.0/finetune/finetune.py:74
↓ 1 callersFunctionmaybe_zero_3
(param)
InternLM-XComposer-2.5-Reward/training/finetune.py:71
↓ 1 callersFunctionmaybe_zero_3
(param)
finetune/finetune.py:68
↓ 1 callersFunctionmerge_lora
(model_path, **kwargs)
projects/ShareGPT4V/share4v/train/train.py:116
↓ 1 callersFunctionmodel_gen
( model, text, images, need_bos=True)
InternLM-XComposer-2.0/evaluation/SEED/utils.py:63
↓ 1 callersFunctionmodel_gen
( model, text, images, need_bos=True)
InternLM-XComposer-2.0/evaluation/mme/utils.py:16
↓ 1 callersFunctionmodel_gen
(model, text, images, need_bos=True, hd_num=36, max_new_token=2, beam=3, do_sample=False)
InternLM-XComposer-2.5-OmniLive/benchmarks/streamingbench/src/model/ixc2d5_ol.py:54
↓ 1 callersFunctionmodel_gen
(model, text, images, need_bos=True, hd_num=36, max_new_token=2, beam=3, do_sample=False)
InternLM-XComposer-2.5-OmniLive/benchmarks/mlvu/mlvu.py:60
↓ 1 callersFunctionmodel_gen
(model, text, images, need_bos=True, hd_num=36, max_new_token=2, beam=3, do_sample=False)
InternLM-XComposer-2.5-OmniLive/benchmarks/video_mme/video_mme.py:61
↓ 1 callersFunctionmodel_gen
(model, text, images, need_bos=True, hd_num=36, max_new_token=2, beam=3, do_sample=False)
InternLM-XComposer-2.5-OmniLive/benchmarks/mvbench/mvbench.py:61
↓ 1 callersFunctionmodel_gen_withmem
(model, text, images, glb, lol, need_bos=True, hd_num=36, max_new_token=2, beam=3, do_sample=False)
InternLM-XComposer-2.5-OmniLive/examples/infer_llm_with_memory.py:23
↓ 1 callersMethodmodel_select_image
(self, output_text, locs, images_paths, progress)
gradio_demo/gradio_demo_composition.py:391
↓ 1 callersMethodmodel_select_image
(self, output_text, locs, images_paths, progress)
InternLM-XComposer-2.0/examples/gradio_demo_composition.py:336
↓ 1 callersMethodmodel_select_image
(self, output_text, locs, images_paths, progress)
InternLM-XComposer-2.0/examples/IXC2_demo.py:344
↓ 1 callersMethodmodel_select_image
(self, output_text, caps, root, progress)
InternLM-XComposer-1.0/examples/web_demo_4bit.py:263
↓ 1 callersMethodmodel_select_image
(self, output_text, caps, root, progress)
InternLM-XComposer-1.0/examples/web_demo.py:244
↓ 1 callersMethodmodel_select_imagebase
(self, output_text, locs, imagebase, progress)
gradio_demo/gradio_demo_composition.py:453
↓ 1 callersMethodmodel_select_imagebase
(self, output_text, locs, imagebase, progress)
InternLM-XComposer-2.0/examples/gradio_demo_composition.py:391
↓ 1 callersMethodmodel_select_imagebase
(self, output_text, locs, imagebase, progress)
InternLM-XComposer-2.0/examples/IXC2_demo.py:399
↓ 1 callersMethodmoney2chntext
(self)
InternLM-XComposer-2.5-OmniLive/benchmarks/eval_audio/cn_tn.py:909
↓ 1 callersFunctionnormalize_nsw
(raw_text)
InternLM-XComposer-2.5-OmniLive/benchmarks/eval_audio/cn_tn.py:936
↓ 1 callersFunctionpadding_336
(b, R=336)
gradio_demo/gradio_demo_composition.py:91
↓ 1 callersFunctionpadding_336
(b)
InternLM-XComposer-2.0/finetune/ixc_utils.py:6
↓ 1 callersFunctionpadding_336
(b, pad=336)
InternLM-XComposer-2.5-OmniLive/benchmarks/streamingbench/src/model/ixc2d5_ol.py:19
↓ 1 callersFunctionpadding_336
(b, pad=336)
InternLM-XComposer-2.5-OmniLive/benchmarks/mlvu/mlvu.py:25
↓ 1 callersFunctionpadding_336
(b, pad=336)
InternLM-XComposer-2.5-OmniLive/benchmarks/video_mme/video_mme.py:26
↓ 1 callersFunctionpadding_336
(b, pad=336)
InternLM-XComposer-2.5-OmniLive/benchmarks/mvbench/mvbench.py:26
↓ 1 callersFunctionpadding_336
(b, R=336)
InternLM-XComposer-2.5-Reward/training/ixc_utils.py:8
↓ 1 callersFunctionpadding_336
(b, R=336)
finetune/ixc_utils.py:8
↓ 1 callersFunctionparse_args
()
projects/ShareGPT4V/tools/share-cap_batch_infer.py:9
↓ 1 callersFunctionparse_args
()
projects/ShareGPT4V/tools/app.py:352
↓ 1 callersFunctionparse_args
()
projects/ShareGPT4V/share4v/eval/summarize_gpt_review.py:9
↓ 1 callersFunctionparse_args
()
projects/ShareGPT4V/scripts/convert_vizwiz_for_submission.py:8
↓ 1 callersFunctionparse_args
()
projects/ShareGPT4V/scripts/convert_vqav2_for_submission.py:8
↓ 1 callersFunctionparse_img_path
(text)
InternLM-XComposer-2.0/evaluation/MMMU/utils/data_utils.py:83
↓ 1 callersFunctionparse_model_states
(files)
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/adapter/zero_to_fp32.py:95
↓ 1 callersFunctionparse_open_response
Parse the prediction from the generated response. Return a list of predicted strings or numbers.
InternLM-XComposer-2.0/evaluation/MMMU/utils/eval_utils.py:122
↓ 1 callersFunctionparse_optim_states
(files, ds_checkpoint_dir)
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/adapter/zero_to_fp32.py:141
↓ 1 callersFunctionparse_score
(review)
projects/ShareGPT4V/share4v/eval/eval_gpt_review_bench.py:38
↓ 1 callersFunctionparse_score
(review)
projects/ShareGPT4V/share4v/eval/eval_gpt_review.py:40
↓ 1 callersFunctionparse_score
(review)
projects/ShareGPT4V/share4v/eval/eval_gpt_review_visual.py:36
↓ 1 callersFunctionpatch_tensor_constructor
(fn)
projects/DualFocus/dualfocus/model/language_model/mpt/meta_init_context.py:76
↓ 1 callersMethodpercentage2chntext
(self)
InternLM-XComposer-2.5-OmniLive/benchmarks/eval_audio/cn_tn.py:932
↓ 1 callersMethodpostprocess
(self, s: str)
InternLM-XComposer-2.5-OmniLive/benchmarks/eval_audio/whisper_normalizer/english.py:417
↓ 1 callersFunctionprepare_fa2_from_position_ids
This function returns necessary arguments to call `flash_attn_varlen_func`. All three query, key, value states will be flattened. Cummula
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/memory/modeling_flash_attention_utils.py:133
↓ 1 callersMethodprepare_grounding
(self, query)
InternLM-XComposer-2.5-OmniLive/online_demo_gradio/backend_llm.py:187
↓ 1 callersMethodprepare_inputs_labels_for_multimodal
( self, input_ids, attention_mask, past_key_values, labels, images )
projects/ShareGPT4V/share4v/model/share4v_arch.py:97
↓ 1 callersFunctionpreprocess
Given a list of sources, each is a conversation list. This transform: 1. Add signal '### ' at the beginning each sentence, with end signal '\
projects/ShareGPT4V/share4v/train/train.py:618
↓ 1 callersFunctionpreprocess_llama_2
( sources, tokenizer: transformers.PreTrainedTokenizer, has_image: bool = False )
projects/ShareGPT4V/share4v/train/train.py:424
↓ 1 callersFunctionpreprocess_llama_2
( sources, tokenizer: transformers.PreTrainedTokenizer, has_image: bool = False )
projects/DualFocus/dualfocus/train/train.py:329
↓ 1 callersFunctionpreprocess_mpt
( sources, tokenizer: transformers.PreTrainedTokenizer, )
projects/DualFocus/dualfocus/train/train.py:494
↓ 1 callersFunctionpreprocess_multimodal
( sources: Sequence[str], data_args: DataArguments )
projects/ShareGPT4V/share4v/train/train.py:396
↓ 1 callersFunctionpreprocess_multimodal
( sources: Sequence[str], data_args: DataArguments )
projects/DualFocus/dualfocus/train/train.py:305
← previousnext →701–800 of 1,890, ranked by callers