Upload modeling_mplug_owl2.py with huggingface_hub
Browse files- modeling_mplug_owl2.py +1 -1
modeling_mplug_owl2.py
CHANGED
@@ -29,7 +29,7 @@ sys.path.insert(0, dir_path)
|
|
29 |
from transformers import AutoConfig, AutoModelForCausalLM, LlamaConfig, LlamaModel, LlamaForCausalLM
|
30 |
from transformers.modeling_outputs import CausalLMOutputWithPast
|
31 |
|
32 |
-
|
33 |
from .visual_encoder import MplugOwlVisionModel, MplugOwlVisualAbstractorModel
|
34 |
from .modeling_llama2 import replace_llama_modality_adaptive
|
35 |
IGNORE_INDEX = -100
|
|
|
29 |
from transformers import AutoConfig, AutoModelForCausalLM, LlamaConfig, LlamaModel, LlamaForCausalLM
|
30 |
from transformers.modeling_outputs import CausalLMOutputWithPast
|
31 |
|
32 |
+
from .configuration_mplug_owl2 import MPLUGOwl2Config, MplugOwlVisionConfig, MplugOwlVisualAbstractorConfig
|
33 |
from .visual_encoder import MplugOwlVisionModel, MplugOwlVisualAbstractorModel
|
34 |
from .modeling_llama2 import replace_llama_modality_adaptive
|
35 |
IGNORE_INDEX = -100
|