Skip to content

CHANGELOG

Saibo-creator edited this page Apr 10, 2024 · 2 revisions

Change Log

[0.2.1 Unreleased] - yyyy-mm-dd

Added

Changed

  • 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

Changed

  • Update GrammarConstrainedLogitsProcessor.mask_logits to return a modified copy of the logits instead of modifying the input logits in place. This way scores and logits are two different tensors.

TODO

  • use Tuple instead of List for parsing stack has caused the unicode GCD broken, needs to be fixed

[0.2.0] - 2024-02-29

Added

  • Support for Unicode(multilingual) grammars

Changed

Fixed

Clone this wiki locally