Skip to main content

BPE Tokenizer Editor

PyPI version Python versions License: MIT

A high-performance Python library for editing HuggingFace BPE tokenizer.json files with consistency guarantees. Built with Rust for maximum performance.

Features

  • Validate merges - Check that all merge results exist in vocabulary
  • Add tokens - Add new tokens with automatic merge chain creation
  • Remove tokens - Remove tokens with cascade deletion of dependent merges
  • Shrink vocab - Remove N longest tokens to reduce vocabulary size
  • Sync single-chars - Copy all single-character tokens from source tokenizer
  • Merge tokenizers - Convert source tokens to the target byte format and prioritize their merges
  • Keep vocab size fixed - Add tokens while automatically removing others to maintain size
  • Reindex vocab - Make vocabulary IDs sequential by removing gaps
  • 🚀 Rust-powered - Native performance with Python convenience

Installation

pip install bpe-tokenizer-editor

Requirements

  • Python 3.8+
  • No additional dependencies required (Rust code is compiled into the wheel)

Quick Start

from bpe_tokenizer_editor import BPETokenizerEditor

# Load a tokenizer
editor = BPETokenizerEditor("tokenizer.json")

# Check stats
print(f"Vocabulary size: {editor.vocab_size}")
print(f"Number of merges: {editor.merges_count}")

# Validate merges
validation = editor.validate_merges()
print(f"Valid merges: {validation.valid_count}")
print(f"Invalid merges: {validation.invalid_count}")

# Add a new token
result = editor.add_token("merhaba")
print(f"Added: {result.added}, Method: {result.method}")

# Save the modified tokenizer
editor.save("tokenizer_modified.json")

API Reference

Loading and Saving

# Load from file
editor = BPETokenizerEditor("tokenizer.json")

# Load from JSON string
editor = BPETokenizerEditor.from_json(json_string)

# Save to file
editor.save("output.json")

# Export to JSON string
json_str = editor.to_json()

Properties

editor.vocab_size    # Current vocabulary size
editor.merges_count  # Current number of merge rules

Token Operations

# Check if token exists
editor.has_token("hello")  # Returns bool

# Get token ID
editor.get_token_id("hello")  # Returns int or None

# Get token by ID
editor.get_token_by_id(1000)  # Returns str or None

# Get all tokens as dict
vocab = editor.get_vocab()  # Returns Dict[str, int]

# Get all merges
merges = editor.get_merges()  # Returns List[Tuple[str, str]]

# Get single-character tokens
single_chars = editor.get_single_char_tokens()  # Returns List[Tuple[str, int]]

Merging Tokenizers

# The editor is the target tokenizer whose configuration is preserved.
editor = BPETokenizerEditor("target-tokenizer.json")
result = editor.merge_from(
    "source-tokenizer.json",
    max_vocab_size=2**18,
)
editor.save("merged-tokenizer.json")

print(result.representation)       # "ByteLevel (Ġ)" or "space marker (▁)"
print(result.tokens_injected)
print(result.final_vocab_size)     # Includes added/special tokens

merge_from converts source tokens to the target tokenizer's native internal representation, adds any required UTF-8 byte bridges, and ranks source merges before original target merges. Source-specific added/special tokens are not injected.

Statistics

stats = editor.get_stats()
print(f"Vocab size: {stats.vocab_size}")
print(f"Merges: {stats.merges_count}")
print(f"Single chars: {stats.single_char_count}")
print(f"Special tokens: {stats.special_token_count}")
print(f"ID range: {stats.min_token_id} - {stats.max_token_id}")
print(f"Length distribution: {stats.length_distribution}")

Validation

# Validate merges (check if merge results exist in vocab)
result = editor.validate_merges()
print(f"Valid: {result.valid_count}, Invalid: {result.invalid_count}")

for idx, token_a, token_b in result.invalid_merges:
    print(f"  Invalid merge at {idx}: '{token_a}' + '{token_b}'")

# Fix invalid merges (remove them)
removed_count = editor.remove_invalid_merges()
print(f"Removed {removed_count} invalid merges")

Adding Tokens

# Add a single token with automatic merge chain creation
result = editor.add_token("newtoken")
print(f"Added: {result.added}")
print(f"Method: {result.method}")  # 'single_char', 'longest_prefix', or 'char_chain'
print(f"Added merges: {result.added_merges}")

# Add multiple tokens
results = editor.add_tokens(["token1", "token2", "token3"])

# Add special token without merge chain
editor.add_token_atomic("<special>")

# Add tokens while keeping vocabulary size fixed
result = editor.add_tokens_keep_size(
    tokens=["new1", "new2", "new3"],
    whitelist=["protected_token"]  # Optional: tokens that should never be removed
)
print(f"Added: {result['tokens_added']}, Removed: {result['tokens_removed']}")

Removing Tokens

# Remove a token and all its dependencies (cascade removal)
result = editor.remove_token("unwanted")
print(f"Root token: {result.root_token}")
print(f"Removed tokens: {result.removed_tokens}")
print(f"Removed merges: {result.removed_merges}")

# Remove multiple tokens
results = editor.remove_tokens(["token1", "token2"])

Shrinking Vocabulary

# Preview what would be removed
tokens_to_remove = editor.find_tokens_to_shrink(count=1000, min_id=50000)
for token, id, length in tokens_to_remove[:10]:
    print(f"  {token} (ID: {id}, length: {length})")

# Actually shrink the vocabulary
result = editor.shrink(count=1000, min_id=50000)
print(f"Initial size: {result.initial_vocab_size}")
print(f"Final size: {result.final_vocab_size}")
print(f"Tokens removed: {result.total_tokens_removed}")
print(f"Merges removed: {result.total_merges_removed}")

Syncing with Another Tokenizer

# Sync single-character tokens from source tokenizer
# (useful for preserving Unicode coverage)
result = editor.sync_single_chars(
    source_path="original_tokenizer.json",
    min_id=50000  # Only remove tokens with ID >= 50000
)
print(f"Chars added: {result['chars_added_count']}")
print(f"Tokens removed: {result['total_tokens_removed']}")

Reindexing Vocabulary

After sync operations or modifications, vocabulary IDs may have gaps (e.g., IDs jump from 73000 to 74000). This creates a sparse vocabulary. Use reindex to make all IDs sequential:

# Check for gaps in vocabulary IDs
has_gaps, total_gaps, min_id, max_id = editor.check_vocab_gaps()
if has_gaps:
    print(f"Found {total_gaps} gaps in ID space (range: {min_id}-{max_id})")

# Reindex to make IDs sequential
result = editor.reindex_vocab()
print(f"Remapped {result.ids_remapped} IDs")
print(f"Removed {result.gaps_removed} gaps")
print(f"New ID range: {result.new_min_id} - {result.new_max_id}")

Note: The sync_single_chars method automatically calls reindex_vocab after completing, so you typically don't need to call it manually after syncing.


## Examples

### Training a Domain-Specific Tokenizer

```python
from bpe_tokenizer_editor import BPETokenizerEditor

# After training your custom tokenizer, validate and fix it
editor = BPETokenizerEditor("my_custom_tokenizer.json")

# Check for problems
validation = editor.validate_merges()
if validation.invalid_count > 0:
    print(f"Found {validation.invalid_count} invalid merges, fixing...")
    editor.remove_invalid_merges()

# Sync Unicode characters from original tokenizer
result = editor.sync_single_chars(
    source_path="original_tokenizer.json",
    min_id=50000
)
print(f"Added {result['chars_added_count']} missing characters")

# Add domain-specific tokens
domain_tokens = ["merhaba", "dünya", "Türkiye"]
for token in domain_tokens:
    result = editor.add_token(token)
    if result.added:
        print(f"Added '{token}' using {result.method} method")

# Save the result
editor.save("my_final_tokenizer.json")

Reducing Vocabulary Size

from bpe_tokenizer_editor import BPETokenizerEditor

editor = BPETokenizerEditor("large_tokenizer.json")
print(f"Original size: {editor.vocab_size}")

# Preview what will be removed
preview = editor.find_tokens_to_shrink(count=10000, min_id=50000)
print(f"Will remove {len(preview)} tokens")
print("First 5 tokens to be removed:")
for token, id, length in preview[:5]:
    print(f"  '{token}' (length={length}, id={id})")

# Perform the shrink
result = editor.shrink(count=10000, min_id=50000)
print(f"New size: {editor.vocab_size}")
print(f"Total tokens removed (including cascade): {result.total_tokens_removed}")

editor.save("smaller_tokenizer.json")

Adding Tokens with Fixed Vocabulary Size

from bpe_tokenizer_editor import BPETokenizerEditor

editor = BPETokenizerEditor("tokenizer.json")
original_size = editor.vocab_size

# Add new tokens while keeping the same vocabulary size
result = editor.add_tokens_keep_size(
    tokens=["custom1", "custom2", "custom3"],
    whitelist=["<pad>", "<eos>", "<bos>"]  # Never remove these
)

print(f"Tokens added: {result['tokens_added']}")
print(f"Tokens removed to maintain size: {result['tokens_removed']}")
print(f"Final vocab size: {editor.vocab_size}")  # Should equal original_size

editor.save("tokenizer_with_custom_tokens.json")

Performance

The library is written in Rust and compiled to native code, providing excellent performance:

Operation Time (256K vocab)
Load tokenizer ~50ms
Validate merges ~100ms
Get stats ~50ms
Shrink 1000 tokens 2-5s
Sync 18K chars 30-60s

Building from Source

If you want to build the package from source:

# Install maturin
pip install maturin

# Build and install in development mode
maturin develop --features python

# Build wheel for distribution
maturin build --release --features python

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

MIT License - see LICENSE file for details.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bpe_tokenizer_editor-0.2.0.tar.gz (49.0 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

bpe_tokenizer_editor-0.2.0-cp38-abi3-win_arm64.whl (429.7 kB view details)

Uploaded CPython 3.8+Windows ARM64

bpe_tokenizer_editor-0.2.0-cp38-abi3-win_amd64.whl (457.9 kB view details)

Uploaded CPython 3.8+Windows x86-64

bpe_tokenizer_editor-0.2.0-cp38-abi3-win32.whl (426.8 kB view details)

Uploaded CPython 3.8+Windows x86

bpe_tokenizer_editor-0.2.0-cp38-abi3-musllinux_1_2_x86_64.whl (758.0 kB view details)

Uploaded CPython 3.8+musllinux: musl 1.2+ x86-64

bpe_tokenizer_editor-0.2.0-cp38-abi3-musllinux_1_2_i686.whl (787.3 kB view details)

Uploaded CPython 3.8+musllinux: musl 1.2+ i686

bpe_tokenizer_editor-0.2.0-cp38-abi3-musllinux_1_2_armv7l.whl (793.0 kB view details)

Uploaded CPython 3.8+musllinux: musl 1.2+ ARMv7l

bpe_tokenizer_editor-0.2.0-cp38-abi3-musllinux_1_2_aarch64.whl (689.2 kB view details)

Uploaded CPython 3.8+musllinux: musl 1.2+ ARM64

bpe_tokenizer_editor-0.2.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (559.4 kB view details)

Uploaded CPython 3.8+manylinux: glibc 2.17+ x86-64

bpe_tokenizer_editor-0.2.0-cp38-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl (584.8 kB view details)

Uploaded CPython 3.8+manylinux: glibc 2.17+ s390x

bpe_tokenizer_editor-0.2.0-cp38-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (677.9 kB view details)

Uploaded CPython 3.8+manylinux: glibc 2.17+ ppc64le

bpe_tokenizer_editor-0.2.0-cp38-abi3-manylinux_2_17_i686.manylinux2014_i686.whl (585.3 kB view details)

Uploaded CPython 3.8+manylinux: glibc 2.17+ i686

bpe_tokenizer_editor-0.2.0-cp38-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (515.7 kB view details)

Uploaded CPython 3.8+manylinux: glibc 2.17+ ARMv7l

bpe_tokenizer_editor-0.2.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (512.4 kB view details)

Uploaded CPython 3.8+manylinux: glibc 2.17+ ARM64

bpe_tokenizer_editor-0.2.0-cp38-abi3-macosx_11_0_arm64.whl (490.7 kB view details)

Uploaded CPython 3.8+macOS 11.0+ ARM64

bpe_tokenizer_editor-0.2.0-cp38-abi3-macosx_10_12_x86_64.whl (516.6 kB view details)

Uploaded CPython 3.8+macOS 10.12+ x86-64

File details

Details for the file bpe_tokenizer_editor-0.2.0.tar.gz.

File metadata

  • Download URL: bpe_tokenizer_editor-0.2.0.tar.gz
  • Upload date:
  • Size: 49.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for bpe_tokenizer_editor-0.2.0.tar.gz
Algorithm Hash digest
SHA256 acc37d2ef7c271a6f0ad6cbb203267d8e5d77dcbeabbb61f54977fe656ebfa97
MD5 8ae5dc951e9cc00c7218fd750f6ab603
BLAKE2b-256 ed27892c535c636af362b1ca31a656ae5d44e30fb4cccdc597d520a554c3b2e4

See more details on using hashes here.

File details

Details for the file bpe_tokenizer_editor-0.2.0-cp38-abi3-win_arm64.whl.

File metadata

  • Download URL: bpe_tokenizer_editor-0.2.0-cp38-abi3-win_arm64.whl
  • Upload date:
  • Size: 429.7 kB
  • Tags: CPython 3.8+, Windows ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for bpe_tokenizer_editor-0.2.0-cp38-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 618ec2d85ad311cc4dfc031c6a45006204486ab6c856651024bb1d6523425a4c
MD5 5ea5939cc1d87b077d925a0f60f7b2f1
BLAKE2b-256 23a8032e5d55afac9b4439a81dbe5a3a994dd66a8928b0f830c766177fe672d8

See more details on using hashes here.

File details

Details for the file bpe_tokenizer_editor-0.2.0-cp38-abi3-win_amd64.whl.

File metadata

  • Download URL: bpe_tokenizer_editor-0.2.0-cp38-abi3-win_amd64.whl
  • Upload date:
  • Size: 457.9 kB
  • Tags: CPython 3.8+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for bpe_tokenizer_editor-0.2.0-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 883e6a67b43b0a0d7ec0c71c3c90ec3cf1e7bfa7ea6d1ffdcf7489526fc35c57
MD5 787b30111cc2ac6bab6865117268e800
BLAKE2b-256 31d90d3df754bbfe5376b9ca34caff4e75969042b5ef1d73596ce13301a3decb

See more details on using hashes here.

File details

Details for the file bpe_tokenizer_editor-0.2.0-cp38-abi3-win32.whl.

File metadata

  • Download URL: bpe_tokenizer_editor-0.2.0-cp38-abi3-win32.whl
  • Upload date:
  • Size: 426.8 kB
  • Tags: CPython 3.8+, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for bpe_tokenizer_editor-0.2.0-cp38-abi3-win32.whl
Algorithm Hash digest
SHA256 010fb1fc0da6a041048290473bf12c4db003daf3c38b04caa27bdcef7a27a074
MD5 276d4ecca4f7b33fd14f0c88f13b4c3a
BLAKE2b-256 bbe084c850bcc6c8b21520fc2da627035eea0cb5aebc357cdbc98be788ea0981

See more details on using hashes here.

File details

Details for the file bpe_tokenizer_editor-0.2.0-cp38-abi3-musllinux_1_2_x86_64.whl.

File metadata

  • Download URL: bpe_tokenizer_editor-0.2.0-cp38-abi3-musllinux_1_2_x86_64.whl
  • Upload date:
  • Size: 758.0 kB
  • Tags: CPython 3.8+, musllinux: musl 1.2+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for bpe_tokenizer_editor-0.2.0-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 18c9373b1f1da2b34c676a73820ac5f953ab9f51dc41e509b20589435df6bab4
MD5 ecf883e2e584d27fa354d543f2a96481
BLAKE2b-256 d59096e9f9a1b38f1e05381b4580348057a0142021b6a7ad464c4751ce328623

See more details on using hashes here.

File details

Details for the file bpe_tokenizer_editor-0.2.0-cp38-abi3-musllinux_1_2_i686.whl.

File metadata

  • Download URL: bpe_tokenizer_editor-0.2.0-cp38-abi3-musllinux_1_2_i686.whl
  • Upload date:
  • Size: 787.3 kB
  • Tags: CPython 3.8+, musllinux: musl 1.2+ i686
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for bpe_tokenizer_editor-0.2.0-cp38-abi3-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 c67a74b58cdc9cff8963aa6cf6de4964f11a86cd1d6ab24587c2ab4fb10ead21
MD5 52808c2fd55066885396336867ddad2d
BLAKE2b-256 0e7d53e2ec035920c107f4542a4ab91cf2b484527729c2cd177da36f7b64d616

See more details on using hashes here.

File details

Details for the file bpe_tokenizer_editor-0.2.0-cp38-abi3-musllinux_1_2_armv7l.whl.

File metadata

  • Download URL: bpe_tokenizer_editor-0.2.0-cp38-abi3-musllinux_1_2_armv7l.whl
  • Upload date:
  • Size: 793.0 kB
  • Tags: CPython 3.8+, musllinux: musl 1.2+ ARMv7l
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for bpe_tokenizer_editor-0.2.0-cp38-abi3-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 67435bc83450b64d811186223086af5e57eeba71fae0934dfd1055797c57b4b3
MD5 755258fcfe51a1db5d9aedffca56fb85
BLAKE2b-256 d83fd53d5fbcb0514f41fe73f414cb25af0b90256edec231adb05a6c6f7e9efc

See more details on using hashes here.

File details

Details for the file bpe_tokenizer_editor-0.2.0-cp38-abi3-musllinux_1_2_aarch64.whl.

File metadata

  • Download URL: bpe_tokenizer_editor-0.2.0-cp38-abi3-musllinux_1_2_aarch64.whl
  • Upload date:
  • Size: 689.2 kB
  • Tags: CPython 3.8+, musllinux: musl 1.2+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for bpe_tokenizer_editor-0.2.0-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 aecc55a34a8a29b2f8dd9794f0ad6a5c29e4ea58611e2fa48cab32e6d9504738
MD5 f381ca036e72d55ada720b94bc42f3da
BLAKE2b-256 2fbe1da66c63bee47268e7f8396f36ed9492babf7148e97cfe6b1c69d748039d

See more details on using hashes here.

File details

Details for the file bpe_tokenizer_editor-0.2.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

  • Download URL: bpe_tokenizer_editor-0.2.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
  • Upload date:
  • Size: 559.4 kB
  • Tags: CPython 3.8+, manylinux: glibc 2.17+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for bpe_tokenizer_editor-0.2.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f38b4ab52b352a077ac3a70af8c09c5727fd0428f06e8871bdb1be6e131b9fd9
MD5 7453b2b555ef8d3f8ad964bf837abdf7
BLAKE2b-256 6cbddbba2ae97083c1f69b73e5fc2e08d8fb1bceb8ec0df7ba1e00c0ba9a07c9

See more details on using hashes here.

File details

Details for the file bpe_tokenizer_editor-0.2.0-cp38-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl.

File metadata

  • Download URL: bpe_tokenizer_editor-0.2.0-cp38-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
  • Upload date:
  • Size: 584.8 kB
  • Tags: CPython 3.8+, manylinux: glibc 2.17+ s390x
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for bpe_tokenizer_editor-0.2.0-cp38-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 fd181fd01b703e5acc8cb7a2551c017866f5d242d8b883a701525ea643923517
MD5 fe1540f22218c72f06a53694c47e2505
BLAKE2b-256 cd2049539f1546c94610775eb7032044fb7f006635c809be0c261f888f8a4880

See more details on using hashes here.

File details

Details for the file bpe_tokenizer_editor-0.2.0-cp38-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl.

File metadata

  • Download URL: bpe_tokenizer_editor-0.2.0-cp38-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
  • Upload date:
  • Size: 677.9 kB
  • Tags: CPython 3.8+, manylinux: glibc 2.17+ ppc64le
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for bpe_tokenizer_editor-0.2.0-cp38-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 02ed9cc449acb9b10ae0af98ee96fee34a5cd3c5a04a33595716bd43f888b0f9
MD5 fd638b524b76491888595f17e8d4fdc1
BLAKE2b-256 947fe80d2425d97664890166e2547da5861e621e26e3ab201074e172dc07dee7

See more details on using hashes here.

File details

Details for the file bpe_tokenizer_editor-0.2.0-cp38-abi3-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

  • Download URL: bpe_tokenizer_editor-0.2.0-cp38-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
  • Upload date:
  • Size: 585.3 kB
  • Tags: CPython 3.8+, manylinux: glibc 2.17+ i686
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for bpe_tokenizer_editor-0.2.0-cp38-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 df0421f4db99098d33182d000ef8c692bda45f2f1b98ae129abfbf676cd0a0c9
MD5 6c4de33683b8a66b4147c8b564fe6004
BLAKE2b-256 f08a0e7214872199ec8156647fa4e40cd69e8e2c39c4a7106e46a5cad52f0a6a

See more details on using hashes here.

File details

Details for the file bpe_tokenizer_editor-0.2.0-cp38-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

  • Download URL: bpe_tokenizer_editor-0.2.0-cp38-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
  • Upload date:
  • Size: 515.7 kB
  • Tags: CPython 3.8+, manylinux: glibc 2.17+ ARMv7l
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for bpe_tokenizer_editor-0.2.0-cp38-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 ea6b8021bcb76ee92016ff476451d8c527a0c4b2c136abd0ce2523466bbaae18
MD5 f4bafb6cdff860540677651b9e52c6ac
BLAKE2b-256 d8ea329cfbc9d4b7002c60ce790af744bdcb63c4baef8f21fc03274f612bce2f

See more details on using hashes here.

File details

Details for the file bpe_tokenizer_editor-0.2.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

  • Download URL: bpe_tokenizer_editor-0.2.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
  • Upload date:
  • Size: 512.4 kB
  • Tags: CPython 3.8+, manylinux: glibc 2.17+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for bpe_tokenizer_editor-0.2.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 d31ffd16e49f96e87de7535ca49cdc9ba1fa7f130c367f8ec694f7e7ab8e7c70
MD5 b18fdbd68ff5430e0f4df7c87c1450fe
BLAKE2b-256 80d75b0c3d8e07926abb4dfd8032dca226358ab31da37ab16111b40b2f976be8

See more details on using hashes here.

File details

Details for the file bpe_tokenizer_editor-0.2.0-cp38-abi3-macosx_11_0_arm64.whl.

File metadata

  • Download URL: bpe_tokenizer_editor-0.2.0-cp38-abi3-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 490.7 kB
  • Tags: CPython 3.8+, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for bpe_tokenizer_editor-0.2.0-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a3b9ff3e075f1bd331ec7965f625f797089010fdb772da66926e7a9dd4f09b01
MD5 439a8ac5b0cceeccd8f4929ec2c05a69
BLAKE2b-256 14e08268d40c7b7f466f99478656b04b12e22a57b9dc7469948e1858c319eb2c

See more details on using hashes here.

File details

Details for the file bpe_tokenizer_editor-0.2.0-cp38-abi3-macosx_10_12_x86_64.whl.

File metadata

  • Download URL: bpe_tokenizer_editor-0.2.0-cp38-abi3-macosx_10_12_x86_64.whl
  • Upload date:
  • Size: 516.6 kB
  • Tags: CPython 3.8+, macOS 10.12+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for bpe_tokenizer_editor-0.2.0-cp38-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 9759367b615aae44428f4d1fd9f6718d80c31ea610ccb80e2023ad5daff4dea3
MD5 20f101d3ccf09de2b547ee271d872325
BLAKE2b-256 5b49f8ed171739e73538c93ecda7445426cc40e9900ec29d4efac7417979e537

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.0 This release

16 files

0.1.1

16 files

0.1.0

16 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page