mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-06-26 18:51:18 +08:00
update
This commit is contained in:
parent
2a5b315f60
commit
ea0d11cd2f
@ -84,6 +84,7 @@ def orpo_loss(
|
|||||||
|
|
||||||
return loss, reward, num_tokens
|
return loss, reward, num_tokens
|
||||||
|
|
||||||
|
|
||||||
def evaluate_orpo(
|
def evaluate_orpo(
|
||||||
model,
|
model,
|
||||||
dataset,
|
dataset,
|
||||||
|
Loading…
Reference in New Issue
Block a user