syncode
syncode copied to clipboard
Efficient and general syntactical decoding for Large Language Models
I'm trying to use syncode to generate Java programs, but it fails when given a valid token. I simplify the case in the reproduction code. I use a simple test...
I have an issue using the default python grammer. When i try to run: ```python import sys sys.path.append('..') # Assuming we are in the root directory from syncode import Syncode...
I did some more testing and found another case where the output did not match my defined grammar: ```py grammar = """ start: compound_statement compound_statement: statement | (compound_statement ";" statement)...