Skip to content

Releases: Dan-wanna-M/kbnf

v0.4.0-python

10 Nov 04:13
7288c79
Compare
Choose a tag to compare
  • Fix a bug that makes Engine's copy and deepcopy method returning InternalEngine rather than Engine.

v0.3.13-python

26 Oct 19:42
12c1d88
Compare
Choose a tag to compare
  • Changes from v0.5.5-rust

v0.5.5-rust

26 Oct 19:42
7e78030
Compare
Choose a tag to compare

What's Changed

  • Support complement of a regular expression in KBNF.
  • Make warning less prominent for duplicate tokens. by @andrejonasson in #20

Full Changelog: v0.5.4-rust...v0.5.5-rust

v0.3.12-python

04 Oct 16:11
e344934
Compare
Choose a tag to compare
  • Add check_if_token_allowed in Python FFI to facilitate workarounds in formatron that handles certain weird behaviors in integrations.

v0.3.11-python

17 Sep 20:14
8fe96e7
Compare
Choose a tag to compare
  • Fix issue on CPU in mask_logits_fast. Only pin if cuda device type. by @andrejonasson in #19
  • Make cached tensors in mask_logits_fast actually pinned on cuda.

New Contributors

Full Changelog: v0.3.10-python...v0.3.11-python

v0.3.10-python

15 Sep 02:10
788b797
Compare
Choose a tag to compare
  • Significantly improved torch tensor masking speed

v0.3.9-python

10 Sep 02:37
210ebe2
Compare
Choose a tag to compare
  • Bug fix: incorrect logits mask will no longer be produced when multiple different language models' vocabulary with the same logits length are used to create engines.

v0.5.3-rust

02 Sep 23:31
3bc0718
Compare
Choose a tag to compare
  • Bug fix: #substrs now correctly constrain the allowed tokens

v0.5.2-rust

02 Sep 23:24
e73916a
Compare
Choose a tag to compare
  • Bug fix: undefined start nonterminal in kbnf grammar string will no longer panick. Instead, an error will be returned.

v0.3.8-python

02 Sep 23:31
3bc0718
Compare
Choose a tag to compare
  • Changes from v0.5.3-rust