Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Developing Kaggle Notebooks

You're reading from  Developing Kaggle Notebooks

Product type Book
Published in Dec 2023
Publisher Packt
ISBN-13 9781805128519
Pages 370 pages
Edition 1st Edition
Languages
Author (1):
Gabriel Preda Gabriel Preda
Profile icon Gabriel Preda

Table of Contents (14) Chapters

Preface 1. Introducing Kaggle and Its Basic Functions 2. Getting Ready for Your Kaggle Environment 3. Starting Our Travel – Surviving the Titanic Disaster 4. Take a Break and Have a Beer or Coffee in London 5. Get Back to Work and Optimize Microloans for Developing Countries 6. Can You Predict Bee Subspecies? 7. Text Analysis Is All You Need 8. Analyzing Acoustic Signals to Predict the Next Simulated Earthquake 9. Can You Find Out Which Movie Is a Deepfake? 10. Unleash the Power of Generative AI with Kaggle Models 11. Closing Our Journey: How to Stay Relevant and on Top 12. Other Books You May Enjoy
13. Index

Creating a RAG system

In the previous sections, we explored various approaches to interact with Foundation Models – more precisely, available LLMs from Kaggle Models. First, we experimented with prompting, directly using the models. Then, we quantized the models with two different approaches. We also showed that we can use models to generate code. A more complex application included a combination of LangChain with an LLM to create sequences of connected operations, or task sequences.

In all these cases, the answers of the LLM are based on the information already available with the model at the time of training it. If we would like to have the LLM answer queries about information that was never presented to the LLM, the model might provide a deceiving answer by hallucinating. To counter this tendency of models to hallucinate when they do not have the right information, we can fine-tune models with our own data. The disadvantage to this is that it is costly, since the computational...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime}