BPE Tokenizer This package provides an implementation of Byte Pair Encoding (BPE) tokenizer, designed to be efficient and fast. It includes training on both CPU and GPU, along with encoding and decoding functionalities.
Features Train BPE tokenizer on CPU and GPU Encode and decode text using the trained tokenizer Save and load merges and vocabulary to/from JSON files Support for special tokens and customizable regex patterns Installation To install the package, use the following command:
pip install machinemind_bpe
Release files for machinemind-bpe 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| machinemind_bpe-1.0.1.tar.gz | 6.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| machinemind_bpe-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.0 kB
Release files / machinemind_bpe-1.0.1.tar.gz
| Download URL | machinemind_bpe-1.0.1.tar.gz |
|---|---|
| Size | 6.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2a95b90e70ade78e0bcba476b2b8e4a1a0c47515a8d0513bcd74bcfbfe56245c
|
|
BLAKE2b-256 checksum How to use checksums |
3ed562a19faf06cb52fbc70b2017f28a139113e98c26d28b250649dd4438053a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.2
|
Release files / machinemind_bpe-1.0.1-py3-none-any.whl
| Download URL | machinemind_bpe-1.0.1-py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5ec305758c91ea882d01f9545203673742422efec1170751f8a73b1a9c5bab59
|
|
BLAKE2b-256 checksum How to use checksums |
6c2258888443aaf5eb30c729e40057988953066fb3362af33b1079c87805baaa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.2
|