mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-12-16 02:08:55 +08:00
update
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user