Error building vision tower
#4
by
Daniel-123
- opened
The following minimal example produces an error:
from cli import HuatuoChatbot modelpath = 'FreedomIntelligence/HuatuoGPT-Vision-7B' bot = HuatuoChatbot(modelpath)
The error message indicates a problem with finding the vision tower:ValueError: Unknown vision tower: FreedomIntelligence/HuatuoGPT-Vision-7B/./vit/clip_vit_large_patch14_336
How can this be fixed? What is the correct way of specificifying the modelpath?
You can first download the model to a local directory, then specify the local model path in bot = HuatuoChatbot(modelpath)
. Do not use "FreedomIntelligence/HuatuoGPT-Vision-7B" as the model path.
Hi
@Daniel-123
,
you can update the code on GitHub. We have just fixed the issue.