mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-06-25 18:11:17 +08:00
nits
This commit is contained in:
parent
b1c1e1353e
commit
aa932e83e3
@ -316,7 +316,7 @@ def evaluate_model(args, model: nn.Module, tokenizer: TokenizerWrapper, test_set
|
||||
|
||||
test_loss, _, _, test_metrics = evaluate_dpo(
|
||||
model=model,
|
||||
ref_model=reference_model,
|
||||
ref_model=reference_model.freeze(),
|
||||
dataset=test_set,
|
||||
batch_size=args.batch_size,
|
||||
num_batches=args.test_batches,
|
||||
|
Loading…
Reference in New Issue
Block a user