Thanks to visit codestin.com
Credit goes to github.com

Skip to content

NovelAI/gpt_bpe

 
 

Repository files navigation

gpt-bpe

An implementation of GPT2 Byte Pair Encoding Encoder/Decoder in golang. Generally very fast, bottlenecked by the regex engine for whitespace separation.

To compile for wasm/wasip1 target. After it's compiled, it will be usable with any language that has extism host SDK support(https://extism.org/docs/concepts/host-sdk).

cd wasm
./build.sh

About

GPT2 Byte Pair Encoding implementation in Golang

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%
  • C 0.0%
  • JavaScript 0.0%
  • Python 0.0%
  • CMake 0.0%
  • Makefile 0.0%