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

Uploaded Python 3

File details

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

File metadata

  • Download URL: py_nlp_utils-0.0.1.dev1.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.dev1.tar.gz
Algorithm Hash digest
SHA256 b6ccd6f3b873920e451b29145dfd36a122aa1bb98a51b9ff673beaf61e918fd9
MD5 dad995a55e776f91aeb658f191cffeb7
BLAKE2b-256 f8c13850f3249d3ab417bfc2ee17beab824834176195785942109a0efb3736d2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for py_nlp_utils-0.0.1.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 336148e26dab062f5fc3856b91431652b0493b15079f5f1ee983943a6e8501ca
MD5 d0cac2bb0a7363d6f1a705a0845ebcda
BLAKE2b-256 65ae86207abb49263a821a4769112d80e037d15829376ced3637dd0da657f6ca

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