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.10.tar.gz (5.8 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.10-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sampling-constraints-0.0.10.tar.gz
  • Upload date:
  • Size: 5.8 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.10.tar.gz
Algorithm Hash digest
SHA256 7ee81a75e5f38d9e965f05b31a45b555aef15ad4d65af583b244112c6d8ee7fe
MD5 ca7f4a32880a1e7d6272249d2522f723
BLAKE2b-256 841ba692e5e49f3edbdb7bc9a038b9bacc4a63f8061bb83ca92c78ba7a58f17e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sampling_constraints-0.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 b8a5a24615cb34aa1fa7f0e19d9aa10c283f03d14d03ad10be3560d958609250
MD5 a76b75af2660f1bb1594a5e254a21c32
BLAKE2b-256 36ebbb6fb154129ae88633fd25072bd66477e3fde508d21cb011591276df8535

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