Skip to main content

To avoid reimplemening simple NLP wheels

Project description

To avoid reimplemening simple NLP wheels

Now can

  • Calculate LLM token nums: num_tokens_from_messages()
  • Reveal tokens in a BPE-processed text: check_unk_after_bpe()

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

py_nlp_utils-0.0.1.dev3.tar.gz (3.6 MB view details)

Uploaded Source

Built Distribution

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

py_nlp_utils-0.0.1.dev3-py3-none-any.whl (3.7 MB view details)

Uploaded Python 3

File details

Details for the file py_nlp_utils-0.0.1.dev3.tar.gz.

File metadata

  • Download URL: py_nlp_utils-0.0.1.dev3.tar.gz
  • Upload date:
  • Size: 3.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.32.3

File hashes

Hashes for py_nlp_utils-0.0.1.dev3.tar.gz
Algorithm Hash digest
SHA256 4561a56fad3a635f6a561ab2c9cc7ad38bf2b0a6457b1c968d1715c1bfbc03dc
MD5 464b3a7d316d2484f3759d8567925950
BLAKE2b-256 8e48e1e97b5bd39c5f81a80633cb11201f88780e05b220b431d2237456435baa

See more details on using hashes here.

File details

Details for the file py_nlp_utils-0.0.1.dev3-py3-none-any.whl.

File metadata

File hashes

Hashes for py_nlp_utils-0.0.1.dev3-py3-none-any.whl
Algorithm Hash digest
SHA256 6515d68e11edc97ba12418de05b289903f51b36767eae21dbd198e5b236212f0
MD5 27a09c1fc43af706110ee08a3e20a90b
BLAKE2b-256 7a8491a18d28150630616a9151ab8ce7317beb463a0d84e62417c54c02dfe623

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