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
MiniCMP-V_pytorch
Commits
6735898e
"vscode:/vscode.git/clone" did not exist on "692ddb8c18ddb0f0430586c0fff5b758f376c8b2"
Commit
6735898e
authored
Jan 13, 2025
by
wanglch
Browse files
Update README.md
parent
e156bfe1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
README.md
README.md
+5
-5
No files found.
README.md
View file @
6735898e
...
@@ -112,11 +112,11 @@ pip install -r requirements.txt -i http://mirrors.aliyun.com/pypi/simple
...
@@ -112,11 +112,11 @@ pip install -r requirements.txt -i http://mirrors.aliyun.com/pypi/simple
训练需将finetune文件夹中的
[
finetune_lora.sh
](
./finetune/finetune_ds.sh
)
中修改以下参数
训练需将finetune文件夹中的
[
finetune_lora.sh
](
./finetune/finetune_ds.sh
)
中修改以下参数
```
```
MODEL="XXXXXX/MiniCPM-Llama3-V-2_5" # or 修改为本地模型地址
MODEL="XXXXXX/MiniCPM-Llama3-V-2_5" # or 修改为本地模型地址
DATA="data/self_build/" # 本地自定义训练集json文件
DATA="data/self_build/
data/train_data/train_data.json
" # 本地自定义训练集json文件
EVAL_DATA="data/self_build/" # 本地自定义验证集json文件
EVAL_DATA="data/self_build/
data/eval_data/eval_data.json
" # 本地自定义验证集json文件
--output_dir
/home/wanglch/projects
/saves/MiniCPM-Llama3-V-2_5/lora_train_dtk \
--output_dir /saves/MiniCPM-Llama3-V-2_5/lora_train_dtk \
--logging_dir
/home/wanglch/projects
/saves/MiniCPM-Llama3-V-2_5/lora_train_dtk \
--logging_dir /saves/MiniCPM-Llama3-V-2_5/lora_train_dtk \
```
```
### 多卡分布式训练
### 多卡分布式训练
...
@@ -129,7 +129,7 @@ sh finetune_ds.sh
...
@@ -129,7 +129,7 @@ sh finetune_ds.sh
## 推理
## 推理
执行多种任务时需要对以下参数进行修改
执行多种任务时需要对以下参数进行修改
model_path = '
openbmb
/MiniCPM-Llama3-V-2_5' # 修改为本地模型路径
model_path = '
XXXXXX
/MiniCPM-Llama3-V-2_5' # 修改为本地模型路径
### 单机单卡
### 单机单卡
...
...
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