MCPcopy Create free account

hub / github.com/InternLM/InternLM-XComposer / types & classes

Types & classes331 in github.com/InternLM/InternLM-XComposer

↓ 12 callersClassConversation
A class that keeps all conversation history.
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/memory/conversation.py:17
↓ 11 callersClassConversation
A class that keeps all conversation history.
projects/DualFocus/dualfocus/conversation.py:16
↓ 10 callersClassConversation
A class that keeps all conversation history.
projects/ShareGPT4V/share4v/conversation.py:15
↓ 10 callersClassPLoRA
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/base/build_mlp.py:173
↓ 5 callersClassCardinal
CARDINAL类
InternLM-XComposer-2.5-OmniLive/benchmarks/eval_audio/cn_tn.py:756
↓ 5 callersClassDataCollatorForSupervisedDataset
Collate examples for supervised fine-tuning.
projects/DualFocus/dualfocus/train/train.py:752
↓ 5 callersClassIteratorize
Transforms a function that takes a callback into a lazy iterator (generator).
InternLM-XComposer-2.0/demo_asset/serve_utils.py:42
↓ 5 callersClassKeywordsStoppingCriteria
projects/ShareGPT4V/share4v/mm_utils.py:78
↓ 5 callersClassPLoRA
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/merge_lora/build_mlp.py:173
↓ 5 callersClassStream
InternLM-XComposer-2.0/demo_asset/serve_utils.py:32
↓ 4 callersClassChineseNumberUnit
中文数字/数位字符 每个字符除繁简体外还有一个额外的大写字符 e.g. '陆' 和 '陸'
InternLM-XComposer-2.5-OmniLive/benchmarks/eval_audio/cn_tn.py:412
↓ 4 callersClassEvalAIAnswerProcessor
Processes an answer similar to Eval AI copied from https://github.com/facebookresearch/mmf/blob/c46b3b3391275b4181567db80943473a8
projects/ShareGPT4V/share4v/eval/m4c_evaluator.py:7
↓ 3 callersClassConversation
A class that keeps all conversation history.
InternLM-XComposer-2.0/demo_asset/conversation.py:18
↓ 3 callersClassConversation
A class that keeps all conversation history.
demo_asset/conversation.py:19
↓ 3 callersClassEvaCLIPTextTransformer
projects/ShareGPT4V/share4v/model/multimodal_encoder/modeling_evaclip.py:823
↓ 3 callersClassEvaCLIPVisionTransformer
projects/ShareGPT4V/share4v/model/multimodal_encoder/modeling_evaclip.py:977
↓ 3 callersClassImageGroup
gradio_demo/gradio_demo_composition.py:67
↓ 3 callersClassImageGroup
InternLM-XComposer-2.0/examples/gradio_demo_composition.py:60
↓ 3 callersClassImageGroup
InternLM-XComposer-2.0/examples/IXC2_demo.py:61
↓ 3 callersClassInternLM2RMSNorm
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/base/modeling_internlm_.py:123
↓ 3 callersClassInternLM2RMSNorm
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/base/modeling_internlm2.py:119
↓ 3 callersClassInternLM2RMSNorm
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/merge_lora/modeling_internlm2.py:119
↓ 3 callersClassIteratorize
Transforms a function that takes a callback into a lazy iterator (generator).
demo_asset/serve_utils.py:42
↓ 3 callersClassQwen2Model
Transformer decoder consisting of *config.num_hidden_layers* layers. Each layer is a [`Qwen2DecoderLayer`] Args: config: Qwen2Config
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/memory/modeling_qwen.py:778
↓ 3 callersClassQwen2RMSNorm
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/memory/modeling_qwen.py:65
↓ 3 callersClassStream
demo_asset/serve_utils.py:32
↓ 2 callersClassClient
InternLM-XComposer-2.5-OmniLive/online_demo/Backend/backend_ixc/client.py:249
↓ 2 callersClassConversation
A class that keeps all conversation history.
InternLM-XComposer-1.0/demo_asset/conversation.py:18
↓ 2 callersClassDigit
DIGIT类
InternLM-XComposer-2.5-OmniLive/benchmarks/eval_audio/cn_tn.py:771
↓ 2 callersClassEvaCLIPEncoder
Transformer encoder consisting of `config.num_hidden_layers` self attention layers. Each layer is a [`CLIPEncoderLayer`]. Args:
projects/ShareGPT4V/share4v/model/multimodal_encoder/modeling_evaclip.py:719
↓ 2 callersClassEvaCLIPTextConfig
r""" This is the configuration class to store the configuration of a [`CLIPTextModel`]. It is used to instantiate a CLIP text encoder accordin
projects/ShareGPT4V/share4v/model/multimodal_encoder/configuration_evaclip.py:29
↓ 2 callersClassEvaCLIPVisionConfig
r""" This is the configuration class to store the configuration of a [`CLIPVisionModel`]. It is used to instantiate a CLIP vision encoder acco
projects/ShareGPT4V/share4v/model/multimodal_encoder/configuration_evaclip.py:144
↓ 2 callersClassEvalAIAnswerProcessor
Processes an answer similar to Eval AI copied from https://github.com/facebookresearch/mmf/blob/c46b3b3391275b4181567db80943473a8
projects/DualFocus/dualfocus/eval/m4c_evaluator.py:7
↓ 2 callersClassFraction
FRACTION类
InternLM-XComposer-2.5-OmniLive/benchmarks/eval_audio/cn_tn.py:821
↓ 2 callersClassIdentityMap
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/memory/builder_projector.py:10
↓ 2 callersClassInternLM2Model
Transformer decoder consisting of *config.num_hidden_layers* layers. Each layer is a [`InternLM2DecoderLayer`] Args: config: InternL
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/base/modeling_internlm_.py:804
↓ 2 callersClassIteratorize
Transforms a function that takes a callback into a lazy iterator (generator).
InternLM-XComposer-1.0/demo_asset/serve_utils.py:42
↓ 2 callersClassKeywordsStoppingCriteria
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/memory/mm_utils.py:75
↓ 2 callersClassMMBenchDataset
InternLM-XComposer-2.0/evaluation/mmbench/utils.py:47
↓ 2 callersClassMMDump
InternLM-XComposer-2.0/evaluation/mmbench/utils.py:12
↓ 2 callersClassSample_dataset
InternLM-XComposer-1.0/finetune/data_mix.py:100
↓ 2 callersClassSlotAttention
Slot Attention module.
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/memory/builder_projector.py:37
↓ 2 callersClassStoppingCriteriaSub
InternLM-XComposer-1.0/demo_asset/conversation.py:132
↓ 2 callersClassStream
InternLM-XComposer-1.0/demo_asset/serve_utils.py:32
↓ 2 callersClassStreamToLogger
Fake file-like stream object that redirects writes to a logger instance.
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/memory/utils.py:60
↓ 2 callersClassStreamToLogger
Fake file-like stream object that redirects writes to a logger instance.
projects/DualFocus/dualfocus/utils.py:61
↓ 2 callersClassTelePhone
TELEPHONE类
InternLM-XComposer-2.5-OmniLive/benchmarks/eval_audio/cn_tn.py:787
↓ 2 callersClassTextNorm
InternLM-XComposer-2.5-OmniLive/benchmarks/eval_audio/cn_tn.py:1066
↓ 1 callersClassAudioDataset
InternLM-XComposer-2.5-OmniLive/benchmarks/eval_audio/evaluate_asr.py:44
↓ 1 callersClassAudioStreamer
InternLM-XComposer-2.5-OmniLive/online_demo/Backend/backend_ixc/audio_stream_consume.py:35
↓ 1 callersClassBaseMixProjector
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/memory/builder_projector.py:311
↓ 1 callersClassBaseProjector
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/memory/builder_projector.py:279
↓ 1 callersClassBasicTextNormalizer
InternLM-XComposer-2.5-OmniLive/benchmarks/eval_audio/whisper_normalizer/basic.py:56
↓ 1 callersClassCLIPVisionTower
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/memory/clip_encoder.py:7
↓ 1 callersClassCLIPVisionTower
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/base/build_mlp.py:47
↓ 1 callersClassCLIPVisionTower
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/merge_lora/build_mlp.py:47
↓ 1 callersClassCLIPVisionTower
projects/ShareGPT4V/share4v/model/multimodal_encoder/clip_encoder.py:9
↓ 1 callersClassCLIPVisionTower
projects/DualFocus/dualfocus/model/multimodal_encoder/clip_encoder.py:7
↓ 1 callersClassChatStreamer
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/base/modeling_internlm_.py:1598
↓ 1 callersClassChineseNumberDigit
中文数字字符
InternLM-XComposer-2.5-OmniLive/benchmarks/eval_audio/cn_tn.py:448
↓ 1 callersClassClient
InternLM-XComposer-2.5-OmniLive/online_demo_gradio/frontend.py:28
↓ 1 callersClassClient
InternLM-XComposer-2.5-OmniLive/online_demo_gradio/backend.py:28
↓ 1 callersClassCompressProjector
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/memory/builder_projector.py:195
↓ 1 callersClassCustomDataset
projects/ShareGPT4V/share4v/eval/model_vqa_loader.py:33
↓ 1 callersClassDataCollatorForSupervisedDataset
Collate examples for supervised fine-tuning.
InternLM-XComposer-2.0/finetune/finetune.py:134
↓ 1 callersClassDataCollatorForSupervisedDataset
Collate examples for supervised fine-tuning.
projects/ShareGPT4V/share4v/train/train.py:763
↓ 1 callersClassDataCollatorForSupervisedDataset
Collate examples for supervised fine-tuning.
InternLM-XComposer-1.0/finetune/finetune.py:132
↓ 1 callersClassDataCollatorForSupervisedDataset
Collate examples for supervised fine-tuning.
InternLM-XComposer-2.5-Reward/training/finetune.py:137
↓ 1 callersClassDataCollatorForSupervisedDataset
Collate examples for supervised fine-tuning.
finetune/finetune.py:134
↓ 1 callersClassDatabase
gradio_demo/gradio_demo_composition.py:138
↓ 1 callersClassDatabase
InternLM-XComposer-2.0/examples/gradio_demo_composition.py:90
↓ 1 callersClassDatabase
InternLM-XComposer-2.0/examples/IXC2_demo.py:91
↓ 1 callersClassDate
DATE类
InternLM-XComposer-2.5-OmniLive/benchmarks/eval_audio/cn_tn.py:839
↓ 1 callersClassDemo_UI
gradio_demo/gradio_demo_composition.py:197
↓ 1 callersClassDemo_UI
gradio_demo/gradio_demo_chat.py:120
↓ 1 callersClassDemo_UI
InternLM-XComposer-2.0/examples/gradio_demo_composition.py:149
↓ 1 callersClassDemo_UI
InternLM-XComposer-2.0/examples/IXC2_demo.py:150
↓ 1 callersClassDemo_UI
InternLM-XComposer-2.0/examples/gradio_demo_chat.py:40
↓ 1 callersClassDemo_UI
InternLM-XComposer-2.0/examples/gradio_4khd_chat.py:109
↓ 1 callersClassDemo_UI
InternLM-XComposer-1.0/examples/web_demo_4bit.py:65
↓ 1 callersClassDemo_UI
InternLM-XComposer-1.0/examples/web_demo.py:47
↓ 1 callersClassDemo_UI
examples/gradio_demo_gaokaozuowen.py:89
↓ 1 callersClassEnglishNumberNormalizer
Convert any spelled-out numbers into arabic numbers, while handling: - remove any commas - keep the suffixes such as: `1960s`, `274th`,
InternLM-XComposer-2.5-OmniLive/benchmarks/eval_audio/whisper_normalizer/english.py:12
↓ 1 callersClassEnglishSpellingNormalizer
Applies British-American spelling mappings as listed in [1]. [1] https://www.tysto.com/uk-us-spelling-list.html
InternLM-XComposer-2.5-OmniLive/benchmarks/eval_audio/whisper_normalizer/english.py:450
↓ 1 callersClassEnglishTextNormalizer
InternLM-XComposer-2.5-OmniLive/benchmarks/eval_audio/whisper_normalizer/english.py:465
↓ 1 callersClassEvaCLIPAttention
Multi-headed attention from 'Attention Is All You Need' paper
projects/ShareGPT4V/share4v/model/multimodal_encoder/modeling_evaclip.py:239
↓ 1 callersClassEvaCLIPEncoderLayer
projects/ShareGPT4V/share4v/model/multimodal_encoder/modeling_evaclip.py:484
↓ 1 callersClassEvaCLIPMLP
projects/ShareGPT4V/share4v/model/multimodal_encoder/modeling_evaclip.py:469
↓ 1 callersClassEvaCLIPOutput
Args: loss (`torch.FloatTensor` of shape `(1,)`, *optional*, returned when `return_loss` is `True`): Contrastive loss for ima
projects/ShareGPT4V/share4v/model/multimodal_encoder/modeling_evaclip.py:132
↓ 1 callersClassEvaCLIPTextEmbeddings
projects/ShareGPT4V/share4v/model/multimodal_encoder/modeling_evaclip.py:206
↓ 1 callersClassEvaCLIPTextModelOutput
Base class for text model's outputs that also contains a pooling of the last hidden states. Args: text_embeds (`torch.FloatTensor` o
projects/ShareGPT4V/share4v/model/multimodal_encoder/modeling_evaclip.py:103
↓ 1 callersClassEvaCLIPVisionEmbeddings
projects/ShareGPT4V/share4v/model/multimodal_encoder/modeling_evaclip.py:169
↓ 1 callersClassEvaCLIPVisionModelOutput
Base class for vision model's outputs that also contains image embeddings of the pooling of the last hidden states. Args: image_embe
projects/ShareGPT4V/share4v/model/multimodal_encoder/modeling_evaclip.py:74
↓ 1 callersClassEvaluationTokenizer
A generic evaluation-time tokenizer, which leverages built-in tokenizers in sacreBLEU (https://github.com/mjpost/sacrebleu). It additionally provi
InternLM-XComposer-2.5-OmniLive/benchmarks/eval_audio/evaluate_tokenizer.py:9
↓ 1 callersClassIXC2d5_OL
InternLM-XComposer-2.5-OmniLive/benchmarks/streamingbench/src/model/ixc2d5_ol.py:190
↓ 1 callersClassIXC_Client
InternLM-XComposer-2.5-OmniLive/online_demo_gradio/backend_llm.py:86
↓ 1 callersClassIdentityMap
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/base/build_mlp.py:35
↓ 1 callersClassIdentityMap
InternLM-XComposer-2.5-OmniLive/internlm-xcomposer2d5-ol-7b/merge_lora/build_mlp.py:35
↓ 1 callersClassIdentityMap
projects/ShareGPT4V/share4v/model/multimodal_projector/builder.py:6
↓ 1 callersClassIdentityMap
projects/DualFocus/dualfocus/model/multimodal_projector/builder.py:6
next →1–100 of 331, ranked by callers