You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A small improvement on gpt2's bpe ranking code (GPT2Codec.java): byte decoding can be performed at load time on every key from encoder.json and every space-separated pair from vocab.bpe (after invoking split(" ") on the string).
This avoids having to perform the byte conversion every time in memory.
Tested with my own implementation.
The text was updated successfully, but these errors were encountered:
A small improvement on gpt2's bpe ranking code (GPT2Codec.java): byte decoding can be performed at load time on every key from encoder.json and every space-separated pair from vocab.bpe (after invoking split(" ") on the string).
This avoids having to perform the byte conversion every time in memory.
Tested with my own implementation.
The text was updated successfully, but these errors were encountered: