We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It would be great if we could support COT like below
grammar_str = """ root ::= cot | phone_number cot ::= [ a-zA-Z0-9]* phone_number phone_number ::= "+" [0-9]+ """
or for arithemetic
root ::= cot | result cot ::= [^[">>>"] ]* result # We exclude ">>>" from chain of thought to make it a special marker result ::= ">>>" [0-9]+
This way, we could have a prompt like
Follow this example 3+3*4=3+12=15 >>>15; 97*(12-4)+9=
and expect a generation like 97*8+9=776+9=785 >>> 785
97*8+9=776+9=785 >>> 785
The text was updated successfully, but these errors were encountered:
A draft version https://colab.research.google.com/drive/1RVMRdynb6FkScqCdfVHLJ6UeZfP2-bYT#scrollTo=hVal9tqz5hna
Sorry, something went wrong.
No branches or pull requests
It would be great if we could support COT like below
or for arithemetic
This way, we could have a prompt like
Follow this example 3+3*4=3+12=15 >>>15; 97*(12-4)+9=
and expect a generation like
97*8+9=776+9=785 >>> 785
The text was updated successfully, but these errors were encountered: