Extract generation logits #822
Unanswered
quang-anh-nguyen
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello I am new to outlines and trying to use it for generation with regex. I would like to generate a response containing the class name for a text classification task. The class names are included in the list
CLASSES
How ever, I want to inspact the logit produced by the FSM at every generation step (or state), after
get_allowed_tokens
andbias_logits
are run at line81
inoutlines/outlines/generate/generator.py
.Is there a simple solution to this demand or I need to change the forked code ?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions