SlideShare a Scribd company logo
RAG v/s Fine-Tuning v/s Prompt Tuning | Advanced Prompt Engineering | RAG OpenAI | Simplilearn
What is RAG ?
Retrieval-Augmented Generation
Retrieval-Augmented Generation (RAG) is a technique that enhances the
performance of language models by combining them with a retrieval system.
External Information
Accurate
How RAG works ?
STEP 1 :
Understanding the
question with LM
STEP 3 :
Takes the information
combines with already
known information
STEP 2 :
Searching for best
information from
outside sources.
STEP 4 :
Complete and
accurate output.
What is Fine tuning?
Fine tuning is a process used in machine learning particularly with large model to
adapt a pre-trained model to perform a specific task more effectively.
General Knowledge Improvement
How Fine-Tuning Works?
STEP 1 :
Start with a pre-
trained model.
STEP 3 :
Fine tuning process.
STEP 4 :
Evaluate the model.
STEP 2 :
Prepare a specific
dataset.
What is Prompt tuning?
Prompt tuning is a technique used to optimize the way prompts are presented to a
language model in-order to steer its responses towards a desired outcome.
General Knowledge Improvement
How Prompt tuning Works?
STEP 1 :
Define Objectives
STEP 3 :
Evaluate Performance
STEP 2 :
Design Prompts
STEP 4 :
Refine and Iterate
Major Differences
RAG combines a
language model with a
retrieval system.
Approach
Prompt tuning modifies
the prompts to guide the
model’s response
Fine-Tuning further trains a
pre-trained language model
on a specific dataset.
Major Differences
How Airplanes Fly?
Major Differences
RAG improves accuracy
and relevance
Purpose
Prompt tuning directs the
model to generate more
relevant responses.
Fine-Tuning customizes the
model to perform better.
Major Differences
How a car Engine works?
Major Differences
RAG answers questions
with the latest
information
Use - Case
Prompt tuning
customizes output style.
Fine-Tuning creates a
chatbot tailored for customer
support
Major Differences
RAG relies on external
databases or documents
Data dependency
Prompt tuning operates on
the pre-trained model's
existing knowledge base.
Fine-Tuning depends on a
fixed, task-specific dataset
during the training phase
Similarity
RAG
Fine-
tuning
Prompt-
tuning
improve the
relevance
and
accuracy of
the model's
responses

More Related Content

Similar to RAG v/s Fine-Tuning v/s Prompt Tuning | Advanced Prompt Engineering | RAG OpenAI | Simplilearn (20)

Rated Ranking Evaluator (FOSDEM 2019)
Rated Ranking Evaluator (FOSDEM 2019)Rated Ranking Evaluator (FOSDEM 2019)
Rated Ranking Evaluator (FOSDEM 2019)
Andrea Gazzarini
 
Rated Ranking Evaluator: An Open Source Approach for Search Quality Evaluation
Rated Ranking Evaluator: An Open Source Approach for Search Quality EvaluationRated Ranking Evaluator: An Open Source Approach for Search Quality Evaluation
Rated Ranking Evaluator: An Open Source Approach for Search Quality Evaluation
Alessandro Benedetti
 
Applications of Generative Artificial intelligence
Applications of Generative Artificial intelligenceApplications of Generative Artificial intelligence
Applications of Generative Artificial intelligence
DrNBargavi
 
Sfeldman performance bb_worldemea07
Sfeldman performance bb_worldemea07Sfeldman performance bb_worldemea07
Sfeldman performance bb_worldemea07
Steve Feldman
 
MLApproachToProgramming.ppt
MLApproachToProgramming.pptMLApproachToProgramming.ppt
MLApproachToProgramming.ppt
Nitesh Dubey
 
Ml approach toprogramming
Ml approach toprogrammingMl approach toprogramming
Ml approach toprogramming
RMani7
 
GDSC BPIT ML Campaign.pptx
GDSC BPIT ML Campaign.pptxGDSC BPIT ML Campaign.pptx
GDSC BPIT ML Campaign.pptx
khushbooGupta928250
 
GDSC Machine Learning Session Presentation
GDSC Machine Learning Session PresentationGDSC Machine Learning Session Presentation
GDSC Machine Learning Session Presentation
gdsclavasa
 
Case Study: Experiences Using IBM Rational Method Composer to Deliver a BPM I...
Case Study: Experiences Using IBM Rational Method Composer to Deliver a BPM I...Case Study: Experiences Using IBM Rational Method Composer to Deliver a BPM I...
Case Study: Experiences Using IBM Rational Method Composer to Deliver a BPM I...
ghodgkinson
 
Top Natural Language Processing |aitech.studio
Top Natural Language Processing |aitech.studioTop Natural Language Processing |aitech.studio
Top Natural Language Processing |aitech.studio
AITechStudio
 
SANTOSH KUMAR M -FD
SANTOSH KUMAR M -FDSANTOSH KUMAR M -FD
SANTOSH KUMAR M -FD
Santosh Kumar
 
Generative AI in CSharp with Semantic Kernel.pptx
Generative AI in CSharp with Semantic Kernel.pptxGenerative AI in CSharp with Semantic Kernel.pptx
Generative AI in CSharp with Semantic Kernel.pptx
Alon Fliess
 
Words that Matter
Words that MatterWords that Matter
Words that Matter
Miguel Angel Castillo, CPA, CRMA
 
Multi-modal sources for predictive modeling using deep learning
Multi-modal sources for predictive modeling using deep learningMulti-modal sources for predictive modeling using deep learning
Multi-modal sources for predictive modeling using deep learning
Sanghamitra Deb
 
Resume Job Matching With Job Description
Resume Job Matching With Job DescriptionResume Job Matching With Job Description
Resume Job Matching With Job Description
nikhilstyle1234
 
Tech capabilities with_sa
Tech capabilities with_saTech capabilities with_sa
Tech capabilities with_sa
Robert Martin
 
Extreme programming
Extreme programmingExtreme programming
Extreme programming
AYUSH JAIN
 
Avi Pfeffer, Principal Scientist, Charles River Analytics at MLconf SEA - 5/2...
Avi Pfeffer, Principal Scientist, Charles River Analytics at MLconf SEA - 5/2...Avi Pfeffer, Principal Scientist, Charles River Analytics at MLconf SEA - 5/2...
Avi Pfeffer, Principal Scientist, Charles River Analytics at MLconf SEA - 5/2...
MLconf
 
IRJET- Machine Learning Techniques for Code Optimization
IRJET-  	  Machine Learning Techniques for Code OptimizationIRJET-  	  Machine Learning Techniques for Code Optimization
IRJET- Machine Learning Techniques for Code Optimization
IRJET Journal
 
DSA unpluggedEventByGDGOncampusAtMedcaps.pptx
DSA unpluggedEventByGDGOncampusAtMedcaps.pptxDSA unpluggedEventByGDGOncampusAtMedcaps.pptx
DSA unpluggedEventByGDGOncampusAtMedcaps.pptx
vipuljatsports
 
Rated Ranking Evaluator (FOSDEM 2019)
Rated Ranking Evaluator (FOSDEM 2019)Rated Ranking Evaluator (FOSDEM 2019)
Rated Ranking Evaluator (FOSDEM 2019)
Andrea Gazzarini
 
Rated Ranking Evaluator: An Open Source Approach for Search Quality Evaluation
Rated Ranking Evaluator: An Open Source Approach for Search Quality EvaluationRated Ranking Evaluator: An Open Source Approach for Search Quality Evaluation
Rated Ranking Evaluator: An Open Source Approach for Search Quality Evaluation
Alessandro Benedetti
 
Applications of Generative Artificial intelligence
Applications of Generative Artificial intelligenceApplications of Generative Artificial intelligence
Applications of Generative Artificial intelligence
DrNBargavi
 
Sfeldman performance bb_worldemea07
Sfeldman performance bb_worldemea07Sfeldman performance bb_worldemea07
Sfeldman performance bb_worldemea07
Steve Feldman
 
MLApproachToProgramming.ppt
MLApproachToProgramming.pptMLApproachToProgramming.ppt
MLApproachToProgramming.ppt
Nitesh Dubey
 
Ml approach toprogramming
Ml approach toprogrammingMl approach toprogramming
Ml approach toprogramming
RMani7
 
GDSC Machine Learning Session Presentation
GDSC Machine Learning Session PresentationGDSC Machine Learning Session Presentation
GDSC Machine Learning Session Presentation
gdsclavasa
 
Case Study: Experiences Using IBM Rational Method Composer to Deliver a BPM I...
Case Study: Experiences Using IBM Rational Method Composer to Deliver a BPM I...Case Study: Experiences Using IBM Rational Method Composer to Deliver a BPM I...
Case Study: Experiences Using IBM Rational Method Composer to Deliver a BPM I...
ghodgkinson
 
Top Natural Language Processing |aitech.studio
Top Natural Language Processing |aitech.studioTop Natural Language Processing |aitech.studio
Top Natural Language Processing |aitech.studio
AITechStudio
 
Generative AI in CSharp with Semantic Kernel.pptx
Generative AI in CSharp with Semantic Kernel.pptxGenerative AI in CSharp with Semantic Kernel.pptx
Generative AI in CSharp with Semantic Kernel.pptx
Alon Fliess
 
Multi-modal sources for predictive modeling using deep learning
Multi-modal sources for predictive modeling using deep learningMulti-modal sources for predictive modeling using deep learning
Multi-modal sources for predictive modeling using deep learning
Sanghamitra Deb
 
Resume Job Matching With Job Description
Resume Job Matching With Job DescriptionResume Job Matching With Job Description
Resume Job Matching With Job Description
nikhilstyle1234
 
Tech capabilities with_sa
Tech capabilities with_saTech capabilities with_sa
Tech capabilities with_sa
Robert Martin
 
Extreme programming
Extreme programmingExtreme programming
Extreme programming
AYUSH JAIN
 
Avi Pfeffer, Principal Scientist, Charles River Analytics at MLconf SEA - 5/2...
Avi Pfeffer, Principal Scientist, Charles River Analytics at MLconf SEA - 5/2...Avi Pfeffer, Principal Scientist, Charles River Analytics at MLconf SEA - 5/2...
Avi Pfeffer, Principal Scientist, Charles River Analytics at MLconf SEA - 5/2...
MLconf
 
IRJET- Machine Learning Techniques for Code Optimization
IRJET-  	  Machine Learning Techniques for Code OptimizationIRJET-  	  Machine Learning Techniques for Code Optimization
IRJET- Machine Learning Techniques for Code Optimization
IRJET Journal
 
DSA unpluggedEventByGDGOncampusAtMedcaps.pptx
DSA unpluggedEventByGDGOncampusAtMedcaps.pptxDSA unpluggedEventByGDGOncampusAtMedcaps.pptx
DSA unpluggedEventByGDGOncampusAtMedcaps.pptx
vipuljatsports
 

More from mayankbanoula2 (7)

Top 10 AWS Services | AWS Services Explained | Introduction To AWS | Simplilearn
Top 10 AWS Services | AWS Services Explained | Introduction To AWS | SimplilearnTop 10 AWS Services | AWS Services Explained | Introduction To AWS | Simplilearn
Top 10 AWS Services | AWS Services Explained | Introduction To AWS | Simplilearn
mayankbanoula2
 
What is Product Market Fit and How You Can Achieve It? | Product Management |...
What is Product Market Fit and How You Can Achieve It? | Product Management |...What is Product Market Fit and How You Can Achieve It? | Product Management |...
What is Product Market Fit and How You Can Achieve It? | Product Management |...
mayankbanoula2
 
What Does A Product Manager Do? | A Day In A Life Of A Product Manager | Simp...
What Does A Product Manager Do? | A Day In A Life Of A Product Manager | Simp...What Does A Product Manager Do? | A Day In A Life Of A Product Manager | Simp...
What Does A Product Manager Do? | A Day In A Life Of A Product Manager | Simp...
mayankbanoula2
 
Langchain Explained | What is Langchain? | Langchain Tutorial For Beginners |...
Langchain Explained | What is Langchain? | Langchain Tutorial For Beginners |...Langchain Explained | What is Langchain? | Langchain Tutorial For Beginners |...
Langchain Explained | What is Langchain? | Langchain Tutorial For Beginners |...
mayankbanoula2
 
Customer Journey Mapping | Customer Journey | customer journey mapping design...
Customer Journey Mapping | Customer Journey | customer journey mapping design...Customer Journey Mapping | Customer Journey | customer journey mapping design...
Customer Journey Mapping | Customer Journey | customer journey mapping design...
mayankbanoula2
 
How To Solve Product Management Case Study Interview Questions | PMP Case Stu...
How To Solve Product Management Case Study Interview Questions | PMP Case Stu...How To Solve Product Management Case Study Interview Questions | PMP Case Stu...
How To Solve Product Management Case Study Interview Questions | PMP Case Stu...
mayankbanoula2
 
7 Effective Marketing Strategies for 2025 | Most Effective Marketing Strategi...
7 Effective Marketing Strategies for 2025 | Most Effective Marketing Strategi...7 Effective Marketing Strategies for 2025 | Most Effective Marketing Strategi...
7 Effective Marketing Strategies for 2025 | Most Effective Marketing Strategi...
mayankbanoula2
 
Top 10 AWS Services | AWS Services Explained | Introduction To AWS | Simplilearn
Top 10 AWS Services | AWS Services Explained | Introduction To AWS | SimplilearnTop 10 AWS Services | AWS Services Explained | Introduction To AWS | Simplilearn
Top 10 AWS Services | AWS Services Explained | Introduction To AWS | Simplilearn
mayankbanoula2
 
What is Product Market Fit and How You Can Achieve It? | Product Management |...
What is Product Market Fit and How You Can Achieve It? | Product Management |...What is Product Market Fit and How You Can Achieve It? | Product Management |...
What is Product Market Fit and How You Can Achieve It? | Product Management |...
mayankbanoula2
 
What Does A Product Manager Do? | A Day In A Life Of A Product Manager | Simp...
What Does A Product Manager Do? | A Day In A Life Of A Product Manager | Simp...What Does A Product Manager Do? | A Day In A Life Of A Product Manager | Simp...
What Does A Product Manager Do? | A Day In A Life Of A Product Manager | Simp...
mayankbanoula2
 
Langchain Explained | What is Langchain? | Langchain Tutorial For Beginners |...
Langchain Explained | What is Langchain? | Langchain Tutorial For Beginners |...Langchain Explained | What is Langchain? | Langchain Tutorial For Beginners |...
Langchain Explained | What is Langchain? | Langchain Tutorial For Beginners |...
mayankbanoula2
 
Customer Journey Mapping | Customer Journey | customer journey mapping design...
Customer Journey Mapping | Customer Journey | customer journey mapping design...Customer Journey Mapping | Customer Journey | customer journey mapping design...
Customer Journey Mapping | Customer Journey | customer journey mapping design...
mayankbanoula2
 
How To Solve Product Management Case Study Interview Questions | PMP Case Stu...
How To Solve Product Management Case Study Interview Questions | PMP Case Stu...How To Solve Product Management Case Study Interview Questions | PMP Case Stu...
How To Solve Product Management Case Study Interview Questions | PMP Case Stu...
mayankbanoula2
 
7 Effective Marketing Strategies for 2025 | Most Effective Marketing Strategi...
7 Effective Marketing Strategies for 2025 | Most Effective Marketing Strategi...7 Effective Marketing Strategies for 2025 | Most Effective Marketing Strategi...
7 Effective Marketing Strategies for 2025 | Most Effective Marketing Strategi...
mayankbanoula2
 

Recently uploaded (20)

KNN,Weighted KNN,Nearest Centroid Classifier,Locally Weighted Regression
KNN,Weighted KNN,Nearest Centroid Classifier,Locally Weighted RegressionKNN,Weighted KNN,Nearest Centroid Classifier,Locally Weighted Regression
KNN,Weighted KNN,Nearest Centroid Classifier,Locally Weighted Regression
Global Academy of Technology
 
Unit 1 Tools Beneficial for Monitoring the Debugging Process.pdf
Unit 1 Tools Beneficial for Monitoring the Debugging Process.pdfUnit 1 Tools Beneficial for Monitoring the Debugging Process.pdf
Unit 1 Tools Beneficial for Monitoring the Debugging Process.pdf
ChatanBawankar
 
Drug Metabolism advanced medicinal chemistry.pptx
Drug Metabolism advanced medicinal chemistry.pptxDrug Metabolism advanced medicinal chemistry.pptx
Drug Metabolism advanced medicinal chemistry.pptx
pharmaworld
 
Decision Tree-ID3,C4.5,CART,Regression Tree
Decision Tree-ID3,C4.5,CART,Regression TreeDecision Tree-ID3,C4.5,CART,Regression Tree
Decision Tree-ID3,C4.5,CART,Regression Tree
Global Academy of Technology
 
How to create and manage blogs in odoo 18
How to create and manage blogs in odoo 18How to create and manage blogs in odoo 18
How to create and manage blogs in odoo 18
Celine George
 
Education Funding Equity in North Carolina: Looking Beyond Income
Education Funding Equity in North Carolina: Looking Beyond IncomeEducation Funding Equity in North Carolina: Looking Beyond Income
Education Funding Equity in North Carolina: Looking Beyond Income
EducationNC
 
"Orthoptera: Grasshoppers, Crickets, and Katydids pptx
"Orthoptera: Grasshoppers, Crickets, and Katydids pptx"Orthoptera: Grasshoppers, Crickets, and Katydids pptx
"Orthoptera: Grasshoppers, Crickets, and Katydids pptx
Arshad Shaikh
 
Understanding-the-Weather.pdf/7th class/social/ 2nd chapter/Samyans Academy n...
Understanding-the-Weather.pdf/7th class/social/ 2nd chapter/Samyans Academy n...Understanding-the-Weather.pdf/7th class/social/ 2nd chapter/Samyans Academy n...
Understanding-the-Weather.pdf/7th class/social/ 2nd chapter/Samyans Academy n...
Sandeep Swamy
 
Protest - Student Revision Booklet For VCE English
Protest - Student Revision Booklet For VCE EnglishProtest - Student Revision Booklet For VCE English
Protest - Student Revision Booklet For VCE English
jpinnuck
 
[2025] Qualtric XM-EX-EXPERT Study Plan | Practice Questions + Exam Details
[2025] Qualtric XM-EX-EXPERT Study Plan | Practice Questions + Exam Details[2025] Qualtric XM-EX-EXPERT Study Plan | Practice Questions + Exam Details
[2025] Qualtric XM-EX-EXPERT Study Plan | Practice Questions + Exam Details
Jenny408767
 
EVALUATION AND MANAGEMENT OF OPEN FRACTURE
EVALUATION AND MANAGEMENT OF OPEN FRACTUREEVALUATION AND MANAGEMENT OF OPEN FRACTURE
EVALUATION AND MANAGEMENT OF OPEN FRACTURE
BipulBorthakur
 
STUDENT LOAN TRUST FUND DEFAULTERS GHANA
STUDENT LOAN TRUST FUND DEFAULTERS GHANASTUDENT LOAN TRUST FUND DEFAULTERS GHANA
STUDENT LOAN TRUST FUND DEFAULTERS GHANA
Kweku Zurek
 
Multicultural approach in education - B.Ed
Multicultural approach in education - B.EdMulticultural approach in education - B.Ed
Multicultural approach in education - B.Ed
prathimagowda443
 
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
siemaillard
 
What are the Features & Functions of Odoo 18 SMS Marketing
What are the Features & Functions of Odoo 18 SMS MarketingWhat are the Features & Functions of Odoo 18 SMS Marketing
What are the Features & Functions of Odoo 18 SMS Marketing
Celine George
 
0b - THE ROMANTIC ERA: FEELINGS AND IDENTITY.pptx
0b - THE ROMANTIC ERA: FEELINGS AND IDENTITY.pptx0b - THE ROMANTIC ERA: FEELINGS AND IDENTITY.pptx
0b - THE ROMANTIC ERA: FEELINGS AND IDENTITY.pptx
Julián Jesús Pérez Fernández
 
How to Use Owl Slots in Odoo 17 - Odoo Slides
How to Use Owl Slots in Odoo 17 - Odoo SlidesHow to Use Owl Slots in Odoo 17 - Odoo Slides
How to Use Owl Slots in Odoo 17 - Odoo Slides
Celine George
 
Policies, procedures, subject selection and QTAC.pptx
Policies, procedures, subject selection and QTAC.pptxPolicies, procedures, subject selection and QTAC.pptx
Policies, procedures, subject selection and QTAC.pptx
mansk2
 
Regression Analysis-Machine Learning -Different Types
Regression Analysis-Machine Learning -Different TypesRegression Analysis-Machine Learning -Different Types
Regression Analysis-Machine Learning -Different Types
Global Academy of Technology
 
Flower Identification Class-10 by Kushal Lamichhane.pdf
Flower Identification Class-10 by Kushal Lamichhane.pdfFlower Identification Class-10 by Kushal Lamichhane.pdf
Flower Identification Class-10 by Kushal Lamichhane.pdf
kushallamichhame
 
KNN,Weighted KNN,Nearest Centroid Classifier,Locally Weighted Regression
KNN,Weighted KNN,Nearest Centroid Classifier,Locally Weighted RegressionKNN,Weighted KNN,Nearest Centroid Classifier,Locally Weighted Regression
KNN,Weighted KNN,Nearest Centroid Classifier,Locally Weighted Regression
Global Academy of Technology
 
Unit 1 Tools Beneficial for Monitoring the Debugging Process.pdf
Unit 1 Tools Beneficial for Monitoring the Debugging Process.pdfUnit 1 Tools Beneficial for Monitoring the Debugging Process.pdf
Unit 1 Tools Beneficial for Monitoring the Debugging Process.pdf
ChatanBawankar
 
Drug Metabolism advanced medicinal chemistry.pptx
Drug Metabolism advanced medicinal chemistry.pptxDrug Metabolism advanced medicinal chemistry.pptx
Drug Metabolism advanced medicinal chemistry.pptx
pharmaworld
 
How to create and manage blogs in odoo 18
How to create and manage blogs in odoo 18How to create and manage blogs in odoo 18
How to create and manage blogs in odoo 18
Celine George
 
Education Funding Equity in North Carolina: Looking Beyond Income
Education Funding Equity in North Carolina: Looking Beyond IncomeEducation Funding Equity in North Carolina: Looking Beyond Income
Education Funding Equity in North Carolina: Looking Beyond Income
EducationNC
 
"Orthoptera: Grasshoppers, Crickets, and Katydids pptx
"Orthoptera: Grasshoppers, Crickets, and Katydids pptx"Orthoptera: Grasshoppers, Crickets, and Katydids pptx
"Orthoptera: Grasshoppers, Crickets, and Katydids pptx
Arshad Shaikh
 
Understanding-the-Weather.pdf/7th class/social/ 2nd chapter/Samyans Academy n...
Understanding-the-Weather.pdf/7th class/social/ 2nd chapter/Samyans Academy n...Understanding-the-Weather.pdf/7th class/social/ 2nd chapter/Samyans Academy n...
Understanding-the-Weather.pdf/7th class/social/ 2nd chapter/Samyans Academy n...
Sandeep Swamy
 
Protest - Student Revision Booklet For VCE English
Protest - Student Revision Booklet For VCE EnglishProtest - Student Revision Booklet For VCE English
Protest - Student Revision Booklet For VCE English
jpinnuck
 
[2025] Qualtric XM-EX-EXPERT Study Plan | Practice Questions + Exam Details
[2025] Qualtric XM-EX-EXPERT Study Plan | Practice Questions + Exam Details[2025] Qualtric XM-EX-EXPERT Study Plan | Practice Questions + Exam Details
[2025] Qualtric XM-EX-EXPERT Study Plan | Practice Questions + Exam Details
Jenny408767
 
EVALUATION AND MANAGEMENT OF OPEN FRACTURE
EVALUATION AND MANAGEMENT OF OPEN FRACTUREEVALUATION AND MANAGEMENT OF OPEN FRACTURE
EVALUATION AND MANAGEMENT OF OPEN FRACTURE
BipulBorthakur
 
STUDENT LOAN TRUST FUND DEFAULTERS GHANA
STUDENT LOAN TRUST FUND DEFAULTERS GHANASTUDENT LOAN TRUST FUND DEFAULTERS GHANA
STUDENT LOAN TRUST FUND DEFAULTERS GHANA
Kweku Zurek
 
Multicultural approach in education - B.Ed
Multicultural approach in education - B.EdMulticultural approach in education - B.Ed
Multicultural approach in education - B.Ed
prathimagowda443
 
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
siemaillard
 
What are the Features & Functions of Odoo 18 SMS Marketing
What are the Features & Functions of Odoo 18 SMS MarketingWhat are the Features & Functions of Odoo 18 SMS Marketing
What are the Features & Functions of Odoo 18 SMS Marketing
Celine George
 
How to Use Owl Slots in Odoo 17 - Odoo Slides
How to Use Owl Slots in Odoo 17 - Odoo SlidesHow to Use Owl Slots in Odoo 17 - Odoo Slides
How to Use Owl Slots in Odoo 17 - Odoo Slides
Celine George
 
Policies, procedures, subject selection and QTAC.pptx
Policies, procedures, subject selection and QTAC.pptxPolicies, procedures, subject selection and QTAC.pptx
Policies, procedures, subject selection and QTAC.pptx
mansk2
 
Regression Analysis-Machine Learning -Different Types
Regression Analysis-Machine Learning -Different TypesRegression Analysis-Machine Learning -Different Types
Regression Analysis-Machine Learning -Different Types
Global Academy of Technology
 
Flower Identification Class-10 by Kushal Lamichhane.pdf
Flower Identification Class-10 by Kushal Lamichhane.pdfFlower Identification Class-10 by Kushal Lamichhane.pdf
Flower Identification Class-10 by Kushal Lamichhane.pdf
kushallamichhame
 

RAG v/s Fine-Tuning v/s Prompt Tuning | Advanced Prompt Engineering | RAG OpenAI | Simplilearn

  • 2. What is RAG ? Retrieval-Augmented Generation Retrieval-Augmented Generation (RAG) is a technique that enhances the performance of language models by combining them with a retrieval system. External Information Accurate
  • 3. How RAG works ? STEP 1 : Understanding the question with LM STEP 3 : Takes the information combines with already known information STEP 2 : Searching for best information from outside sources. STEP 4 : Complete and accurate output.
  • 4. What is Fine tuning? Fine tuning is a process used in machine learning particularly with large model to adapt a pre-trained model to perform a specific task more effectively. General Knowledge Improvement
  • 5. How Fine-Tuning Works? STEP 1 : Start with a pre- trained model. STEP 3 : Fine tuning process. STEP 4 : Evaluate the model. STEP 2 : Prepare a specific dataset.
  • 6. What is Prompt tuning? Prompt tuning is a technique used to optimize the way prompts are presented to a language model in-order to steer its responses towards a desired outcome. General Knowledge Improvement
  • 7. How Prompt tuning Works? STEP 1 : Define Objectives STEP 3 : Evaluate Performance STEP 2 : Design Prompts STEP 4 : Refine and Iterate
  • 8. Major Differences RAG combines a language model with a retrieval system. Approach Prompt tuning modifies the prompts to guide the model’s response Fine-Tuning further trains a pre-trained language model on a specific dataset.
  • 10. Major Differences RAG improves accuracy and relevance Purpose Prompt tuning directs the model to generate more relevant responses. Fine-Tuning customizes the model to perform better.
  • 11. Major Differences How a car Engine works?
  • 12. Major Differences RAG answers questions with the latest information Use - Case Prompt tuning customizes output style. Fine-Tuning creates a chatbot tailored for customer support
  • 13. Major Differences RAG relies on external databases or documents Data dependency Prompt tuning operates on the pre-trained model's existing knowledge base. Fine-Tuning depends on a fixed, task-specific dataset during the training phase