mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-08-04 20:52:59 +08:00
update readme
Former-commit-id: 0cb260f453e480e5eb65b6424ac73e101b038ef1
This commit is contained in:
parent
a388af4adc
commit
5d7c97b4de
@ -250,7 +250,7 @@ export USE_MODELSCOPE_HUB=1 # `set USE_MODELSCOPE_HUB=1` for Windows
|
|||||||
Then you can train the corresponding model by specifying a model ID of the ModelScope Hub. (find a full list of model IDs at [ModelScope Hub](https://modelscope.cn/models))
|
Then you can train the corresponding model by specifying a model ID of the ModelScope Hub. (find a full list of model IDs at [ModelScope Hub](https://modelscope.cn/models))
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
python src/train_bash.py \
|
CUDA_VISIBLE_DEVICES=0 python src/train_bash.py \
|
||||||
--model_name_or_path modelscope/Llama-2-7b-ms \
|
--model_name_or_path modelscope/Llama-2-7b-ms \
|
||||||
... # arguments (same as above)
|
... # arguments (same as above)
|
||||||
```
|
```
|
||||||
|
@ -250,7 +250,7 @@ export USE_MODELSCOPE_HUB=1 # Windows 使用 `set USE_MODELSCOPE_HUB=1`
|
|||||||
接着即可通过指定模型名称来训练对应的模型。(在[魔搭社区](https://modelscope.cn/models)查看所有可用的模型)
|
接着即可通过指定模型名称来训练对应的模型。(在[魔搭社区](https://modelscope.cn/models)查看所有可用的模型)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
python src/train_bash.py \
|
CUDA_VISIBLE_DEVICES=0 python src/train_bash.py \
|
||||||
--model_name_or_path modelscope/Llama-2-7b-ms \
|
--model_name_or_path modelscope/Llama-2-7b-ms \
|
||||||
... # 参数同上
|
... # 参数同上
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user