What is Retrieval-Augmented Generation (RAG)?
ฝัง
- เผยแพร่เมื่อ 8 พ.ค. 2024
- Try RAG with watsonx → ibm.biz/BdMsRT
Learn more about RAG→ ibm.biz/BdMsRt
Large language models usually give great answers, but because they're limited to the training data used to create the model. Over time they can become incomplete--or worse, generate answers that are just plain wrong. One way of improving the LLM results is called "retrieval-augmented generation" or RAG. In this video, IBM Senior Research Scientist Marina Danilevsky explains the LLM/RAG framework and how this combination delivers two big advantages, namely: the model gets the most up-to-date and trustworthy facts, and you can see where the model got its info, lending more credibility to what it generates.
Get started for free on IBM Cloud → ibm.biz/sign-up-now
Subscribe to see more videos like this in the future → ibm.biz/subscribe-now
This lecturer should be given credit for such an amazing explanation.
I was thinking the same, she explained this so clearly.
Yes this was excellently explained, kudos to her.
Or at least credit for being able to write backwards!
The connection between a human answering a question in real life vs how LLMs (with or without RAG) do it was so helpful!
IBM should start a learning platform. Their videos are so good.
i think they already do
Yes, they have it already. TH-cam.
Its mirrored video, she wrote naturally and video was mirrored later
They have skill build but not videos at least most of the content
They do, I recently attended a week long AI workshop based on an IBM curriculum
4:15 Marina combines the colors of the word prompt to emphasis her point. Nice touch
Your ability to write backwards on the glass is amazing! ;-)
They flip the video
@@jsonbourne8122 So obvious, but I did not think of it. My idea was way more complicated!
Marina is a talented teacher. This was brief, clear and enjoyable.
I believe the video is slightly inaccurate. As one of the commenters mentioned, the LLM is frozen and the act of interfacing with external sources and vector datastores is not carried out by the LLM.
The following is the actual flow:
Step 1: User makes a prompt
Step 2: Prompt is converted to a vector embedding
Step 3: Nearby documents in vector space are selected
Step 4: Prompt is sent along with selected documents as context
Step 5: LLM responds with given context
Please correct me if I'm wrong.
I’m not sure. Looking at OpenAI documentation on RAG, they have a similar flow as demonstrated in this video. I think the retrieval of external data is considered to be part of the LLM (at least per OpenAI)
I do not think retrieval is part of LLM. LLM is the best model at the end of convergence after training. It can't be modified rather after LLM response you can always use that info for next flow of retrieval
Wow, this is the best beginner's introduction I've seen on RAG!
Loved the simple example to describe how RAG can be used to augment the responses of LLM models.
Wow, I opened youtube coming from the ibm blog just to leave a comment. Clearly explained, very good example, and well presented as well!! :) Thank you
Please keep all these videos coming! They are so easy to understand and straightforward. Muchas gracias!
That's a really great explanation of RAG in terms most people will understand. I was also sufficiently fascinated by how the writing on glass was done to go hunt down the answer from other comments!
One of the easiest to understand RAG explanations I've seen - thanks.
1. Understanding the challenges with LLMs - 0:36
2. Introducing Retrieval-Augmented Generation (RAG) to solve LLM issues - 0:18
3. Using RAG to provide accurate, up-to-date information - 1:26
4. Demonstrating how RAG uses a content store to improve responses - 3:02
5. Explaining the three-part prompt in the RAG framework - 4:13
6. Addressing how RAG keeps LLMs current without retraining - 4:38
7. Highlighting the use of primary sources to prevent data hallucination - 5:02
8. Discussing the importance of improving both the retriever and the generative model - 6:01
Very well explained!!! Thank you for your explanation of this. I’m so tired of 45 minute TH-cam videos with a college educated professional trying to explain ML topics. If you can’t explain a topic in your own language in 10 minutes or less than you have failed to either understand it yourself or communicate effectively.
I love seeing a large company like IBM invest in educating the public with free content! You all rock!
This is the best explanation I have seen so far for RAG! Amazing content!
this let's me understand why the embeddings used to generate the vectorstore is a different set from the embeddings of the LLM... Thanks, Marina!
I have watched many IBM videos and this is the undoubtedly the best ! I will be searching for your videos now Marina!
Great explanation. Even the pros in the field I have never seen explain like this.
For me, this is the most easy-to-understand video to explain RAG!
Brilliant explanation and illustration. Thanks for your hard work putting this presentation together.
The explanation was spot on!
IBM is the go to platform to learn about new technology with their high quality content explained and illustrated with so much simplicity.
This video is highly underviewed for as informative as it is!
perfect explanation understood every bit , no lags kept it very interesting ,amazing job
Very precise and exact information on RAG in a nutshell. Thank you for saving my time.
Great video as always. Thanks for sharing.
Marina has done a great job explaining LLM and RAGs in simple terms.
The interesting part is not retrieval from the internet, but retrieval from long term memory, and with a stated objective that builds on such long term memory, and continually gives it "maintenance" so it's efficient and effective to answer. LLMs are awesome because even though there are many challenges ahead, they sort of give us a hint of what's possible, without them it would be hard to have the motivation to follow the road
Good Explanation of RAG. Thanks for sharing.
Such an amazing explanation. Thank you ma'am!
Great, simple, quick explanation
Best explanation so far from all the content on internet.
That was excellent, simple, and elegant! Thank you!
Great down the rabbit hole video. Very deep and understandable. IBM academy worthy in my opinion.
Great explanation! The video was very didactic, congratulations!
Thanks for letting us know about this feature of LLM :)
Wow, having a lightbulb moment finally after hearing this mentioned so often. Makes more sense now!
hold up - the fact that the board is flipped is the most underrated modern education marvel nobody's talking about
I know, right?!
Probably they filmed it in front of a glass board and flipped the video on edition later on
Filmed in front of a non-reflective mirror.
Just simply write on a glass board ,record it from the other side and laterally flip the image! Simple aa that.. and pls dont distract people from the contents being lectured by thinkin about the process behind the rec🤣
Is the board fliped or has she been flipped?
Pretty simple explanation, thank you
An amazing explanation that made RAG understandable in about 4:23 minutes!
This was such an amazing explanation!
That's what Knowledge graphs are for, to keep LLMs grounded with a reliable source and up-to-date.
This is so well explained! Thank you 👍🏻✅
The entire video I've been wondering how they made the transparent whiteboard
very well executed presentation.
i had to think twice about how you can write in reverse but then i RAGed my system 2 :)
The video is short and consice yet the delivery is very elegant. She might be the best instructor that have teached me. Any idea how the video was created?
wow this was an amazing Explanation ,very easy to understand
Great video, you guys should do one on promising tech industries
Great explanation with an example. Thank you
Very clear explanation, much respect 🫡
The explanation was very good 💯.
This was explained fantastically.
This is a really good video thank you for sharing this knowledge
Great lessons! Nice of you to step out 🙃 and make such engaging and educative content This is a very useful in helping us in critical thinking. Thank you for sharing this video. 👍
Current ai models may impose neurotypical norms and expectations based on current data trained on . 🤔
Curious to see more on how IBM approach the challenges and limitations of Ai
Fantastic explanation, proud to be an IBMer
Fantastic video and explanation. Thank you!
Great video. Thanks for sharing
This is excellent and I hope IBM does well in this space. We need a reliable, non-hype vendor.
the color coding on your whiteboard is really apt here !
AWESOME EXPLANATION OF THE CONCEPT RAG
Super good and clear, well done!
Very Helpful! Great explanation. thx IBM
The ability to write backwards, much less cursive writing backwards, is very impressive!
See ibm.biz/write-backwards
Left hand too!
@@IBMTechnology Thanks .... I was reading comments to check for an answer for that question!
Thank you, Marina Danilevsky ....
Great explanation. Thank you!😊
That's the best video about RAG that I've watched
This is a fantastic lesson video.
Thank you for such a great explanation.
very good and clear explanation
Amazing explanation, finally i understand it.
Beautifully explained....thanks
Amazing video, thanks IBM ❤
Appreciate the succinct explanation. 👍
Awesome explanation. Love you.
Very well explained and it is easily understandable to non AI person as well. Thanks.
We also need the models to cross check their own answers with the sources of information before printing out the answer to the user. There is no self control today. Models just say things. "I don't know" is actually a perfectly fine answer sometimes!
thanks for the great explanation
Great video, excellent explanation!
Did all the speakers have to learn how to write in a mirrored way or is this effect reached by some digital trick?
There is a digital mirroring technique which is used to show the content this way...
She was right handed before the mirror effect
Excellent explanation!
Insightful, please more video like this
Finally, we got a clear explanation!
Very well explained 🙏🏼👍
Amazing explanation! Thank you:)
Excellent ! thank you for sharing this knowledge !
Very good explanation!
Great explanation!
Thank you for these videos. Makes it much easier to nagivate this new AI-ra of machine learning.
nice video - great explanation!
very nicely explained
Great video! thanks for educating!
Thank you Marina, very helpful and informative video. One question I have is; how do you make these videos like this? Being able to on a screen facing the camera, this is great. What's your secret?
Sometimes these are done on transparent "whiteboards" and the video is then flipped horizontally.
th-cam.com/video/eVOPDQ5KYso/w-d-xo.htmlsi=LADnROL0SF33Hg54
See ibm.biz/write-backwards
@@IBMTechnology okay now i get it !!!
IBM should hire left hand writers so it will right handed after flip 😊
Well explained!
Amazing work. Thanks for sharing this.
Love the neon markers, also the content of course
Excellent explanation. thx
tokens as a [word] is what I'm working on right now (solo, self learning LLM techniques), this video helped me realize how the model doesn't know what it's outputting obviously, but AI-AI is different, so building tokens that have dimensional vectors that process in a separate model, can be used for explainable AI.
meaning a separate model processes the response itself, meta, it's for building evolution learning. AI-AI machine learning, you need a way to configure in between the iterations.
Все толково, четко и понятно. Респект автору.
Nicely explained 👍
BRILLIANT VIDEO thank you!