Skip to main content

Grapheme Pair Encoding Tokenizer for Sinhala Language

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

Installation

pip install gpe-tokenizer

Basic Usage

from gpe_tokenizer import SinhalaGPETokenizer

Model Compatibility

For BERT

tokenizer = SinhalaGPETokenizer(model='bert')

For llama

tokenizer = SinhalaGPETokenizer(model='llama')

For GPT

tokenizer = SinhalaGPETokenizer(model='gpt')

Tokenize

tokenizer.tokenize(text)

Tokenizer Training Details

Corpus Size: 10 Million Sentences

Vocab Size: 32000

Training Time: 13H 29M

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

gpe_tokenizer-0.1.6.4.tar.gz (581.7 kB view details)

Uploaded Source

Built Distribution

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

gpe_tokenizer-0.1.6.4-py3-none-any.whl (585.5 kB view details)

Uploaded Python 3

File details

Details for the file gpe_tokenizer-0.1.6.4.tar.gz.

File metadata

  • Download URL: gpe_tokenizer-0.1.6.4.tar.gz
  • Upload date:
  • Size: 581.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for gpe_tokenizer-0.1.6.4.tar.gz
Algorithm Hash digest
SHA256 63e15ecc071403b772723b70109dcddb68e02738cd65405c32813daada816837
MD5 086b672a5d60015f4fad2e3c4e43f718
BLAKE2b-256 c7af02ab0883680721a8069e59d6952843fbed2f51b18bdf64b19629a4e07bdd

See more details on using hashes here.

Provenance

The following attestation bundles were made for gpe_tokenizer-0.1.6.4.tar.gz:

Publisher: python-publish.yml on Schizo00/GPE_Tokenizer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gpe_tokenizer-0.1.6.4-py3-none-any.whl.

File metadata

  • Download URL: gpe_tokenizer-0.1.6.4-py3-none-any.whl
  • Upload date:
  • Size: 585.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for gpe_tokenizer-0.1.6.4-py3-none-any.whl
Algorithm Hash digest
SHA256 2e1c58faa8f41a5ddfb49a5cef9a1a9036f38bc0eb3b8e9f9f035caf51fc6a4e
MD5 650c79e10c0e740f30bf4d6420ad0729
BLAKE2b-256 a671009ded975b83e8a86822227c3d9b41bdac7e04d8030a5b7b45e22cddcc3b

See more details on using hashes here.

Provenance

The following attestation bundles were made for gpe_tokenizer-0.1.6.4-py3-none-any.whl:

Publisher: python-publish.yml on Schizo00/GPE_Tokenizer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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