Skip to content

Change text-davinci-003 -> gpt-3.5-turbo#108

Open
princefishthrower wants to merge 3 commits into
axflow:mainfrom
princefishthrower:patch-1
Open

Change text-davinci-003 -> gpt-3.5-turbo#108
princefishthrower wants to merge 3 commits into
axflow:mainfrom
princefishthrower:patch-1

Conversation

@princefishthrower

@princefishthrower princefishthrower commented Feb 26, 2024

Copy link
Copy Markdown

As the title states, this exchanges the "text-davinci-003" model which was shut down as of January 4th, 2024, to the new recommended model "gpt-3.5-turbo". Thus the example code no longer runs, you'll get something like:

return new NotFoundError(status, error, message, headers);
                   ^

NotFoundError: 404 The model `text-davinci-003` has been deprecated, learn more here: https://platform.openai.com/docs/deprecations
    at APIError.generate (/Users/chris/playground/llm-testing/axeval/node_modules/openai/error.js:53:20)
    at OpenAI.makeStatusError (/Users/chris/playground/llm-testing/axeval/node_modules/openai/core.js:263:33)
    at OpenAI.makeRequest (/Users/chris/playground/llm-testing/axeval/node_modules/openai/core.js:306:30)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async OpenAICompletion.run (/Users/chris/playground/llm-testing/axeval/node_modules/axeval/dist/model.js:83:26)
    at async time (/Users/chris/playground/llm-testing/axeval/node_modules/axeval/dist/utils.js:10:20)
    at async Runner.runCase (/Users/chris/playground/llm-testing/axeval/node_modules/axeval/dist/runner.js:35:51)
    at async Runner.runSuite (/Users/chris/playground/llm-testing/axeval/node_modules/axeval/dist/runner.js:30:26)
    at async time (/Users/chris/playground/llm-testing/axeval/node_modules/axeval/dist/utils.js:10:20)
    at async /Users/chris/playground/llm-testing/axeval/node_modules/axeval/dist/runner.js:17:57

More about the OpenAI deprecations here: https://platform.openai.com/docs/deprecations

@vercel

vercel Bot commented Feb 26, 2024

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
axflow-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 26, 2024 3:42pm

@princefishthrower princefishthrower changed the title Change text-davinci-003 -> gpt-3.5-turbo-instruct Change text-davinci-003 -> gpt-3.5-turbo Feb 26, 2024
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

Successfully merging this pull request may close these issues.

1 participant