Skip to content

Updated decode() method in GPT4Tokenizer so that it handles special t…#63

Open
Vakarva wants to merge 1 commit intokarpathy:masterfrom
Vakarva:fix/gpt4-decode-bytes-shuffling
Open

Updated decode() method in GPT4Tokenizer so that it handles special t…#63
Vakarva wants to merge 1 commit intokarpathy:masterfrom
Vakarva:fix/gpt4-decode-bytes-shuffling

Conversation

@Vakarva
Copy link

@Vakarva Vakarva commented Apr 7, 2024

…okens. Copy-pasted decode() method from class RegexTokenizer to allow handling of special tokens; and added two lines to "unshuffle" bytes objects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant