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
-
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