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

Uploaded Python 3

File details

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

File metadata

  • Download URL: py_nlp_utils-0.0.1.dev4.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.dev4.tar.gz
Algorithm Hash digest
SHA256 6075a5004dca84af49a282e9e32b75196f132cb5f5f3611b146201d7abe80893
MD5 b4dbc93cd5aa67934c1fe7fc3b6f9c7e
BLAKE2b-256 6d902f593c26289d70d2286c6869f3dea5aa346f7dbc8fd6cc26e6360c91f5b3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for py_nlp_utils-0.0.1.dev4-py3-none-any.whl
Algorithm Hash digest
SHA256 c0fc6b352ff17cb2303c43b3e22d987ac4ce69eae529a8a51fbd5fdb518ed66f
MD5 f928d45fa367ffed2888a1b5998f88dd
BLAKE2b-256 a9ab5b847797df8450a4f51b107ff2fb165811b06f6d564b7db5adf1fcd30a3e

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