Skip to content
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

how to update the model "gpt-3.5-turbo to gpt-3.5-turbo-16k" #109

Open
zululu2023 opened this issue Jun 14, 2023 · 2 comments
Open

how to update the model "gpt-3.5-turbo to gpt-3.5-turbo-16k" #109

zululu2023 opened this issue Jun 14, 2023 · 2 comments

Comments

@zululu2023
Copy link

According to OpenAI's latest policy, the token limit for gpt-3.5-turbo has been increased from 4,000 tokens to a maximum of 16,000 tokens for the gpt-3.5-turbo-16k model. In our current files, we need to make the corresponding parameter adjustments. Could you please let me know which specific files and code you are referring to so that I can provide you with the necessary instructions? Thank you!

@Remowylliams
Copy link

I believe I got this working by modifying the server/config.py
orig:
models = { 'text-gpt-0040-render-sha-0': 'gpt-4', 'text-gpt-0035-render-sha-0': 'gpt-3.5-turbo', 'text-gpt-0035-render-sha-0301': 'gpt-3.5-turbo-0314', 'text-gpt-0040-render-sha-0314': 'gpt-4-0314', }

New:

models = { 'text-gpt-0040-render-sha-0': 'gpt-4', 'text-gpt-0035-render-sha-0': 'gpt-3.5-turbo', 'text-gpt-0035-render-sha-0': 'gpt-3.5-turbo-16k', 'text-gpt-0035-render-sha-0301': 'gpt-3.5-turbo-0314', 'text-gpt-0040-render-sha-0314': 'gpt-4-0314', }
Then start as normal

@sockthem
Copy link

sockthem commented Mar 7, 2024

how to update to new gpt-4-0125-preview model?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants