Commit a7400bb9 authored by wanglch's avatar wanglch
Browse files

Update README.md

parent c27495de
...@@ -78,7 +78,7 @@ pip install ninja ...@@ -78,7 +78,7 @@ pip install ninja
1. For Vary-base 1. For Vary-base
```Shell ```Shell
deepspeed Vary/train/train_qwen_vary.py --deepspeed /Vary/zero_config/zero2.json deepspeed vary/train/train_qwen_vary.py --deepspeed /vary/zero_config/zero2.json
--model_name_or_path /Qwen-7B/path/ --model_name_or_path /Qwen-7B/path/
--vision_tower /vit-large-patch14/path/ --vision_tower /vit-large-patch14/path/
--freeze_vision_tower True --freeze_vision_tower True
...@@ -108,7 +108,7 @@ deepspeed Vary/train/train_qwen_vary.py --deepspeed /Vary/zero_config/zero2.j ...@@ -108,7 +108,7 @@ deepspeed Vary/train/train_qwen_vary.py --deepspeed /Vary/zero_config/zero2.j
``` ```
2. For Vary-tiny 2. For Vary-tiny
```Shell ```Shell
deepspeed Vary/train/train_opt.py --deepspeed /Vary/zero_config/zero2.json deepspeed vary/train/train_opt.py --deepspeed /vary/zero_config/zero2.json
--model_name_or_path /opt125m/path/ --model_name_or_path /opt125m/path/
--conversation_version opt --conversation_version opt
--freeze_vision_tower False --freeze_vision_tower False
...@@ -141,7 +141,7 @@ deepspeed Vary/train/train_opt.py --deepspeed /Vary/zero_config/zero2.json ...@@ -141,7 +141,7 @@ deepspeed Vary/train/train_opt.py --deepspeed /Vary/zero_config/zero2.json
**需严格按照本仓库代码目录进行排列** **需严格按照本仓库代码目录进行排列**
备注:在run.sh修改 --image-file 替换ocr文件 备注:在run.sh修改 --image-file 替换ocr文件
``` ```
python /home/wanglch/projects/Vary/vary/demo/run_qwen_vary.py --model-name /home/wanglch/projects/Vary/cache/models--HaoranWei--vary-llava80k --image-file /home/wanglch/projects/Vary/image/pic.jpg python /home/wanglch/projects/Vary_pytorch/vary/demo/run_qwen_vary.py --model-name /home/wanglch/projects/Vary_pytorch/cache/models--HaoranWei--vary-llava80k --image-file /home/wanglch/projects/Vary_pytorch/image/pic.jpg
``` ```
备注:修改 vary/demo/run_qwen_vary.py 替换57行代码执行不同任务操作 备注:修改 vary/demo/run_qwen_vary.py 替换57行代码执行不同任务操作
``` ```
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment