Skip to main content

Library for manipulating the existing tokenizer.

Project description

Tokenizer-Changer

Python script for manipulating the existing tokenizer.

The solution was tested on Llama3-8B tokenizer.

Installation

Installation from PyPI:

pip install tokenizerchanger

Requirements

  • Python 3.9+
  • tokenizers>=0.21.0
  • transformers>=4.47.0
  • tqdm>=4.66.4

Docs

https://tokenizer-changer.readthedocs.io/en/latest/

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

TokenizerChanger-1.0.0.tar.gz (9.1 kB view details)

Uploaded Source

Built Distributions

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

tokenizerchanger-1.0.0-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

TokenizerChanger-1.0.0-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

Details for the file TokenizerChanger-1.0.0.tar.gz.

File metadata

  • Download URL: TokenizerChanger-1.0.0.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.11

File hashes

Hashes for TokenizerChanger-1.0.0.tar.gz
Algorithm Hash digest
SHA256 15aa892eef4c347ccda012f92aaea287497389b92a96459557416cc735c36d93
MD5 4e4fcd2c3ae33c78006c74c81a525720
BLAKE2b-256 10ec45b4e3a8d38a6e06d8f79aaf8c5cbb7e25bb2aaf1e0d3e8fb4a638d65475

See more details on using hashes here.

File details

Details for the file tokenizerchanger-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for tokenizerchanger-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 50bf6e770263fd5e4f51bc431746a1262d22da0e880b7944bf2edbd574d75639
MD5 cd1a4992ead9eb8e4a45da709bca7be3
BLAKE2b-256 ecf6d2da05734f2ee2f01137f6dfcd3387f92ae6d1cb531321f90ecfe13f44cb

See more details on using hashes here.

File details

Details for the file TokenizerChanger-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for TokenizerChanger-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5ae429b193a78b50dd7caf6245878e2165e4c89a66daf4470725bcc5cf290dc7
MD5 8955668d2a6fa7285f6f4133b103aa27
BLAKE2b-256 0b71c0896850fadb488f8778a7400522bdfdb704d57825180e8f9b044795ee2c

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