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.32k stars 176 forks source link

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

Closed lihong2303 closed 7 months ago

lihong2303 commented 7 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.