File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
zh/guide_cloud/integration Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -74,8 +74,8 @@ swift sft \
74
74
--dataloader_num_workers 4 \
75
75
--model_author swift \
76
76
--model_name swift-robot \
77
- --report_to swanlab \ # [!code ++]
78
- --swanlab_project swift-robot # [!code ++]
77
+ --report_to swanlab \
78
+ --swanlab_project swift-robot
79
79
```
80
80
81
81
运行指令后,就可以在SwanLab看到训练过程:
Original file line number Diff line number Diff line change @@ -55,11 +55,11 @@ pip install -U swanlab
55
55
56
56
** 完整的测试命令如下:**
57
57
58
- ``` bash
58
+ ``` bash {4}
59
59
PYTHONUNBUFFERED=1 python3 -m verl.trainer.main_ppo \
60
60
data.train_files=$HOME /data/gsm8k/train.parquet \
61
61
data.val_files=$HOME /data/gsm8k/test.parquet \
62
- trainer.logger=[' console' ,' swanlab' ] \ # [!code ++]
62
+ trainer.logger=[' console' ,' swanlab' ] \
63
63
data.train_batch_size=256 \
64
64
data.val_batch_size=1312 \
65
65
data.max_prompt_length=512 \
You can’t perform that action at this time.
0 commit comments