-
Notifications
You must be signed in to change notification settings - Fork 188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What is the conv-mode for LLaVA-NeXT-Video-7B-32K #54
Comments
Hi, what is the version of your transformers? |
Thanks!
4.40.0.dev0 |
My TF version is 4.39.0 and the conv model should be mistral_instruct for LLaVA-NeXT-Video-7B-32K. BTW, there is "attention_dropout" in "https://huggingface.co/lmms-lab/LLaVA-NeXT-Video-7B-32K/blob/main/config.json" |
Thanks @ZhangYuanhan-AI !
Time taken for inference: 2.013814687728882 seconds Response: |
LLaVA-NeXT/playground/demo/video_demo.py Line 160 in 6944062
try to change this line to output_ids = model.generate(inputs=input_ids, images=video, attention_mask=attention_masks, modalities="video", do_sample=True, temperature=0.2, max_new_tokens=1024, use_cache=True) |
I tried the following conv-mode:
vicuna_v1
--conv-mode mistral_direct
Llava_llama_2
llama_2
mistral_instruct
and encounter the error as below:
AttributeError: 'LlavaMistralConfig' object has no attribute 'attention_bias'
The text was updated successfully, but these errors were encountered: