-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
C# GetOutput("logits") API #1005
Comments
ambroser53
changed the title
C# GetOutput("logits") and logit setting Support
C# GetOutput("logits") API
Oct 23, 2024
You're right I missed that, that's great. Do you know which is which? I'm assuming the GetOutput in #998 is to get the raw model outputs correct? And the getoutput("logits") is the search and sampling logits? What processing takes place for the search and sampling logits? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there any reason that the C# API wouldn't have the same interface for retrieving the logits that the python API (#956) and C API (#755) have? With the exposing of the adapters API #998 this would be incredibly helpful.
Also #956 introduced the set logits interface although I haven't seen much discussion of it's use cases. I may be wrong but if this allows for the force setting of tokens mid-generation then this would be incredibly useful (for example, generate tokens, check condition, add n tokens, generate more tokens). The current C# API does not currently (unless I am mistaken) allow for the altering of input_ids within the gen_params mid-inference. Is there an alternate method to doing this? Or is the set logits interface the appropriate method?
The text was updated successfully, but these errors were encountered: