Skip to content

shahad-mahmud/bpe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Byte Pair Encoding

This is a naive implementation of Byte Pair Encoding (BPE) for tokenization of text.

How to use

Clone the repository and run example.py to train and tokenize a sample text.

git clone https://github.com/shahad-mahmud/bpe.git

python example.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages