Add support for GPT-4o tokenizer #659
Closed
JonathanVelkeneers
started this conversation in
2. Feature requests
Replies: 2 comments 1 reply
-
Does also hugging face need a specific tokenizer? i get this error while trying semantic kernel hugging face, which then later fails
|
Beta Was this translation helpful? Give feedback.
1 reply
-
here's the tokenizer https://github.com/microsoft/kernel-memory/blob/main/extensions/OpenAI/OpenAI/Tokenizers/GPT4oTokenizer.cs |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Support for OpenAI's GPT-4o should be added.
Upstream tokenizer dotnet/machinelearning#7154 has implemented support for o200k_base.
Changes:
ITextTokenizer
TikTokenGPT4oTokenizer
which uses the new TikToken tokenizerI'm willing to PR these changes
Beta Was this translation helpful? Give feedback.
All reactions