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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for tokenizerchanger-1.1.1.tar.gz
Algorithm Hash digest
SHA256 21e7bffb2d60352f862c1513f3f0bea2d34dca4ec7babda95f06668b7163b70b
MD5 dfa7a910c739a316c18bc3d6205dd12e
BLAKE2b-256 d66fca6597c712ab308e42b905e14e10fdf469909165198dced0151d34d24a2d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tokenizerchanger-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 68c2d7551e563c8cb143749f2731465ab8735ca574825571f7cc996fbc8cf41a
MD5 b7fea43bab45fd76d7fedaad5f0284d8
BLAKE2b-256 11598368f3acae5036273374b623c0d1aabc1339f5d311914ec5fd0018c630f0

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