Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/InternLM/InternLM-XComposer
/ functions
Functions
1,890 in github.com/InternLM/InternLM-XComposer
⨍
Functions
1,890
◇
Types & classes
331
↳
Endpoints
15
↓ 1 callers
Function
get_chunk
(lst, n, k)
projects/DualFocus/dualfocus/eval/model_vqa_mmbench.py:30
↓ 1 callers
Function
get_chunk
(lst, n, k)
projects/DualFocus/dualfocus/eval/model_vqa_gqa.py:28
↓ 1 callers
Function
get_chunk
(lst, n, k)
projects/DualFocus/dualfocus/eval/model_vqa_seed.py:28
↓ 1 callers
Function
get_chunk
(lst, n, k)
projects/DualFocus/dualfocus/eval/model_vqa_textvqa.py:27
↓ 1 callers
Method
get_context_emb
(self, state, img_list)
gradio_demo/gradio_demo_chat.py:134
↓ 1 callers
Method
get_context_emb
(self, state, img_list)
InternLM-XComposer-2.0/examples/IXC2_demo.py:783
↓ 1 callers
Method
get_context_emb
(self, state, img_list)
InternLM-XComposer-2.0/examples/gradio_demo_chat.py:53
↓ 1 callers
Method
get_context_emb
(self, state, img_list)
InternLM-XComposer-2.0/examples/gradio_4khd_chat.py:122
↓ 1 callers
Method
get_context_emb
(self, state, img_list)
InternLM-XComposer-1.0/examples/web_demo_4bit.py:614
↓ 1 callers
Method
get_context_emb
(self, state, img_list)
InternLM-XComposer-1.0/examples/web_demo.py:640
↓ 1 callers
Function
get_eval
(content: str, max_tokens: int)
projects/ShareGPT4V/share4v/eval/eval_gpt_review_bench.py:13
↓ 1 callers
Function
get_eval
(content: str, max_tokens: int)
projects/ShareGPT4V/share4v/eval/eval_gpt_review_visual.py:11
↓ 1 callers
Function
get_font
()
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/base/ixc_utils.py:11
↓ 1 callers
Function
get_font
()
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/merge_lora/ixc_utils.py:11
↓ 1 callers
Method
get_images
(self, return_pil=False)
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/memory/conversation.py:120
↓ 1 callers
Method
get_images
(self, return_pil=False)
projects/DualFocus/dualfocus/conversation.py:109
↓ 1 callers
Function
get_index
(bound, fps, max_frame, first_idx=0, num_segments=32)
InternLM-XComposer-2.5-OmniLive/benchmarks/streamingbench/src/model/InternVL.py:119
↓ 1 callers
Method
get_item
(self,)
InternLM-XComposer-1.0/finetune/data_mix.py:126
↓ 1 callers
Function
get_key_subresponses
(response)
InternLM-XComposer-2.0/evaluation/MMMU/utils/eval_utils.py:128
↓ 1 callers
Function
get_mm_adapter_state_maybe_zero_3
(named_params, keys_to_match)
projects/ShareGPT4V/share4v/train/train.py:209
↓ 1 callers
Function
get_mm_adapter_state_maybe_zero_3
(named_params, keys_to_match)
projects/ShareGPT4V/share4v/train/share4v_trainer.py:27
↓ 1 callers
Function
get_mm_adapter_state_maybe_zero_3
(named_params, keys_to_match)
projects/DualFocus/dualfocus/train/train.py:160
↓ 1 callers
Function
get_mm_adapter_state_maybe_zero_3
(named_params, keys_to_match)
projects/DualFocus/dualfocus/train/llava_trainer.py:32
↓ 1 callers
Function
get_modality_length_grouped_indices
(lengths, batch_size, world_size, generator=None)
projects/ShareGPT4V/share4v/train/share4v_trainer.py:57
↓ 1 callers
Function
get_modality_length_grouped_indices
(lengths, batch_size, world_size, generator=None)
projects/DualFocus/dualfocus/train/llava_trainer.py:60
↓ 1 callers
Function
get_model_state_files
(checkpoint_dir)
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/adapter/zero_to_fp32.py:91
↓ 1 callers
Method
get_next_frame
(self, sig_model, sig_processor)
InternLM-XComposer-2.5-OmniLive/online_demo/Backend/backend_ixc/vs_deploy/video_streaming.py:154
↓ 1 callers
Method
get_next_frame
(self)
InternLM-XComposer-2.5-OmniLive/online_demo/Backend/backend_ixc/vs_deploy/vs_only.py:166
↓ 1 callers
Method
get_next_frame
(self, sig_model, sig_processor)
InternLM-XComposer-2.5-OmniLive/online_demo_gradio/backend_vs.py:103
↓ 1 callers
Function
get_optim_files
(checkpoint_dir)
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/adapter/zero_to_fp32.py:87
↓ 1 callers
Function
get_options
(row, options)
projects/ShareGPT4V/share4v/eval/model_vqa_mmbench.py:46
↓ 1 callers
Function
get_options
(row, options)
projects/DualFocus/dualfocus/eval/model_vqa_mmbench.py:47
↓ 1 callers
Function
get_peft_state_maybe_zero_3
(named_params, bias)
InternLM-XComposer-2.0/finetune/finetune.py:79
↓ 1 callers
Function
get_peft_state_maybe_zero_3
(named_params, bias)
projects/ShareGPT4V/share4v/train/train.py:172
↓ 1 callers
Function
get_peft_state_maybe_zero_3
(named_params, bias)
projects/DualFocus/dualfocus/train/train.py:127
↓ 1 callers
Function
get_peft_state_maybe_zero_3
(named_params, bias)
InternLM-XComposer-1.0/finetune/finetune.py:85
↓ 1 callers
Function
get_peft_state_maybe_zero_3
(named_params, bias)
InternLM-XComposer-2.5-Reward/training/finetune.py:82
↓ 1 callers
Function
get_peft_state_maybe_zero_3
(named_params, bias)
finetune/finetune.py:79
↓ 1 callers
Function
get_peft_state_non_lora_maybe_zero_3
(named_params, require_grad_only=True)
projects/ShareGPT4V/share4v/train/train.py:199
↓ 1 callers
Function
get_peft_state_non_lora_maybe_zero_3
(named_params, require_grad_only=True)
projects/DualFocus/dualfocus/train/train.py:152
↓ 1 callers
Method
get_prompt
(self)
demo_asset/conversation.py:34
↓ 1 callers
Function
get_response
(params)
projects/ShareGPT4V/tools/app.py:87
↓ 1 callers
Function
get_seq_frames
(total_num_frames, desired_num_frames)
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/memory/model_grounding_ego.py:26
↓ 1 callers
Function
get_seq_frames
(total_num_frames, desired_num_frames)
InternLM-XComposer-2.5-OmniLive/online_demo/Backend/backend_ixc/vs_deploy/vs_only.py:26
↓ 1 callers
Function
get_seq_frames
(total_num_frames, desired_num_frames)
InternLM-XComposer-2.5-OmniLive/examples/infer_llm_with_memory.py:167
↓ 1 callers
Function
get_seq_frames
(total_num_frames, desired_num_frames)
InternLM-XComposer-2.5-OmniLive/benchmarks/streamingbench/src/model/videoStream.py:36
↓ 1 callers
Function
get_seq_frames
(total_num_frames, desired_num_frames)
InternLM-XComposer-2.5-OmniLive/benchmarks/streamingbench/src/model/ixc2d5_ol.py:154
↓ 1 callers
Function
get_seq_frames
(total_num_frames, desired_num_frames)
InternLM-XComposer-2.5-OmniLive/benchmarks/mlvu/mlvu.py:160
↓ 1 callers
Function
get_seq_frames
(total_num_frames, desired_num_frames)
InternLM-XComposer-2.5-OmniLive/benchmarks/video_mme/video_mme.py:161
↓ 1 callers
Function
get_seq_frames
(total_num_frames, desired_num_frames)
InternLM-XComposer-2.5-OmniLive/benchmarks/mvbench/mvbench.py:161
↓ 1 callers
Function
get_seq_time
(vr, frame_idx, num_clip)
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/memory/model_grounding_ego.py:37
↓ 1 callers
Function
get_seq_time
(vr, frame_idx, num_clip)
InternLM-XComposer-2.5-OmniLive/online_demo/Backend/backend_ixc/vs_deploy/vs_only.py:37
↓ 1 callers
Function
get_seq_time
(vr, frame_idx, num_clip)
InternLM-XComposer-2.5-OmniLive/examples/infer_llm_with_memory.py:178
↓ 1 callers
Function
get_seq_time
(vr, frame_idx, num_clip)
InternLM-XComposer-2.5-OmniLive/benchmarks/streamingbench/src/model/videoStream.py:47
↓ 1 callers
Function
get_stopping_criteria
(stop_words_ids)
example_code/utils.py:50
↓ 1 callers
Function
get_stopping_criteria
(stop_words_ids)
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/merge_lora/modeling_internlm_xcomposer2.py:71
↓ 1 callers
Function
get_time_prompt
(start, end, tokenizer)
InternLM-XComposer-2.5-OmniLive/online_demo/Backend/backend_ixc/vs_deploy/video_streaming.py:61
↓ 1 callers
Function
get_time_prompt
(start, end, tokenizer)
InternLM-XComposer-2.5-OmniLive/online_demo/Backend/backend_ixc/vs_deploy/vs_only.py:58
↓ 1 callers
Function
get_time_prompt
(start, end, tokenizer)
InternLM-XComposer-2.5-OmniLive/online_demo_gradio/backend_vs.py:159
↓ 1 callers
Function
get_tokenize_len
(prompts)
projects/ShareGPT4V/share4v/train/train.py:644
↓ 1 callers
Function
get_tokenize_len
(prompts)
projects/DualFocus/dualfocus/train/train.py:609
↓ 1 callers
Function
get_urls
(caption, exclude)
gradio_demo/gradio_demo_composition.py:56
↓ 1 callers
Function
get_urls
(caption, exclude)
InternLM-XComposer-2.0/examples/gradio_demo_composition.py:49
↓ 1 callers
Function
get_urls
(caption, exclude)
InternLM-XComposer-2.0/examples/IXC2_demo.py:50
↓ 1 callers
Function
get_urls
(caption, exclude)
InternLM-XComposer-1.0/examples/web_demo_4bit.py:38
↓ 1 callers
Function
get_urls
(caption, exclude)
InternLM-XComposer-1.0/examples/web_demo.py:36
↓ 1 callers
Function
get_urls
(caption, exclude)
examples/gradio_demo_gaokaozuowen.py:49
↓ 1 callers
Function
get_value
(value_string, use_zeros=True)
InternLM-XComposer-2.5-OmniLive/benchmarks/eval_audio/cn_tn.py:659
↓ 1 callers
Method
get_vision_tower
(self)
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/memory/llava_arch.py:93
↓ 1 callers
Method
get_vision_tower
(self)
projects/ShareGPT4V/share4v/model/share4v_arch.py:89
↓ 1 callers
Method
get_vision_tower
(self)
projects/DualFocus/dualfocus/model/llava_arch.py:91
↓ 1 callers
Function
handleBuffer
(streamBuffer: any)
InternLM-XComposer-2.5-OmniLive/online_demo/Frontend/src/hooks/usePlayer.tsx:14
↓ 1 callers
Function
handlePrepareAnimation
()
InternLM-XComposer-2.5-OmniLive/online_demo/Frontend/src/components/camera-video/index.tsx:87
↓ 1 callers
Function
handleSocket
()
InternLM-XComposer-2.5-OmniLive/online_demo/Frontend/src/components/camera-video/index.tsx:28
↓ 1 callers
Method
hide_gallery
(self)
gradio_demo/gradio_demo_composition.py:689
↓ 1 callers
Method
hide_gallery
(self)
InternLM-XComposer-2.0/examples/gradio_demo_composition.py:624
↓ 1 callers
Method
hide_gallery
(self)
InternLM-XComposer-2.0/examples/IXC2_demo.py:634
↓ 1 callers
Method
img2emb
(self, image)
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/base/modeling_internlm_xcomposer2.py:181
↓ 1 callers
Method
img2emb
(self, image)
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/merge_lora/modeling_internlm_xcomposer2.py:181
↓ 1 callers
Function
img_process
(imgs)
InternLM-XComposer-2.5-OmniLive/online_demo/Backend/backend_ixc/client.py:48
↓ 1 callers
Function
img_process
(imgs)
InternLM-XComposer-2.5-OmniLive/examples/infer_llm_with_memory.py:87
↓ 1 callers
Function
img_process
(imgs)
InternLM-XComposer-2.5-OmniLive/benchmarks/streamingbench/src/model/ixc2d5_ol.py:100
↓ 1 callers
Function
img_process
(imgs)
InternLM-XComposer-2.5-OmniLive/benchmarks/mlvu/mlvu.py:106
↓ 1 callers
Function
img_process
(imgs)
InternLM-XComposer-2.5-OmniLive/benchmarks/video_mme/video_mme.py:107
↓ 1 callers
Function
img_process
(imgs)
InternLM-XComposer-2.5-OmniLive/benchmarks/mvbench/mvbench.py:107
↓ 1 callers
Method
initAudioContext
()
InternLM-XComposer-2.5-OmniLive/online_demo/Frontend/src/components/pcm-player/pcm-audio-player.ts:84
↓ 1 callers
Function
initSession
()
InternLM-XComposer-2.5-OmniLive/online_demo/Frontend/src/context/chat-context.tsx:23
↓ 1 callers
Function
initSrs
(callback: any)
InternLM-XComposer-2.5-OmniLive/online_demo/Frontend/src/hooks/useSrs.tsx:25
↓ 1 callers
Function
init_on_device
Device initialization context manager. A context manager under which models are initialized with all parameters on the specified device.
projects/DualFocus/dualfocus/model/language_model/mpt/meta_init_context.py:37
↓ 1 callers
Method
init_qformer
(cls, num_query_token, vision_width, cross_atte
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/memory/builder_projector.py:127
↓ 1 callers
Method
init_sess
(self, frame_list,)
InternLM-XComposer-2.5-OmniLive/online_demo/Backend/backend_ixc/vs_deploy/video_streaming.py:358
↓ 1 callers
Method
init_video
(self, frame_list: Queue, num_frm: int, max_clip: int)
InternLM-XComposer-2.5-OmniLive/online_demo/Backend/backend_ixc/vs_deploy/video_streaming.py:138
↓ 1 callers
Method
init_video
(self, filepath: str, num_frm: int, max_clip: int)
InternLM-XComposer-2.5-OmniLive/online_demo/Backend/backend_ixc/vs_deploy/vs_only.py:130
↓ 1 callers
Method
init_video
(self, num_frm: int, max_clip: int)
InternLM-XComposer-2.5-OmniLive/online_demo_gradio/backend_vs.py:88
↓ 1 callers
Method
initialize_vision_modules
(self, model_args, fsdp=None)
projects/ShareGPT4V/share4v/model/share4v_arch.py:28
↓ 1 callers
Method
initialize_vision_modules
(self, model_args, fsdp=None)
projects/DualFocus/dualfocus/model/llava_arch.py:42
↓ 1 callers
Method
initialize_vision_tokenizer
(self, model_args, tokenizer)
projects/ShareGPT4V/share4v/model/share4v_arch.py:239
↓ 1 callers
Method
initialize_vision_tokenizer
(self, model_args, tokenizer)
projects/DualFocus/dualfocus/model/llava_arch.py:218
↓ 1 callers
Method
initiate
(self, session_id)
InternLM-XComposer-2.5-OmniLive/online_demo/Backend/backend_ixc/client.py:308
↓ 1 callers
Function
insert_separator
(X, sep)
InternLM-XComposer-2.0/evaluation/MMMU/utils/model_utils.py:11
← previous
next →
601–700 of 1,890, ranked by callers