I can’t believe programming is now at the stage where advice like "first have the computer give you totally wrong answers, then just find a function that maps the wrong answers to the correct ones!" is a thing.
Don't classify, hallucinate
61–70 of 118 posts
Re: Don't classify, hallucinate
#62I can’t believe programming is now at the stage where advice like "first have the computer give you totally wrong answers, then just find a function that maps the wrong answers to the correct ones!" is a thing.
It's the same for so many things:
- reading documentation (what do I expect this function to be called?)
- finding clothes in a shop (something long-sleeved and light)
- picking the fridge for dinner
- finding a book in the library...
so many analogues where I'm not coming cold to a choice.
Re: Don't classify, hallucinate
#63I can’t believe programming is now at the stage where advice like "first have the computer give you totally wrong answers, then just find a function that maps the wrong answers to the correct ones!" is a thing.
the trick is that it's not totally wrong to start with
Re: Don't classify, hallucinate
#64Earlier quoted context omitted.
Is there a solution you are using to solve this that is more accurate and cost effective? I'm working through it now so would be curious
Is scraping and putting this in a structured format too inaccurate or expensive?
Putting all the labels into the LLM is super expensive per call when you have millions of items to classify.
You can't reduce the number of labels becasue they are correctly organizes/structured. This class of problem exists in many different domains.
Re: Don't classify, hallucinate
#65I can’t believe programming is now at the stage where advice like "first have the computer give you totally wrong answers, then just find a function that maps the wrong answers to the correct ones!" is a thing.
Re: Don't classify, hallucinate
#66Nice trick. Couldn't you embed the query though, compare it to the embedding of the categories, then ship only categories that are close to it in the prompt to a smaller model?
But honestly, it only works for common knowledge that's already in the LLM. If the target document contains very niche or private information, then the hallucinated answer's embedding can be even farther away than the query's.
Re: Don't classify, hallucinate
#67Re: Don't classify, hallucinate
#68Re: Don't classify, hallucinate
#69I can’t believe programming is now at the stage where advice like "first have the computer give you totally wrong answers, then just find a function that maps the wrong answers to the correct ones!" is a thing.
Re: Don't classify, hallucinate
#70Earlier quoted context omitted.
Is scraping and putting this in a structured format too inaccurate or expensive?
That's the whole problem. If you have tons (100s of thousands or more) of labels, then you have "structured" data, but how do you correctly classify that scraped item into the correct label? Putting all the labels into the LLM is super expensive per call when you have millions of items to classify. You can't reduce the number of labels becasue they are correctly organizes/structured. This class of problem exists in m…
This problem has also been solved for 3 decades now.