視頻講解:Qwen2.5-VL視覺大語言模型復現過程,沒碰到什么坑_嗶哩嗶哩_bilibili
Qwen2.5-VL視覺大語言模型復現過程,沒碰到什么坑
今天復現下Qwen2.5-VL玩玩
https://github.com/QwenLM/Qwen2.5-VL
創建conda環境,實測22.04,python3.10沒什么依賴或者沖突的問題出現
conda create -n qwen2.5-vlconda activate qwen2.5-vl
下載源碼,安裝相關依賴
git clone https://github.com/QwenLM/Qwen2.5-VL
cd Qwen2.5-VL
pip install -r requirements_web_demo.txt
運行demo,有四個版本3B,7B,32B,72B,3B的比較小,但比較傻,下載比較快
python3 web_demo_mm.py --checkpoint-path "Qwen/Qwen2.5-VL-3B-Instruct"
python3 web_demo_mm.py --checkpoint-path "Qwen/Qwen2.5-VL-7B-Instruct"
python3 web_demo_mm.py --checkpoint-path "Qwen/Qwen2.5-VL-32B-Instruct"
python3 web_demo_mm.py --checkpoint-path "Qwen/Qwen2.5-VL-72B-Instruct"
第一次加載會先下載model,大概7個多G
實際運行起來,通過gradio起了一個Web
實際的界面