Commit 0b65822
authored
Update end_to_end_fine_tuning.rst (#1206)
Removed duplicate parameter in DPO configuration which otherwise leads to an error.
Trace for visibility:
```
> fairseq2 lm instruction_finetune $OUTPUT_DIR --config-file $CONFIG_FILE
(...)
File "/Users/aerben/miniconda3/envs/fairseq2/lib/python3.12/site-packages/ruamel/yaml/constructor.py", line 281, in check_mapping_key
raise DuplicateKeyError(*args)
ruamel.yaml.constructor.DuplicateKeyError: while constructing a mapping
in "temp.config", line 3, column 9
found duplicate key "max_seq_len" with value "4096" (original value: "4096")
in "temp.config", line 6, column 9
```1 parent b739c75 commit 0b65822
1 file changed
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
149 | | - | |
150 | 149 | | |
151 | 150 | | |
152 | 151 | | |
| |||
0 commit comments