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
Project details
Release history Release notifications | RSS feed
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
21e7bffb2d60352f862c1513f3f0bea2d34dca4ec7babda95f06668b7163b70b
|
|
| MD5 |
dfa7a910c739a316c18bc3d6205dd12e
|
|
| BLAKE2b-256 |
d66fca6597c712ab308e42b905e14e10fdf469909165198dced0151d34d24a2d
|
File details
Details for the file tokenizerchanger-1.1.1-py3-none-any.whl.
File metadata
- Download URL: tokenizerchanger-1.1.1-py3-none-any.whl
- Upload date:
- Size: 13.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
68c2d7551e563c8cb143749f2731465ab8735ca574825571f7cc996fbc8cf41a
|
|
| MD5 |
b7fea43bab45fd76d7fedaad5f0284d8
|
|
| BLAKE2b-256 |
11598368f3acae5036273374b623c0d1aabc1339f5d311914ec5fd0018c630f0
|