NExT-GPT icon indicating copy to clipboard operation
NExT-GPT copied to clipboard

some problem with the combine

Open crazyCoder18 opened this issue 1 year ago • 7 comments

2024-02-22

The generated file is .satetensors, Instead of .bin file

crazyCoder18 avatar Feb 22 '24 07:02 crazyCoder18

Same question. When I use the weight like this one for demo_app.py, the NExT-GPT can't generate any multi-modality object and might be some weights missing. I guess this is related to : 未命名

chengxin0913 avatar Mar 02 '24 16:03 chengxin0913

same...

Michael4933 avatar Apr 12 '24 02:04 Michael4933

Now I have figured it out. It is very likely that the llama weights you select is not appropriate. My former attempt failed at choose a incorrect .pth file at size 13G, and it turns out that three .safetensors files were generated, instead of 2 .bin files. Regarding the selection of llama, you are suggested to choose the ones on huggingface consisiting of two .bin file like this https://huggingface.co/yahma/llama-7b-hf/tree/main. This way, the combined output is likely to be .bin Good Luck!

Michael4933 avatar Apr 13 '24 11:04 Michael4933

Hi @Michael4933, I use the huggingface link you suggested, but still get .satetensors files. Did you use the llama parameters from https://huggingface.co/yahma/llama-7b-hf/tree/main to generate bin files? Thank you!

WYY220062 avatar May 30 '24 07:05 WYY220062

Fixing the transformers version as the requirements.txt addressed this for me.

Mao-KU avatar Jul 05 '24 02:07 Mao-KU

Hi @Michael4933, I use the huggingface link you suggested, but still get .satetensors files. Did you use the llama parameters from https://huggingface.co/yahma/llama-7b-hf/tree/main to generate bin files? Thank you!

hi, do u know how to fix it now?

Cece1031 avatar Aug 06 '24 12:08 Cece1031

Now I have figured it out. It is very likely that the llama weights you select is not appropriate. My former attempt failed at choose a incorrect .pth file at size 13G, and it turns out that three .safetensors files were generated, instead of 2 .bin files. Regarding the selection of llama, you are suggested to choose the ones on huggingface consisiting of two .bin file like this https://huggingface.co/yahma/llama-7b-hf/tree/main. This way, the combined output is likely to be .bin Good Luck!

can I get a copy of yours? Thank u very very much!!!!

Cece1031 avatar Aug 07 '24 06:08 Cece1031