Skip to main content

Python implementation of UBPE tokenization algorithm.

Project description

ubpe-native

Native Python implementation of the Universal Byte Pair Encoding Tokenizer.

The package is a part of the general ubpe package, where I divided general import and implementations, because I'm planning to provide other implementations as well. So the package should not be directly installed. Please, use pip install ubpe[native] instead.

Contribution

If you know how to improve the code, especially how to make it faster, fill free to contribute.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

ubpe_native-0.2.1-py3-none-any.whl (14.1 kB view details)

Uploaded Python 3

File details

Details for the file ubpe_native-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: ubpe_native-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 14.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ubpe_native-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 af70049aa40c592bf2dbb959000020a7ee7166a4e1b926b19c5277f3bbc41013
MD5 45622fa26014332e0f87bdfa2286c3a3
BLAKE2b-256 233277d2879c1872c75c836b3a59281d056a729d90fbfa7bab951e551105cea2

See more details on using hashes here.

Provenance

The following attestation bundles were made for ubpe_native-0.2.1-py3-none-any.whl:

Publisher: pypi-publish.yml on Scurrra/ubpe-native

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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