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.3.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: TokenizerChanger-1.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 d029aa9258eb5897e87c3350e34e459c5ff2f670d80ceeeb4657171892500981
MD5 e9729ce99755bf9f9748b9d16f2425dd
BLAKE2b-256 a27e1675076bff97fd0421f3b6e462ef1481c5ca4f127e5f02452997ab2a310a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for TokenizerChanger-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4b2d9cc4801c4fd54a76db5f4fcde9b9f8eb5c1193855e38f76d04ceabfde730
MD5 ec07c5a8c7a21d541dcea5c08c4ac3a9
BLAKE2b-256 d763b4c266540c540a905f0f6ecbec3c0787992b6883c67d7df6c71024a7b68e

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