Cannot load mPLUG/DocOwl1.5-Chat model

#3
by Martingoodson - opened

After following the instructions on https://github.com/X-PLUG/mPLUG-DocOwl/tree/main/DocOwl1.5
and cloning the mPLUG/DocOwl1.5-Chat repo, I get the error below when I try to load the model. Am I doing something stupid?

I've tried using the most recent commit and also this commit:
commit 5f9da41f0114398ca94ef9552599cc587010200c (HEAD -> main)
Author: HAWLYQ [email protected]
Date: Fri Apr 5 07:40:02 2024 +0800

release demo on modelscope and huggingface

docowl=DocOwlInfer(ckpt_path=model_path, anchors='grid_9', add_global_img=True)
ic| model_name: 'DocOwl1.5-Chat'
Some weights of MPLUGDocOwlLlamaForCausalLM were not initialized from the model checkpoint at /home/martin/projects/docowl/DocOwl1.5-Chat and are newly initialized: ['model.layers.28.self_attn.rotary_emb.inv_freq', 'model.layers.17.self_attn.rotary_emb.inv_freq', 'model.layers.20.self_attn.rotary_emb.inv_freq', 'model.layers.2.self_attn.rotary_emb.inv_freq', 'model.layers.23.self_attn.rotary_emb.inv_freq', 'model.layers.12.self_attn.rotary_emb.inv_freq', 'model.layers.27.self_attn.rotary_emb.inv_freq', 'model.layers.8.self_attn.rotary_emb.inv_freq', 'model.layers.6.self_attn.rotary_emb.inv_freq', 'model.layers.30.self_attn.rotary_emb.inv_freq', 'model.layers.21.self_attn.rotary_emb.inv_freq', 'model.layers.18.self_attn.rotary_emb.inv_freq', 'model.layers.29.self_attn.rotary_emb.inv_freq', 'model.layers.7.self_attn.rotary_emb.inv_freq', 'model.layers.4.self_attn.rotary_emb.inv_freq', 'model.layers.15.self_attn.rotary_emb.inv_freq', 'model.layers.11.self_attn.rotary_emb.inv_freq', 'model.layers.5.self_attn.rotary_emb.inv_freq', 'model.layers.22.self_attn.rotary_emb.inv_freq', 'model.layers.26.self_attn.rotary_emb.inv_freq', 'model.layers.14.self_attn.rotary_emb.inv_freq', 'model.layers.24.self_attn.rotary_emb.inv_freq', 'model.layers.1.self_attn.rotary_emb.inv_freq', 'model.layers.19.self_attn.rotary_emb.inv_freq', 'model.layers.13.self_attn.rotary_emb.inv_freq', 'model.layers.16.self_attn.rotary_emb.inv_freq', 'model.layers.31.self_attn.rotary_emb.inv_freq', 'model.layers.10.self_attn.rotary_emb.inv_freq', 'model.layers.25.self_attn.rotary_emb.inv_freq', 'model.layers.3.self_attn.rotary_emb.inv_freq', 'model.layers.9.self_attn.rotary_emb.inv_freq']
You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference.

Sign up or log in to comment