MiniGPT-4 icon indicating copy to clipboard operation
MiniGPT-4 copied to clipboard

AttributeError: 'LlamaConfig' object has no attribute 'max_position_embeddings'

Open erphao opened this issue 2 years ago • 3 comments

AttributeError: 'LlamaConfig' object has no attribute 'max_position_embeddings'

erphao avatar Apr 26 '23 13:04 erphao

Same issue here.

miliwhitford57 avatar Apr 27 '23 22:04 miliwhitford57

Same issue. Any update?

WaltBao avatar May 22 '23 14:05 WaltBao

You can't index as config[ 'max_position_embeddings'], it has to be config.max_position_embeddings

taziksh avatar Jan 14 '24 07:01 taziksh