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
Mistral-Small_pytorch
Commits
4a17b888
Commit
4a17b888
authored
Jun 17, 2025
by
chenych
Browse files
Fix README
parent
4ea0033b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
README.md
README.md
+2
-1
No files found.
README.md
View file @
4a17b888
...
@@ -62,7 +62,7 @@ pip install mistral_common>=1.5.4
...
@@ -62,7 +62,7 @@ pip install mistral_common>=1.5.4
## 训练
## 训练
### Llama Factory 微调方法(推荐)
### Llama Factory 微调方法(推荐)
1.
训练库安装(
**非mistral-small_pytorch目录下**
),安装
**主线版本**
,
`Llama-Factory`
具体安装方法请参考仓库的README。
1.
训练库安装(
**非mistral-small_pytorch目录下**
),安装
**主线版本**
,
`Llama-Factory`
具体安装方法请参考仓库的README。
```
```
bash
git clone https://developer.sourcefind.cn/codes/OpenDAS/llama-factory
git clone https://developer.sourcefind.cn/codes/OpenDAS/llama-factory
```
```
...
@@ -91,6 +91,7 @@ SFT训练脚本示例,参考`llama-factory/train_lora`下对应yaml文件。
...
@@ -91,6 +91,7 @@ SFT训练脚本示例,参考`llama-factory/train_lora`下对应yaml文件。
<img
src=
"./doc/img_v3_02n6_c32e8a36-8338-4dff-9aec-d710746a61fg.jpg"
/>
<img
src=
"./doc/img_v3_02n6_c32e8a36-8338-4dff-9aec-d710746a61fg.jpg"
/>
</div>
</div>
修改完成后,执行下面的方法。
修改完成后,执行下面的方法。
```
bash
```
bash
python infer_vllm.py
--model_name_or_path
/path_of/model
python infer_vllm.py
--model_name_or_path
/path_of/model
```
```
...
...
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