Skip to content
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

with the prefix and CharacterLevelParser parameters #140

Open
roshan-gopalakrishnan opened this issue Sep 20, 2024 · 1 comment
Open

with the prefix and CharacterLevelParser parameters #140

roshan-gopalakrishnan opened this issue Sep 20, 2024 · 1 comment
Labels
bug Something isn't working need more info More information is needed from the issue opener

Comments

@roshan-gopalakrishnan
Copy link

ERROR:root:Unknown LMFormatEnforcer Problem. Prefix: ''
Terminating the parser.

lmformatenforcer/tokenenforcer.py", line 91, in _compute_allowed_tokens
cache_key = state.parser.cache_key()
^^^^^^^^^^^^^^^^^^^^^^
File pydantic/_internal/_model_construction.py", line 242, in getattr
raise AttributeError(item)
AttributeError: cache_key

@noamgat
Copy link
Owner

noamgat commented Sep 27, 2024

Thanks for the report! Can you post a reproducing example of this?

@noamgat noamgat added bug Something isn't working need more info More information is needed from the issue opener labels Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working need more info More information is needed from the issue opener
Projects
None yet
Development

No branches or pull requests

2 participants