Skip to main content

Python based BPE Tokenizer

Project description

The BPE Tokenizer is a Python package implementing a Byte Pair Encoding (BPE) Tokenizer for code snippets. It tokenizes code based on a predefined vocabulary learned from the input code.

## Features

  • Tokenizes code using Byte Pair Encoding (BPE) methodology.

  • Sanitizes code by extracting relevant tokens.

  • Supports various case styles: camel case, Pascal case, snake case, and lowercase.

## Installation

`bash pip install bpe-tokenizer `

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

python-bpe-tokenizer-0.2.0.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

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

python_bpe_tokenizer-0.2.0-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file python-bpe-tokenizer-0.2.0.tar.gz.

File metadata

  • Download URL: python-bpe-tokenizer-0.2.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for python-bpe-tokenizer-0.2.0.tar.gz
Algorithm Hash digest
SHA256 89f247e1d03cbee4d9e16b9f8eb2defaf7cd4c8443779b12157d67b7edb6b777
MD5 7c9730c1e0b88a278d4e82376c843759
BLAKE2b-256 c4db57d8244c2d469f845405f912d5cf6e4a20d801bddc107563141c60f2d3f9

See more details on using hashes here.

File details

Details for the file python_bpe_tokenizer-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for python_bpe_tokenizer-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 65a8cb8b265a63977f071d3f185cded870c12e7d247aee45aa4e6b1d30519d7d
MD5 6ba494c2969b545550b9ae97e46faffe
BLAKE2b-256 84f2aedb711db98f55b579c3f9cdc3eacb00569092046ad2f0db42cc6166a137

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