-
Notifications
You must be signed in to change notification settings - Fork 910
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added two new embedding model's encoding #247
Conversation
@hauntsaninja Hi, can you check this PR? |
Really looking forward to this merge |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good!
Thanks for adding these! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks!
Can we merge this to main so I can start using the new models! |
+1 |
+1 |
+1 |
For the meantime you can just: |
+1 |
1 similar comment
+1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
This has been released in tiktoken 0.6 |
Problem
Library doesn't support two new embedding model's encoding mapper
text-embedding-3-small
text-embedding-3-large
tiktoken.encoding_for_model("text-embedding-3-small")
raises a KeyErrorSolution
Added Encoding mapper for 2 new embedding models. The source of mapping is taken from here