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.16.tar.gz (6.3 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.16-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sampling-constraints-0.0.16.tar.gz
  • Upload date:
  • Size: 6.3 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.16.tar.gz
Algorithm Hash digest
SHA256 34117a640ce167b8e8e7a5827b69b7a1f1ad68fe479116c7ff0988f3c5f58742
MD5 3f0092d992cbec5b07c708cc367db9f9
BLAKE2b-256 7ddb9b3c291f26d0f1c7af0db9f39886e2344d1922bc3a88f0371d6a865130b3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sampling_constraints-0.0.16-py3-none-any.whl
Algorithm Hash digest
SHA256 706c95049e410a46d4822d64245f7c04360fe6e242608d892b3bbe1bee4efb6a
MD5 8a69d51e8e778357b045415105c4ac1b
BLAKE2b-256 0ceb6e7161a4e3aec79b176f0cd19665fc8bb8778188508f24e3eb9b0190b398

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