query='What does the picture show?'image_paths= ['image_path1']
fromcliimportHuatuoChatbotbot=HuatuoChatbot(path-to-huatuogpt-vision-model)
output=bot.inference(query, image_paths)
print(output) # Prints the output of the model
HuatuoGPT-II: One-stage Training for Medical Adaptation of LLMs
HuatuoGPT-Vision: Injecting Medical Visual Knowledge into Multimodal LLMs at Scale
Citation
@misc{chen2024huatuogptvisioninjectingmedicalvisual,
title={HuatuoGPT-Vision, Towards Injecting Medical Visual Knowledge into Multimodal LLMs at Scale},
author={Junying Chen and Ruyi Ouyang and Anningzhe Gao and Shunian Chen and Guiming Hardy Chen and Xidong Wang and Ruifei Zhang and Zhenyang Cai and Ke Ji and Guangjun Yu and Xiang Wan and Benyou Wang},
year={2024},
eprint={2406.19280},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2406.19280},
}