Advanced RAG Concept: Improving RAG with Multi-stage Document Reranking

  Рет қаралды 6,664

TechViz - The Data Science Guy

TechViz - The Data Science Guy

Күн бұрын

Пікірлер
@stillness0072
@stillness0072 Жыл бұрын
Very well explained, thank you
@_Han-xk1zv
@_Han-xk1zv 6 ай бұрын
Are you familiar with the reasons for conducting re-ranking step? Specifically, given the premise of extracting relevant document candidates using only DPR, I'm curious about your perspective on why we'd need to conduct re-ranking using a cross-encoder, in addition to extracting relevant document candidates by computing cosine similarity with a bi-encoder.
@TechVizTheDataScienceGuy
@TechVizTheDataScienceGuy 6 ай бұрын
Bi-encoder doesn’t really takes into account inter-attention calculation between sentences whereas cross attention does. Ideally one should use cross attention for first step as well, it’s just that it gets really expensive to do so. So get top k using fast method then re-arrange then with better method. Thanks
@_Han-xk1zv
@_Han-xk1zv 6 ай бұрын
@@TechVizTheDataScienceGuy Thanks for your constructive feedback!
@faiqkhan7545
@faiqkhan7545 Жыл бұрын
Hi amazing video, can you make one to demonstrate a practical approach to this ? like a semantic search tool kind of prototype
@TechVizTheDataScienceGuy
@TechVizTheDataScienceGuy Жыл бұрын
Sure, let’s see. Have put in the idea list 👍
@giridharreddy7011
@giridharreddy7011 11 ай бұрын
Does any library or framework do this out of the box
@TechVizTheDataScienceGuy
@TechVizTheDataScienceGuy 11 ай бұрын
Did you check llamaindex, haystack or langchain? The should have some logic of reranking, if not this one exactly.
@himanshukumarsharma9098
@himanshukumarsharma9098 5 ай бұрын
Awesome.... Thank you so much
@TechVizTheDataScienceGuy
@TechVizTheDataScienceGuy 5 ай бұрын
You’re welcome!
Document Re-ranking using LLMs - Advanced RAG
15:32
TechViz - The Data Science Guy
Рет қаралды 8 М.
Anthropic's new improved RAG: Explained (for all LLM)
33:54
Discover AI
Рет қаралды 5 М.
The Lost World: Living Room Edition
0:46
Daniel LaBelle
Рет қаралды 27 МЛН
진짜✅ 아님 가짜❌???
0:21
승비니 Seungbini
Рет қаралды 10 МЛН
«Жат бауыр» телехикаясы І 30 - бөлім | Соңғы бөлім
52:59
Qazaqstan TV / Қазақстан Ұлттық Арнасы
Рет қаралды 340 М.
Counter-Strike 2 - Новый кс. Cтарый я
13:10
Marmok
Рет қаралды 2,8 МЛН
Learn Machine Learning Like a GENIUS and Not Waste Time
15:03
Infinite Codes
Рет қаралды 292 М.
Fixing RAG with GraphRAG
15:04
Vivek Haldar
Рет қаралды 9 М.
Why LLMs Are Going to a Dead End Explained | AGI Lambda
14:46
AGI Lambda
Рет қаралды 8 М.
RAG But Better: Rerankers with Cohere AI
23:43
James Briggs
Рет қаралды 64 М.
Supercharge Your RAG with Contextualized Late Interactions
17:45
Prompt Engineering
Рет қаралды 14 М.
The Sad Reality of Being a Data Scientist
8:55
Samson Afolabi
Рет қаралды 113 М.
Improve your Generative AI Application with RAG
18:10
AWS Developers
Рет қаралды 32 М.
Is Tree-based RAG Struggling? Not with Knowledge Graphs!
9:06
Semantic Chunking for RAG
29:56
James Briggs
Рет қаралды 27 М.
The Lost World: Living Room Edition
0:46
Daniel LaBelle
Рет қаралды 27 МЛН