Nutlope / twitterbio

Generate your Twitter bio with Mixtral and GPT-3.5.
https://www.twitterbio.io
MIT License
1.66k stars 465 forks source link

Upgrade text model to gpt-3.5-turbo (ChatGPT) #23

Closed tedspare closed 1 year ago

tedspare commented 1 year ago

Generates text ~5x faster.

ChatGPT's underlying model, gpt-3.5-turbo, became available in the API today. It should cost 10x less per token. It's also much faster:

Before (text-davinci-003) After (gpt-3.5-turbo)
Trial 1 3371.552 ms 622.586 ms
Trial 2 2654.793 ms 688.590 ms
Trial 3 2950.276 ms 483.914 ms

I timed generations with the same prompt and tone using console.time() around the reader.read() loop in index.tsx here.

image

First PR in this repo; open to feedback on codestyle or PR etiquette!

vercel[bot] commented 1 year ago

@tedspare is attempting to deploy a commit to the Hassanteam Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] commented 1 year ago

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

Name Status Preview Comments Updated
twitterbio ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Mar 2, 2023 at 1:47AM (UTC)