mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-08-28 15:08:37 +08:00
Fix comment
This commit is contained in:
parent
4df23e961c
commit
9e28bedc81
@ -76,7 +76,7 @@ class GenerationResponse:
|
|||||||
Args:
|
Args:
|
||||||
text (str): The next segment of decoded text. This can be an empty string.
|
text (str): The next segment of decoded text. This can be an empty string.
|
||||||
token (int): The next token.
|
token (int): The next token.
|
||||||
from_draft (bool): Whether the token was generated by a draft model.
|
from_draft (bool): Whether the token was generated by the draft model.
|
||||||
logprobs (mx.array): A vector of log probabilities.
|
logprobs (mx.array): A vector of log probabilities.
|
||||||
prompt_tokens (int): The number of tokens in the prompt.
|
prompt_tokens (int): The number of tokens in the prompt.
|
||||||
prompt_tps (float): The prompt processing tokens-per-second.
|
prompt_tps (float): The prompt processing tokens-per-second.
|
||||||
|
Loading…
Reference in New Issue
Block a user