-
Notifications
You must be signed in to change notification settings - Fork 16
CHANGELOG
Saibo-creator edited this page Apr 10, 2024
·
2 revisions
- use Tuple instead of List for parsing stack
- remove duplicate stacks in parsing process, significantly improving speed for SMILES grammars
- dependencies: updated
torch
to>=2.0.0
instead of~=2.2.0
. - online demo: add
saibo/transformers-CFG-JSON-demo
at HF space
- Update
GrammarConstrainedLogitsProcessor.mask_logits
to return a modified copy of the logits instead of modifying the input logits in place. This wayscores
andlogits
are two different tensors.
-
use Tuple instead of List for parsing stack
has caused the unicode GCD broken, needs to be fixed
- Support for Unicode(multilingual) grammars