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

Uploaded Python 3

File details

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

File metadata

  • Download URL: TokenizerChanger-1.0.2.tar.gz
  • Upload date:
  • Size: 9.2 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.2.tar.gz
Algorithm Hash digest
SHA256 92b805e0348d09c7bced92efa58e751468fa7098e652e6497e1ffda46325b0d1
MD5 4b886f715c1ba2d73e493e8cd21a7558
BLAKE2b-256 ae8e61ead7bedf4d7a73ec633afb40944a8bcdb31a292b3b362e7e36ea3a661c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for TokenizerChanger-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2ac878a67616de403b9dbba5eb39073ecad282991773fbaa07af27defbd60b27
MD5 04e6a737d0f18d8ae3c416576ee6a06a
BLAKE2b-256 80c6f2f3bc8265032cae729967526753b21fb7af052c630698d8bacb3a9f847b

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