Skip to content
UK-07Public

About

A sub-word tokenizer to compliment GPT-2 implementation.

Resources

Stars

17 stars

Watchers

1 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

GitHub License Open In Colab

Sub-work Tokenizer

This project implements a sub-word tokenizer typically used for training transformer models. It includes a notebook to illustrate how Python deals with Unicode and the complete implementation of a Byte-Pair Encoding based sub-word tokenizer.

Requirements

  • Python 3.9+
  • PyTorch

References

About

A sub-word tokenizer to compliment GPT-2 implementation.

Resources

Stars

17 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages