Skip to content

sysreq/sentencepiece_parallel

 
 

Repository files navigation

SentencePiece Parallel

This is not an official Google product.

Technical highlights

  • This fork utilizes multiple cores and smart buffering to divide-and-conquer large datasets. Takes a 10B token source from over an hour to under 10 minutes. Reduces memory overhead by ~50 percent.

About

Fork of Google's SentencePiece tokenizer that adds better memory management for large corpus volumes and increased throughput by parallelizing various parts.

Resources

License

Contributing

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C++ 96.7%
  • Python 1.0%
  • SWIG 0.8%
  • CMake 0.8%
  • Jupyter Notebook 0.6%
  • Perl 0.1%