Comments (5)
FYI - It looks like TikToken added it as an Azure deployment name:
"gpt-3.5-turbo": "cl100k_base",
"gpt-35-turbo": "cl100k_base", # Azure deployment name
from sharptoken.
The official name of the model from OpenAI's API does include the period, e.g.:
gpt-3.5-turbo
gpt-3.5-turbo-0301
gpt-3.5-turbo-16k-0613
- etc...
If you hit https://api.openai.com/v1/models
(when authenticated) you can see all available models.
from sharptoken.
@winzig Is there a reason the Azure deployment name would be included in TikToken but not here? I thought this was intended as a port of that library.
from sharptoken.
I've edited the original comment so it is clear that the Azure Deployment name was added after the original creation of TikToken.
from sharptoken.
We can add gpt-35-turbo as well. I do not see any problems with it
from sharptoken.
Related Issues (10)
- outdated lib Newtonsoft HOT 1
- gpt-3.5-turbo-16k Not Supported HOT 1
- Performance compared to TiktokenSharp, Tokenizer HOT 7
- Implement MODEL_PREFIX_FOR_ENCODING HOT 2
- New embedding models not recognized HOT 11
- Add Microsoft.SourceLink.GitHub to publish repo info/commit to nuget.org HOT 1
- GptEncoding thread-safe? HOT 4
- Anthropic (claude) support HOT 5
- Incorrect token count with Cyrillic HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sharptoken.