mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-08-29 01:46:09 +08:00
typo
This commit is contained in:
parent
80590f5ec2
commit
c3e51fcf02
@ -101,7 +101,7 @@ class MLXLM(LM):
|
||||
targets[:, i : i + step_size] == mx.argmax(logits, axis=-1)
|
||||
)
|
||||
|
||||
mx.eval(score, is_greedy)
|
||||
mx.eval(score, ig)
|
||||
mx.metal.clear_cache()
|
||||
|
||||
is_greedy.append(ig)
|
||||
|
Loading…
Reference in New Issue
Block a user