small fix of cpp readme(#12425)
This commit is contained in:
parent
8fdc36c140
commit
2935e97610
1 changed files with 2 additions and 2 deletions
|
|
@ -30,11 +30,11 @@ pip install transformers==4.45.0 accelerate==0.33.0
|
|||
```
|
||||
|
||||
## 2. Convert Model
|
||||
We provide a [convert script](convert_model.py) under current directory, by running it, you can obtain the whole weights and configuration files which are required to run C++ example.
|
||||
We provide a [convert script](convert.py) under current directory, by running it, you can obtain the whole weights and configuration files which are required to run C++ example.
|
||||
|
||||
```cmd
|
||||
:: to convert Qwen2.5-7b-Instruct
|
||||
python convert_model.py --repo-id-or-model-path Qwen/Qwen2.5-7B-Instruct --save-directory <converted_model_path>
|
||||
python convert.py --repo-id-or-model-path Qwen/Qwen2.5-7B-Instruct --save-directory <converted_model_path>
|
||||
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue