X-PLUG / mPLUG-Owl

mPLUG-Owl: The Powerful Multi-modal Large Language Model Family
https://www.modelscope.cn/studios/damo/mPLUG-Owl
MIT License
2.25k stars 171 forks source link

mplug-owl2-llama2-7b initialization error #216

Closed lihong2303 closed 5 months ago

lihong2303 commented 5 months ago

[LlamaDecoderLayer(config, layer_idx) for layer_idx in range(config.num_hidden_layers)];\TypeError: LlamaDecoderLayer.init() takes 2 positional arguments but 3 were given;

When running the huggingface sample code given in repro, the above error occurred.