modulepackage
0.0.0-20240927210347-534087680bf6
Repository: https://github.com/wbrown/gpt_bpe.git
Documentation: pkg.go.dev
# README
gpt-bpe
An implementation of GPT2 Byte Pair Encoding Encoder/Decoder in golang
. Generally very fast, bottlenecked by the regex engine for whitespace separation.
# Functions
No description provided by the author
Create a new rune tree from an array of strings to match against.
No description provided by the author
NewEncoder Returns a GPTEncoder with the tokenizer data loaded for that vocabulary id.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author