trlv0.12.0 integration

This commit is contained in:
sunny
2024-11-05 11:44:46 -05:00
parent 052a9a79b4
commit 7a00dbc367
4 changed files with 58 additions and 4 deletions

View File

@@ -183,6 +183,8 @@ test_datasets:
# use RL training: 'dpo', 'ipo', 'kto'
rl:
# whether to perform weighting if doing DPO training. Boolean.
dpo_use_weighting:
# The name of the chat template to use for training, following values are supported:
# - tokenizer_default: Uses the chat template that is available in the tokenizer_config.json. If the chat template is not available in the tokenizer, it will raise an error. This is the default value.