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

Figure out what to do about gpt-4-turbo-preview and gpt-4-0125-preview #396

Closed
simonw opened this issue Jan 25, 2024 · 4 comments
Closed
Labels
enhancement New feature or request
Milestone

Comments

@simonw
Copy link
Owner

simonw commented Jan 25, 2024

Today OpenAI they made some changes - https://openai.com/blog/new-embedding-models-and-api-updates - including:

Today, we are releasing an updated GPT-4 Turbo preview model, gpt-4-0125-preview. This model completes tasks like code generation more thoroughly than the previous preview model and is intended to reduce cases of "laziness" where the model doesn't complete a task. The new model also includes the fix for the bug impacting non-English UTF-8 generations.

For those who want to be automatically upgraded to new GPT-4 Turbo preview versions, we are also introducing a new gpt-4-turbo-preview model name alias, which will always point to our latest GPT-4 Turbo preview model.

See also https://platform.openai.com/docs/models/gpt-4-and-gpt-4-turbo

CleanShot 2024-01-25 at 15 09 02@2x

Problem is the current code does this:

register(Chat("gpt-4-1106-preview"), aliases=("gpt-4-turbo", "4-turbo", "4t"))

So -m gpt-4-turbo now gets you that slightly older model, not the new one that's less lazy!

@simonw simonw added the enhancement New feature or request label Jan 25, 2024
@simonw
Copy link
Owner Author

simonw commented Jan 25, 2024

Even though it's technically a breaking change, I think the right thing to do is to use that default gpt-4-turbo alias for gpt-4-turbo-preview instead. That seems a better fit to how users would expect these models to work.

I'll document this in the release notes and ensure -m gpt-4-1106-preview works going forward.

@simonw
Copy link
Owner Author

simonw commented Jan 25, 2024

Another thing that will be a bit less disruptive once llm-openai is split out into a plugin I can release separately.

@simonw
Copy link
Owner Author

simonw commented Jan 25, 2024

Got these working:

$ llm -m gpt-4-1106-preview 'say hi'
Hello! How can I assist you today?
$ llm -m gpt-4-0125-preview 'say hi'
Hi! How can I assist you today?
$ llm -m gpt-4-0124-preview 'say hi'
Error: 'gpt-4-0124-preview' is not a known model
$ llm -m gpt-4-turbo-preview 'say hi'
Hello! How can I assist you today?

@simonw
Copy link
Owner Author

simonw commented Jan 26, 2024

@simonw simonw added this to the 0.13 milestone Jan 26, 2024
simonw added a commit that referenced this issue Jan 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant