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.5.tar.gz (9.4 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.5-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file tokenizerchanger-1.0.5.tar.gz.

File metadata

  • Download URL: tokenizerchanger-1.0.5.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.18

File hashes

Hashes for tokenizerchanger-1.0.5.tar.gz
Algorithm Hash digest
SHA256 c49c095442d06dabaf6fc7dd8daafc3a2ac677f8d673b0a9d295f10607d1a6f0
MD5 5d264dbc9c9f721410d6a6879930ab67
BLAKE2b-256 cabdf50db8d84b3452ef874192d8f782917d14baa64cb2cd43eb5890b584d623

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tokenizerchanger-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 7cd7e4be672198bd54aa93caeed485c82b7fc341ebcb436c6b4780943f90387d
MD5 c8a541d9e2f67d49bf0e53e072295939
BLAKE2b-256 17e071e71f5120f9bdd252c82618429f26c611fb9bb8729d9faa9efe86026c66

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