mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2026-06-22 07:08:57 +08:00
[parser] support omegaconf (#7793)
This commit is contained in:
@@ -59,9 +59,6 @@ def run_kto(
|
||||
else:
|
||||
ref_model = create_ref_model(model_args, finetuning_args)
|
||||
|
||||
# Update arguments
|
||||
training_args.remove_unused_columns = False # important for multimodal and pairwise dataset
|
||||
|
||||
# Initialize our Trainer
|
||||
trainer = CustomKTOTrainer(
|
||||
model=model,
|
||||
|
||||
Reference in New Issue
Block a user