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

Uploaded Python 3

File details

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

File metadata

  • Download URL: py_nlp_utils-0.0.1.dev2.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.dev2.tar.gz
Algorithm Hash digest
SHA256 6ae9bb611d6421506cd448832cbaa9af54d4f4f98e0320df4facde4d2ce79b17
MD5 0ac77093250ba932f27c5d9934113cab
BLAKE2b-256 31b40d17ee5588609d412cb9f0944968dd24cad78cdf363aa75158c417dee733

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for py_nlp_utils-0.0.1.dev2-py3-none-any.whl
Algorithm Hash digest
SHA256 34c2d8d9309c70b218cb7a7ac389f29bc27e4e46ca8b079d2d78e8f8573cae61
MD5 e70a256e54c7dfaff9ea30adcc325ca5
BLAKE2b-256 89bcf57bfbd066f91750b8db6b22843a7583e8a51207a5ad87a60dbba9461433

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