Skip to content

Commit 0b65822

Browse files
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

File tree

doc/source/tutorials/end_to_end_fine_tuning.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,6 @@ Read more about this recipe in :ref:`tutorial-preference-optimization`.
146146
path: /datasets/facebook/fairseq2-lm-gsm8k/sft
147147
max_seq_len: 4096
148148
max_num_tokens: 4096
149-
max_seq_len: 4096
150149
model:
151150
_set_:
152151
name: llama3_2_1b

0 commit comments

Comments
 (0)