Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
Vary_pytorch
Commits
a7400bb9
Commit
a7400bb9
authored
May 23, 2024
by
wanglch
Browse files
Update README.md
parent
c27495de
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
README.md
README.md
+3
-3
No files found.
README.md
View file @
a7400bb9
...
...
@@ -78,7 +78,7 @@ pip install ninja
1.
For Vary-base
```
Shell
deepspeed
V
ary/train/train_qwen_vary.py --deepspeed /
V
ary/zero_config/zero2.json
deepspeed
v
ary/train/train_qwen_vary.py --deepspeed /
v
ary/zero_config/zero2.json
--model_name_or_path /Qwen-7B/path/
--vision_tower /vit-large-patch14/path/
--freeze_vision_tower True
...
...
@@ -108,7 +108,7 @@ deepspeed Vary/train/train_qwen_vary.py --deepspeed /Vary/zero_config/zero2.j
```
2.
For Vary-tiny
```
Shell
deepspeed
V
ary/train/train_opt.py --deepspeed /
V
ary/zero_config/zero2.json
deepspeed
v
ary/train/train_opt.py --deepspeed /
v
ary/zero_config/zero2.json
--model_name_or_path /opt125m/path/
--conversation_version opt
--freeze_vision_tower False
...
...
@@ -141,7 +141,7 @@ deepspeed Vary/train/train_opt.py --deepspeed /Vary/zero_config/zero2.json
**需严格按照本仓库代码目录进行排列**
备注:在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行代码执行不同任务操作
```
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment