mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-08-29 06:54:39 +08:00
Fixes to config format in documentattion
This commit is contained in:
parent
8ec802f468
commit
214c79be9c
@ -304,19 +304,18 @@ You can specify a list of HF datasets using the `hf_datasets` (plural) configura
|
|||||||
each with the same structure as above. For example:
|
each with the same structure as above. For example:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
hf_datasets: [
|
hf_datasets:
|
||||||
"hf_dataset":
|
- hf_dataset:
|
||||||
name: "Open-Orca/OpenOrca"
|
name: "Open-Orca/OpenOrca"
|
||||||
train_split: "train[:90%]"
|
train_split: "train[:90%]"
|
||||||
valid_split: "train[-10%:]"
|
valid_split: "train[-10%:]"
|
||||||
prompt_feature: "question"
|
prompt_feature: "question"
|
||||||
completion_feature: "response",
|
completion_feature: "response"
|
||||||
"hf_dataset":
|
- hf_dataset:
|
||||||
name: "trl-lib/ultrafeedback_binarized"
|
name: "trl-lib/ultrafeedback_binarized"
|
||||||
train_split: "train[:90%]"
|
train_split: "train[:90%]"
|
||||||
valid_split: "train[-10%:]"
|
valid_split: "train[-10%:]"
|
||||||
chat_feature: "chosen"
|
chat_feature: "chosen"
|
||||||
]
|
|
||||||
```
|
```
|
||||||
|
|
||||||
- Arguments specified in `config` will be passed as keyword arguments to
|
- Arguments specified in `config` will be passed as keyword arguments to
|
||||||
|
Loading…
Reference in New Issue
Block a user