Skip to main content

Library of incremental parsers used to force syntax constraints on next-token predictions during language model generation

Project description

Syntactically Constrained Sampling for Language Models

Release

Run python3 -m build && twine upload dist/*

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sampling-constraints-0.0.14.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sampling_constraints-0.0.14-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file sampling-constraints-0.0.14.tar.gz.

File metadata

  • Download URL: sampling-constraints-0.0.14.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for sampling-constraints-0.0.14.tar.gz
Algorithm Hash digest
SHA256 32b0e44b43bbc7a87f4a33dde19797e54e672ec555398881457f65eb19efa7ba
MD5 6d560953e41cb20b87fe34c688808989
BLAKE2b-256 3000a36cd9356df8ce6a50d6d5c62e08087ff11400559c1671900a2c1575494a

See more details on using hashes here.

File details

Details for the file sampling_constraints-0.0.14-py3-none-any.whl.

File metadata

File hashes

Hashes for sampling_constraints-0.0.14-py3-none-any.whl
Algorithm Hash digest
SHA256 8876671890c9553495a333f659e139ec19109084c00fac6c2165e3075a3e1e71
MD5 a4dfcd8212dfda735789300ce7c52e03
BLAKE2b-256 51664d0a2bf55a800293f98459603b4b8c8a21315fbd51abf711c01791ba16ce

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page