Use GPT-3 incorrectly: reduce costs 40x and increase speed by 5x
buildt.ai
buildt.ai
For those specifically interested in text embeddings, here is a good analysis: https://medium.com/@nils_reimers/openai-gpt-3-text-embedding...
0. https://openai.com/blog/new-and-improved-embedding-model/
Anecdotally, a similar thing happened to me when I "independently invented" synthetic data generation for deep learning back in 2016... Turns out my brilliant idea was not that original after all
When I realized how rare it is to have a unique thought, I reframed my approach to evaluating my own ideas. Instead of worrying about novelty, I worry about relevance.
If I can't find a pre-existing similar idea, I assume I'm on the wrong track unless I can identify a compelling reason why I'm in a unique position to have an idea that nobody has ever thought or at least felt like communicating publicly.
If I can find such a pre-existing idea, then I know I'm on the right track, and often it validates a pattern I identified between a subset of connections in my previous knowledgebase, solidifying the pattern in my mind. Regardless of whether I can label it a "new idea," I can use it to work toward the next step in whatever line of thinking caused me to notice the pattern in the first place.
But I haven’t fine tuned on a large number of records, so that might solve the consistency problem.
I haven't gotten beyond the davinci for prototyping tho. It's cheap enough that a month of tinkering a chatbot was $7 in jan.
I think it depends on how the answers from davinci are used. If the answers are used verbatim to fine-tune a cheaper model, then that could be problematic. However if it is used to generate a fine-tuning dataset which is then corrected manually, I don't see the problem.
I don't see why using the Davinci outputs verbatim would be a problem in certain situations. The goal is just to get a fine-tuned cheaper model (like Curie) closer to Davinci performance in some narrow problem domain. Of course it's never going to be as good or broad as Davinci with this approach, but the lower cost may outweigh that. Just surprised more people haven't tried and benchmarked this approach...but I'm no expert here so there is probably a good reason.
Google is primed to be a rear-view mirror technology if it keeps reducing it's actual use.
https://text-generator.io/blog/embed-images-text-and-code
Your training trick is neat/great innovation but also keep in mind it is likely overfitting meaning when you get a bit of new data you need to index and search that model isn't going to do well at all at embedding it, said differently that training works well if you can cover the types of data you're going to see in production really well at training time. If not there's a big accuracy drop for unseen data due to overfitting
Is this the future!?
I mean, we know AI isn’t very good at these things, but it’s pretty bold to use these as marketing examples!
Me: These people are wizards
The primary objective of ChatGPT is not to serve as a finished product answering queries, but rather to undergo fine-tuning with respect to given prompts. This model is capable of utilizing a variety of sub-models and executing queries as necessary.
Let's consider an example where a user inputs the sentence "What is the capital of France?" This is how ChatGPT will answer you:
> 1 Preprocessing: The chat interface processes the user's input and recognizes that the user is asking for the capital of a country.
2 Generation of prompt: Based on this information, the chat interface generates the following prompt: "The capital of France is __."
3 Input to GPT-3: The prompt and the user's input are fed into the GPT-3 model.
4 Generation of response: The GPT-3 model then generates a response based on the prompt and input, for example: "The capital of France is Paris."
5 Postprocessing: The response generated by the GPT-3 model is postprocessed by the chat interface to ensure that it is grammatically correct and in the correct format. The final response returned to the user is: "The capital of France is Paris."
What i mean by that is that of course you will be able to use smaller more efficient models to get faster, quicker results and what ChatGPT really is, is the world training it what prompts look like. The "GPT Part" is only used after heavy preprocessing i would not be surprised if it already knew how to use its smaller models itself =)And i didnt say client side, there probably is simply an api wrapper in between.
I also believe that this is how its moderation works. Chatgpt has not all "bad stuff" removed from its data, but there simply is an output filter.
The question always still is how to get from complex prompts to actual answers and boy have i tried complex prompts!
Of course im looking in from the outside with no validity to my claim but if i were to write a bot from scratch thats also how i would do it.
That is a horrendously bad source. ChatGPT doesn't know how ChatGPT works, because nothing about how ChatGPT works was published on the internet at the time when ChatGPT was trained. Frankly, there's still nothing on the internet about this.
> Of course im looking in from the outside with no validity to my claim but if i were to write a bot from scratch thats also how i would do it.
ChatGPT wasn't "written" as much as trained. Writing a bot and training one require completely different mentalities.