What is RAG or Retrieval-Augmented Generation

  Рет қаралды 1,891

Python Tutorials for Digital Humanities

Python Tutorials for Digital Humanities

Күн бұрын

Пікірлер: 10
@sangramkesariray
@sangramkesariray Жыл бұрын
With LLMs, what's the future of spacy, is it going to do NER currently using CNNs and switch to LLMs and Prompt engineering.
@python-programming
@python-programming Жыл бұрын
This is a great question. I see spaCy remaining highly relevant for the foreseeable future. spaCy already has built-in components to work directly with LLMs via APIs for OpenAI, HuggingFace, etc. You can use them via spacy-llm (video coming soon!). Also, they have great recipes for their annotation software Prodigy. LLMs are really good for certain NER tasks. I have experimented with this extensively for months. They struggle in a few areas, namely consistency and cost. It is far cheaper, more consistent, and more reliable to use an LLM for assisting in annotations and training a smaller model that can be run locally. In the next year or so, I imagine we see this change, especially as open-source LLMs become smaller and more affordable.
@halibrahim
@halibrahim Жыл бұрын
What about data privacy when you share your documents with these open sources, any solution around it?
@python-programming
@python-programming Жыл бұрын
This is a very good question. One solution is to use open-source models and host them locally. With this approach, you would not rely on any API and your data could sit and remain local. A good place for models is HuggingFace. This is something I intend to cover in this series on RAG.
@ArunKumar-bp5lo
@ArunKumar-bp5lo Жыл бұрын
great short precise idea thanks
@python-programming
@python-programming Жыл бұрын
Thanks so much! Glad you liked the video!
@JH-jy1ye
@JH-jy1ye 8 ай бұрын
Really good explanation, thank you
@gerardorafaelquirossandova3115
@gerardorafaelquirossandova3115 11 ай бұрын
This was a very precise and easy to watch explanation video. Thanks!
@alexdavis9324
@alexdavis9324 Жыл бұрын
Great video!This was very interesting. I am going to try and add this to my work flow at some point
@python-programming
@python-programming Жыл бұрын
Glad to hear it! My video next week will show you how to get started.
What is RAG? (Retrieval Augmented Generation)
11:37
Don Woodlock
Рет қаралды 180 М.
Intro to RAG for AI (Retrieval Augmented Generation)
14:31
Matthew Berman
Рет қаралды 66 М.
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН
She made herself an ear of corn from his marmalade candies🌽🌽🌽
00:38
Valja & Maxim Family
Рет қаралды 18 МЛН
RAG + Langchain Python Project: Easy AI/Chat For Your Docs
16:42
Shoud I learn NLP in 2024? #datascience #machinelearning #ai
8:46
Python Tutorials for Digital Humanities
Рет қаралды 1,8 М.
LLM-powered Topic Modeling
1:25:56
Apply AI like a Pro
Рет қаралды 5 М.
WHY Retrieval Augmented Generation (RAG) is OVERRATED!
23:30
Data Centric
Рет қаралды 3 М.
RAG Explained
8:03
IBM Technology
Рет қаралды 128 М.
Stanford CS25: V3 I Retrieval Augmented Language Models
1:19:27
Stanford Online
Рет қаралды 174 М.
What is Retrieval-Augmented Generation (RAG)?
6:36
IBM Technology
Рет қаралды 835 М.
NLP vs NLU vs NLG
6:48
IBM Technology
Рет қаралды 78 М.
Prompt Engineering, RAG, and Fine-tuning: Benefits and When to Use
15:21