Skip to content

Commit 180cea7

Browse files
author
Tong Li
committed
update to conform to json format
1 parent f4e3063 commit 180cea7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

applications/ColossalChat/coati/distributed/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ Each data sample in the training or evaluation `.jsonl` file should follow this
135135
| ---------------- | --------------------------------------- | ----------------- |
136136
| `--model` | Model path or identifier | `/path/to/model` |
137137
| `--dataset` | Path to training `.jsonl` | `/path/to/train_data.jsonl` |
138-
| `--eval-dataset` | JSON of task\:eval\_dataset\_path pairs | `{'eval_1':'/path/to/eval_1.jsonl'}` |
138+
| `--eval-dataset` | JSON of task\:eval\_dataset\_path pairs | `{"eval_1":"/path/to/eval_1.jsonl"}` |
139139
| `--project` | Project name | `Project1` |
140140
| `--num-episodes` | Number of training episodes | `1` |
141141

applications/ColossalChat/rl_example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
default=None,
1818
help="Evaluation dataset for each task, please use json format to specify the dataset for each task. \
1919
For example: {'task1':'data_eval_task1.jsonl', 'task2':'data_eval_task2.jsonl'}, the jsonl file should be in the same format as the training dataset. \
20-
The key is the task name, and the value is the path to the jsonl file",
20+
The key is the task name, and the value is the path to the jsonl file, please replace sinple quotes with double quotes to conform to json format.",
2121
)
2222
parser.add_argument("-p", "--project", type=str, default="GRPO", help="Project name.")
2323
parser.add_argument("-e", "--num-episodes", type=int, default=1, help="Number of episodes to train.")

0 commit comments

Comments
 (0)