-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Description
I'm interested in adding mlx-lm as a provider in Backtrack Sampler.
I generate one token at a time, apply my own temperature, and handle the selection of the next token in my own code. Therefore, I need to retrieve the logits from mlx-lm rather than pass it a custom sampler.
I have some changes in a branch, fwiw, but they currently don't work because I handle log probabilities (logprobs) instead of logits, as I'm using the utils.stream_generate function. I don't necessarily need to use stream_generate; I used it because I saw it here.
Is there a way to get the logits in mlx-lm?
Metadata
Metadata
Assignees
Labels
No labels