UrbanGPT icon indicating copy to clipboard operation
UrbanGPT copied to clipboard

AttributeError: 'STLlamaConfig' object has no attribute 'lin_hidden_size'

Open agoodge opened this issue 1 year ago • 2 comments

When I execute run_urbangpt.py with --model-name facebook/opt350m, I get the following error:

AttributeError: 'STLlamaConfig' object has no attribute 'lin_hidden_size'

All of the other arguments are left unchanged from the .sh file.

Can you tell me what is wrong? Thanks

agoodge avatar Jul 24 '24 07:07 agoodge

I think the author mentioned the updated config file image What I did was copying the content and pasting into my own huggingface "models--lmsys--vicuna-7b-v1.5-16k" folder

zxc2012 avatar Jul 24 '24 19:07 zxc2012

If you have already downloaded all the files of the urbangpt model, can you run urbangpt_eval.sh normally? (sh urbangpt_eval.sh)

LZH-YS1998 avatar Jul 25 '24 10:07 LZH-YS1998