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.dev5.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.dev5-py3-none-any.whl (3.7 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: py_nlp_utils-0.0.1.dev5.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.dev5.tar.gz
Algorithm Hash digest
SHA256 981c4aedb4263d9cdc0b9808f95f25596b7fa31324685fe3a4930503a683af17
MD5 7542f373a08a2834ecf5acca913a9151
BLAKE2b-256 9f6ba4d9c7aaa01e0edf6beee16022af1c08cdc62d2420973486ea990ed52313

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for py_nlp_utils-0.0.1.dev5-py3-none-any.whl
Algorithm Hash digest
SHA256 8d9a5df6ed06ac311f56614d514ad4e0c1be6252cdb11403b522113248aaca76
MD5 56d18cd06a11b9bb70eeb66f4557f713
BLAKE2b-256 bfbd7a830f7b1e9735605f5b2d5f93c6fd61c05f6639b36f2bd246c67137fea6

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