Replies: 1 comment
-
A good start would be to look at CFGFSM. You can run it manually on a given piece of code. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Naive code generation has a branching factor of about 50K. Since, outlines uses guided generation and generates a NFA, is there a way to observe what and how many logits are valid? I want to be able to calculate the average branching factor for next token generation.
Can somehow show me how to calculate the avg. no. of valid next tokens per token for a sequence when provided a grammar?
Beta Was this translation helpful? Give feedback.
All reactions