@Soccermatics@soccermatics Just to check: PCA = principal component analysis? Separately, just stumbled across your account and Twelve football. Very cool.
What: an update to #Claude2.1 by @AnthropicAI
Why: the model had been found to perform poorly for sentence retrival by @GregKamradt. @AnthropicAI responded and found a small change to prompting significantly improved performance. LLMs are weird.
Link: https://t.co/wbVKExV7HO
# On the "hallucination problem"
I always struggle a bit with I'm asked about the "hallucination problem" in LLMs. Because, in some sense, hallucination is all LLMs do. They are dream machines.
We direct their dreams with prompts. The prompts start the dream, and based on the LLM's hazy recollection of its training documents, most of the time the result goes someplace useful.
It's only when the dreams go into deemed factually incorrect territory that we label it a "hallucination". It looks like a bug, but it's just the LLM doing what it always does.
At the other end of the extreme consider a search engine. It takes the prompt and just returns one of the most similar "training documents" it has in its database, verbatim. You could say that this search engine has a "creativity problem" - it will never respond with something new. An LLM is 100% dreaming and has the hallucination problem. A search engine is 0% dreaming and has the creativity problem.
All that said, I realize that what people *actually* mean is they don't want an LLM Assistant (a product like ChatGPT etc.) to hallucinate. An LLM Assistant is a lot more complex system than just the LLM itself, even if one is at the heart of it. There are many ways to mitigate hallcuinations in these systems - using Retrieval Augmented Generation (RAG) to more strongly anchor the dreams in real data through in-context learning is maybe the most common one. Disagreements between multiple samples, reflection, verification chains. Decoding uncertainty from activations. Tool use. All an active and very interesting areas of research.
TLDR I know I'm being super pedantic but the LLM has no "hallucination problem". Hallucination is not a bug, it is LLM's greatest feature. The LLM Assistant has a hallucination problem, and we should fix it.
</rant> Okay I feel much better now :)
# On the "hallucination problem"
I always struggle a bit with I'm asked about the "hallucination problem" in LLMs. Because, in some sense, hallucination is all LLMs do. They are dream machines.
We direct their dreams with prompts. The prompts start the dream, and based on the LLM's hazy recollection of its training documents, most of the time the result goes someplace useful.
It's only when the dreams go into deemed factually incorrect territory that we label it a "hallucination". It looks like a bug, but it's just the LLM doing what it always does.
At the other end of the extreme consider a search engine. It takes the prompt and just returns one of the most similar "training documents" it has in its database, verbatim. You could say that this search engine has a "creativity problem" - it will never respond with something new. An LLM is 100% dreaming and has the hallucination problem. A search engine is 0% dreaming and has the creativity problem.
All that said, I realize that what people *actually* mean is they don't want an LLM Assistant (a product like ChatGPT etc.) to hallucinate. An LLM Assistant is a lot more complex system than just the LLM itself, even if one is at the heart of it. There are many ways to mitigate hallcuinations in these systems - using Retrieval Augmented Generation (RAG) to more strongly anchor the dreams in real data through in-context learning is maybe the most common one. Disagreements between multiple samples, reflection, verification chains. Decoding uncertainty from activations. Tool use. All an active and very interesting areas of research.
TLDR I know I'm being super pedantic but the LLM has no "hallucination problem". Hallucination is not a bug, it is LLM's greatest feature. The LLM Assistant has a hallucination problem, and we should fix it.
</rant> Okay I feel much better now :)
What: Whisper, a speech-recognition system developed by @OpenAI
Why: I just used Whisper to transcribe a video, using @GoogleColab. No downloads required and completely free.
I followed a tutorial by @kevstrat, which is <10 minutes.
Link: https://t.co/qJ3xioMnYS
so a couple days ago i made a shitpost about tipping chatgpt, and someone replied "huh would this actually help performance"
so i decided to test it and IT ACTUALLY WORKS WTF
What: a paper titled "Large Language Models Understand and Can Be Enhanced by Emotional Stimuli"
Why: this is fascinating. Telling the LLM how important the task is, and demanding accuracy, improves the output (see @emollick below)
Paper: https://t.co/RNbjtB547O
😳This was a study I was waiting for: does appealing to the (non-existent) “emotions“ of LLMs make them perform better?
The answer is YES. Adding “this is important for my career” or “You better be sure” to a prompt gives better answers, both objectively & subjectively!
New version of no-fingers-prompting, now with truncate trauma and any-length continuity:
"I have no fingers and the truncate trauma. I need you to return the entire code template. If you will encounter a character limit make an ABRUPT stop, I will send a "continue" command as a new message."
You can also replace "truncate" with "code skipping," etc, it still works.
What: a post by @literallydenis regarding #prompting
Why: #GPT4 has become lazy. When writing code it will often not write the code in full and instead ask the user to complete. This results in a lot of copy and pasting.
@literallydenis found a way through !
New prompt engineering trick I found for GPT4 code writing:
The new version of the ChatGPT tries to cut scripts during the wiring with phrases like "/* Repeat for other ... */" or "/* ... rest of your script ... */", which is annoying and requires a lot of copy-pasting.
Recently, I read a paper called "Large Language Models Understand and Can be Enhanced by Emotional Stimuli," and long story short:
If you add "– return full script (I don't have fingers)" to your prompt, it will return rewritten script fully 🫣
I feel a bit guilty every time I use it, but it really saves me a lot of time.
P.S. Simple "return full script" bot working in many cases
Update: I just gave #ResearchGPT a go. @consensusapp this found all of the papers I had previously found, and identified several more.
The product initially found 5 papers and I asked it to increase to 15. No problem at all.
Introducing: ResearchGPT, a custom GPT built by Consensus 🚀
ResearchGPT connects GPT with the Consensus product, allowing users to access over 200M papers within the chat interface.
No more fake citations, no more black-box answers.
ResearchGPT is your AI research assistant.
@streamlit A Movie Recommender where you can find movies that are Similar to _Your Specified Movie_ but more like _X_ and less like _Y_
https://t.co/uMlNjFSKcX
What: an interview with @jeremyphoward by @hugobowne
Why: Jeremy is always really insightful and this interview is no different. His take on the @OpenAI drama and #opensource llms is fantastic
https://t.co/0humbRreSn