LISA icon indicating copy to clipboard operation
LISA copied to clipboard

For Llama2, How should we use the "liuhaotian/llava-llama-2-7b-chat-lightning-lora-preview"

Open zhangyupeng123 opened this issue 1 year ago • 2 comments

We want to use Llama2, so according to the source code to try "liuhaotian/llava-llama-2-7b-chat-lightning-lora-preview", during which the following problems arise: How can I solve it?

发生异常: KeyError 'LlavaConfig' File "/mnt/21T/zhangyupeng/code/LISA/train_ds.py", line 121, in main tokenizer = transformers.AutoTokenizer.from_pretrained( File "/mnt/21T/zhangyupeng/code/LISA/train_ds.py", line 585, in main(sys.argv[1:]) KeyError: 'LlavaConfig'

zhangyupeng123 avatar Sep 02 '23 12:09 zhangyupeng123

exactly, same error

dengandong avatar Sep 15 '23 02:09 dengandong

same error

haoxiangzhaotju avatar Oct 17 '23 12:10 haoxiangzhaotju