Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/X-PLUG/mPLUG-Owl
/ types & classes
Types & classes
168 in github.com/X-PLUG/mPLUG-Owl
⨍
Functions
946
◇
Types & classes
168
↳
Endpoints
11
↓ 13 callers
Class
StandardData
mPLUG-Owl3/evaluation/tasks/task_define/base.py:22
↓ 9 callers
Class
LayerNormFp32
Subclass torch's LayerNorm to handle fp16 (by casting to float32 and back).
mPLUG-Owl/mplug_owl_video/modeling_mplug_owl.py:162
↓ 8 callers
Class
LayerNormFp32
Subclass torch's LayerNorm to handle fp16 (by casting to float32 and back).
mPLUG-Owl/mplug_owl/modeling_mplug_owl.py:151
↓ 5 callers
Class
MultiwayNetwork
mPLUG-Owl2/mplug_owl2/model/multiway.py:7
↓ 4 callers
Class
Conversation
A class that keeps all conversation history.
mPLUG-Owl2/mplug_owl2/conversation.py:17
↓ 3 callers
Class
KeywordsStoppingCriteria
mPLUG-Owl2/mplug_owl2/mm_utils.py:86
↓ 3 callers
Class
MplugOwlVisionConfig
r""" This is the configuration class to store the configuration of a [`MplugOwlVisionModel`]. It is used to instantiate a mPLUG-Owl visio
mPLUG-Owl2/mplug_owl2/model/configuration_mplug_owl2.py:174
↓ 3 callers
Class
RMSNorm
mPLUG-Owl2/mplug_owl2/model/modeling_qwen.py:1303
↓ 2 callers
Class
AttentionMaskConverter
A utility attention mask class that allows one to: - Create a causal 4d mask - Create a causal 4d mask with slided window
mPLUG-Owl2/mplug_owl2/model/modeling_attn_mask_utils.py:19
↓ 2 callers
Class
Conversation
A class that keeps all conversation history.
mPLUG-Owl/serve/conversation.py:15
↓ 2 callers
Class
EvalAIAnswerProcessor
Processes an answer similar to Eval AI copied from https://github.com/facebookresearch/mmf/blob/c46b3b3391275b4181567db80943473a8
mPLUG-Owl2/mplug_owl2/evaluate/vqa_eval.py:337
↓ 2 callers
Class
LlamaConfig
r""" This is the configuration class to store the configuration of a [`LlamaModel`]. It is used to instantiate an LLaMA model according to the
mPLUG-Owl2/mplug_owl2/model/configuration_mplug_owl2.py:15
↓ 2 callers
Class
MPLUGOwl2Config
mPLUG-Owl2/mplug_owl2/model/configuration_mplug_owl2.py:327
↓ 2 callers
Class
MplugOwlProcessor
mPLUG-Owl/mplug_owl/processing_mplug_owl.py:14
↓ 2 callers
Class
MplugOwlVisionConfig
r""" This is the configuration class to store the configuration of a [`MplugOwlVisionModel`]. It is used to instantiate a mPLUG-Owl vision en
mPLUG-Owl/mplug_owl_video/configuration_mplug_owl.py:34
↓ 2 callers
Class
MplugOwlVisionConfig
r""" This is the configuration class to store the configuration of a [`MplugOwlVisionModel`]. It is used to instantiate a mPLUG-Owl visio
mPLUG-Owl/mplug_owl/configuration_mplug_owl.py:34
↓ 2 callers
Class
MplugOwlVisionModel
mPLUG-Owl2/mplug_owl2/model/visual_encoder.py:393
↓ 2 callers
Class
MplugOwlVisionModel
mPLUG-Owl/mplug_owl_video/modeling_mplug_owl.py:654
↓ 2 callers
Class
MplugOwlVisionModel
mPLUG-Owl/mplug_owl/modeling_mplug_owl.py:595
↓ 2 callers
Class
MplugOwlVisualAbstractorConfig
mPLUG-Owl2/mplug_owl2/model/configuration_mplug_owl2.py:271
↓ 2 callers
Class
MplugOwlVisualAbstractorModel
mPLUG-Owl2/mplug_owl2/model/visual_encoder.py:780
↓ 2 callers
Class
MplugOwlVisualAbstractorModel
mPLUG-Owl/mplug_owl_video/modeling_mplug_owl.py:1012
↓ 2 callers
Class
MplugOwlVisualAbstractorModel
mPLUG-Owl/mplug_owl/modeling_mplug_owl.py:948
↓ 2 callers
Class
MultiModalDataset
MultiModal dataset
mPLUG-Owl/pipeline/data_utils/xgpt3_dataset.py:38
↓ 2 callers
Class
NullContextWrapper
mPLUG-Owl/serve/io_utils.py:413
↓ 2 callers
Class
OSSFile
mPLUG-Owl/serve/io_utils.py:345
↓ 2 callers
Class
QuickGELU
mPLUG-Owl/mplug_owl_video/modeling_mplug_owl.py:179
↓ 2 callers
Class
RandomAugment
mPLUG-Owl/pipeline/data_utils/randaugment.py:311
↓ 2 callers
Class
StreamToLogger
Fake file-like stream object that redirects writes to a logger instance.
mPLUG-Owl2/mplug_owl2/utils.py:60
↓ 2 callers
Class
VQA
mPLUG-Owl2/mplug_owl2/evaluate/vqa.py:31
↓ 2 callers
Class
VQA
mPLUG-Owl3/evaluation/vqa_utils/vqa.py:31
↓ 1 callers
Class
BinaryOSSFile
mPLUG-Owl/serve/io_utils.py:400
↓ 1 callers
Class
CaptionDataset
mPLUG-Owl2/mplug_owl2/evaluate/evaluate_caption.py:27
↓ 1 callers
Class
Controller
mPLUG-Owl2/mplug_owl2/serve/controller.py:57
↓ 1 callers
Class
CustomTrainer
mPLUG-Owl/pipeline/train.py:102
↓ 1 callers
Class
DataCollatorForSupervisedDataset
Collate examples for supervised fine-tuning.
mPLUG-Owl2/mplug_owl2/train/train.py:590
↓ 1 callers
Class
DefaultIO
mPLUG-Owl/serve/io_utils.py:70
↓ 1 callers
Class
EvalAIAnswerProcessor
Processes an answer similar to Eval AI copied from https://github.com/facebookresearch/mmf/blob/c46b3b3391275b4181567db80943473a8
mPLUG-Owl3/evaluation/vqa_utils/evalai_processor.py:6
↓ 1 callers
Class
FlashSelfAttention
mPLUG-Owl2/mplug_owl2/model/modeling_qwen.py:144
↓ 1 callers
Class
ImageIO
mPLUG-Owl3/evaluation/tasks/task_define/base.py:49
↓ 1 callers
Class
InferenceDataset
mPLUG-Owl3/evaluation/tasks/general_task_pipeline2.py:92
↓ 1 callers
Class
InferenceSampler
mPLUG-Owl2/mplug_owl2/evaluate/evaluate_mme.py:250
↓ 1 callers
Class
InferenceSampler
mPLUG-Owl2/mplug_owl2/evaluate/evaluate_mmbench.py:144
↓ 1 callers
Class
InferenceSampler
mPLUG-Owl2/mplug_owl2/evaluate/evaluate_vqa.py:108
↓ 1 callers
Class
InferenceSampler
mPLUG-Owl2/mplug_owl2/evaluate/evaluate_mmmu.py:391
↓ 1 callers
Class
InferenceSampler
mPLUG-Owl2/mplug_owl2/evaluate/evaluate_caption.py:75
↓ 1 callers
Class
InferenceSamplerV2
mPLUG-Owl3/evaluation/tasks/general_task_pipeline2.py:61
↓ 1 callers
Class
Iteratorize
Transforms a function that takes a callback into a lazy iterator (generator).
mPLUG-Owl/serve/model_utils.py:42
↓ 1 callers
Class
LazySupervisedDataset
Dataset for supervised fine-tuning.
mPLUG-Owl2/mplug_owl2/train/train.py:444
↓ 1 callers
Class
LengthGroupedSampler
r""" Sampler that samples indices in a way that groups together features of the dataset of roughly the same length while keeping a bit of rand
mPLUG-Owl2/mplug_owl2/train/mplug_owl2_trainer.py:99
↓ 1 callers
Class
LlamaAttention
Multi-headed attention from 'Attention Is All You Need' paper
mPLUG-Owl2/mplug_owl2/model/modeling_llama2.py:33
↓ 1 callers
Class
LongVideoBenchDataset
mPLUG-Owl3/evaluation/tasks/task_define/next_qa.py:568
↓ 1 callers
Class
MPLUGOwl2LlamaForCausalLM
mPLUG-Owl2/mplug_owl2/model/modeling_mplug_owl2.py:213
↓ 1 callers
Class
MPLUGOwl2LlamaModel
mPLUG-Owl2/mplug_owl2/model/modeling_mplug_owl2.py:201
↓ 1 callers
Class
MPLUGOwl2QWenModel
mPLUG-Owl2/mplug_owl2/model/modeling_mplug_owl2.py:207
↓ 1 callers
Class
MPLUGOwl2Trainer
mPLUG-Owl2/mplug_owl2/train/mplug_owl2_trainer.py:133
↓ 1 callers
Class
MVBench_dataset
mPLUG-Owl3/evaluation/tasks/task_define/mvbench.py:188
↓ 1 callers
Class
ModelWorker
mPLUG-Owl2/mplug_owl2/serve/model_worker.py:44
↓ 1 callers
Class
ModelWorker
mPLUG-Owl2/mplug_owl2/local_serve/model_worker.py:29
↓ 1 callers
Class
MplugOwlMLP
mPLUG-Owl2/mplug_owl2/model/visual_encoder.py:237
↓ 1 callers
Class
MplugOwlMLP
mPLUG-Owl/mplug_owl_video/modeling_mplug_owl.py:328
↓ 1 callers
Class
MplugOwlMLP
mPLUG-Owl/mplug_owl/modeling_mplug_owl.py:276
↓ 1 callers
Class
MplugOwlVisionAttention
Multi-headed attention from 'Attention Is All You Need' paper
mPLUG-Owl2/mplug_owl2/model/visual_encoder.py:129
↓ 1 callers
Class
MplugOwlVisionAttention
Multi-headed attention from 'Attention Is All You Need' paper
mPLUG-Owl/mplug_owl_video/modeling_mplug_owl.py:225
↓ 1 callers
Class
MplugOwlVisionAttention
Multi-headed attention from 'Attention Is All You Need' paper
mPLUG-Owl/mplug_owl/modeling_mplug_owl.py:168
↓ 1 callers
Class
MplugOwlVisionEmbeddings
mPLUG-Owl2/mplug_owl2/model/visual_encoder.py:85
↓ 1 callers
Class
MplugOwlVisionEmbeddings
mPLUG-Owl/mplug_owl_video/modeling_mplug_owl.py:121
↓ 1 callers
Class
MplugOwlVisionEmbeddings
mPLUG-Owl/mplug_owl/modeling_mplug_owl.py:115
↓ 1 callers
Class
MplugOwlVisionEncoder
Transformer encoder consisting of `config.num_hidden_layers` self attention layers. Each layer is a [`MplugOwlVisionEncoderLayer`]. Args
mPLUG-Owl2/mplug_owl2/model/visual_encoder.py:301
↓ 1 callers
Class
MplugOwlVisionEncoder
Transformer encoder consisting of `config.num_hidden_layers` self attention layers. Each layer is a [`MplugOwlVisionEncoderLayer`]. Args
mPLUG-Owl/mplug_owl_video/modeling_mplug_owl.py:562
↓ 1 callers
Class
MplugOwlVisionEncoder
Transformer encoder consisting of `config.num_hidden_layers` self attention layers. Each layer is a [`MplugOwlVisionEncoderLayer`]. Args
mPLUG-Owl/mplug_owl/modeling_mplug_owl.py:503
↓ 1 callers
Class
MplugOwlVisionEncoderLayer
mPLUG-Owl2/mplug_owl2/model/visual_encoder.py:253
↓ 1 callers
Class
MplugOwlVisionEncoderLayer
mPLUG-Owl/mplug_owl_video/modeling_mplug_owl.py:343
↓ 1 callers
Class
MplugOwlVisionEncoderLayer
mPLUG-Owl/mplug_owl/modeling_mplug_owl.py:291
↓ 1 callers
Class
MplugOwlVisionLocalTemporal
mPLUG-Owl/mplug_owl_video/modeling_mplug_owl.py:184
↓ 1 callers
Class
MplugOwlVisualAbstractorAttention
mPLUG-Owl2/mplug_owl2/model/visual_encoder.py:613
↓ 1 callers
Class
MplugOwlVisualAbstractorAttention
mPLUG-Owl/mplug_owl_video/modeling_mplug_owl.py:855
↓ 1 callers
Class
MplugOwlVisualAbstractorAttention
mPLUG-Owl/mplug_owl/modeling_mplug_owl.py:791
↓ 1 callers
Class
MplugOwlVisualAbstractorConfig
mPLUG-Owl/mplug_owl_video/configuration_mplug_owl.py:126
↓ 1 callers
Class
MplugOwlVisualAbstractorConfig
mPLUG-Owl/mplug_owl/configuration_mplug_owl.py:127
↓ 1 callers
Class
MplugOwlVisualAbstractorCrossOutput
mPLUG-Owl2/mplug_owl2/model/visual_encoder.py:599
↓ 1 callers
Class
MplugOwlVisualAbstractorCrossOutput
mPLUG-Owl/mplug_owl_video/modeling_mplug_owl.py:841
↓ 1 callers
Class
MplugOwlVisualAbstractorCrossOutput
mPLUG-Owl/mplug_owl/modeling_mplug_owl.py:777
↓ 1 callers
Class
MplugOwlVisualAbstractorEncoder
mPLUG-Owl2/mplug_owl2/model/visual_encoder.py:716
↓ 1 callers
Class
MplugOwlVisualAbstractorEncoder
mPLUG-Owl/mplug_owl_video/modeling_mplug_owl.py:948
↓ 1 callers
Class
MplugOwlVisualAbstractorEncoder
mPLUG-Owl/mplug_owl/modeling_mplug_owl.py:884
↓ 1 callers
Class
MplugOwlVisualAbstractorLayer
mPLUG-Owl2/mplug_owl2/model/visual_encoder.py:680
↓ 1 callers
Class
MplugOwlVisualAbstractorLayer
mPLUG-Owl/mplug_owl_video/modeling_mplug_owl.py:912
↓ 1 callers
Class
MplugOwlVisualAbstractorLayer
mPLUG-Owl/mplug_owl/modeling_mplug_owl.py:848
↓ 1 callers
Class
MplugOwlVisualAbstractorMLP
mPLUG-Owl2/mplug_owl2/model/visual_encoder.py:462
↓ 1 callers
Class
MplugOwlVisualAbstractorMLP
mPLUG-Owl/mplug_owl_video/modeling_mplug_owl.py:720
↓ 1 callers
Class
MplugOwlVisualAbstractorMLP
mPLUG-Owl/mplug_owl/modeling_mplug_owl.py:661
↓ 1 callers
Class
MplugOwlVisualAbstractorMultiHeadAttention
mPLUG-Owl2/mplug_owl2/model/visual_encoder.py:481
↓ 1 callers
Class
MplugOwlVisualAbstractorMultiHeadAttention
mPLUG-Owl/mplug_owl_video/modeling_mplug_owl.py:744
↓ 1 callers
Class
MplugOwlVisualAbstractorMultiHeadAttention
mPLUG-Owl/mplug_owl/modeling_mplug_owl.py:680
↓ 1 callers
Class
OSS
Mixed IO module to support both system-level and OSS IO methods
mPLUG-Owl/serve/io_utils.py:145
↓ 1 callers
Class
QWenAttention
mPLUG-Owl2/mplug_owl2/model/modeling_qwen.py:242
↓ 1 callers
Class
QWenBlock
mPLUG-Owl2/mplug_owl2/model/modeling_qwen.py:584
↓ 1 callers
Class
QWenMLP
mPLUG-Owl2/mplug_owl2/model/modeling_qwen.py:564
↓ 1 callers
Class
QWenModel
mPLUG-Owl2/mplug_owl2/model/modeling_qwen.py:687
next →
1–100 of 168, ranked by callers