Closed Praneet460 closed 9 months ago
@hauntsaninja Hi, can you check this PR?
Really looking forward to this merge
Thanks for adding these!
Can we merge this to main so I can start using the new models!
Can we merge this to main so I can start using the new models!
+1
+1
+1
For the meantime you can just:
pip install -U git+https://github.com/Praneet460/tiktoken@Add-New-Embedding-Models
+1
+1
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