Prev play stop Next mute max volume 00:00 00:00 repeat Update Required To play the media you will need to either update your browser to a recent version or update your Flash plugin. Local Retrieval Augmented Generation (RAG) from Scratch (step by step tutorial) Daniel Bourke Kho Tổng Hợp 225,884 1 năm trước Xem video Facebook Tweet XEM MÔ TẢ In this video we'll build a Retrieval Augmented Generation (RAG) pipeline to run locally from scratch. There are frameworks to do this such as LangChain and LlamaIndex, however, building from scratch means that you'll know all the parts of the puzzle. Specifically, we'll build NutriChat, a RAG pipeline that allows someone to ask questions of a 1200 page Nutrition Textbook PDF. Code on GitHub - https://github.com/mrdbourke/simple-local-rag Whiteboard - https://whimsical.com/simple-local-rag-workflow-39kToR3yNf7E8kY4sS2tjV Be sure to check out NVIDIA GTC, NVIDIA's GPU Technology Conference running from March 18-21. It's free to attend virtually! That's what I'm doing. Sign up to GTC24 here: https://nvda.ws/3GUZygQ Other links: Download Nutrify (take a photo of food and learn about it) - https://nutrify.app Learn AI/ML (beginner-friendly course) - https://dbourke.link/ZTMMLcourse Learn TensorFlow - https://dbourke.link/ZTMTFcourse Learn PyTorch - https://dbourke.link/ZTMPyTorch AI/ML courses/books I recommend - https://www.mrdbourke.com/ml-resources/ Read my novel Charlie Walks - https://www.charliewalks.com Connect elsewhere: Web - https://dbourke.link/web Twitter - https://www.twitter.com/mrdbourke Twitch - https://www.twitch.tv/mrdbourke ArXiv channel (past streams) - https://dbourke.link/archive-channel Get email updates on my work - https://dbourke.link/newsletter Timestamps: 0:00 - Intro/NVIDIA GTC 2:25 - Part 0: Resources and overview 8:33 - Part 1: What is RAG? Why RAG? Why locally? 12:26 - Why RAG? 19:31 - What can RAG be used for? 26:08 - Why run locally? 30:26 - Part 2: What we're going to build 40:40 - Original Retrieval Augmented Generation paper 46:04 - Part 3: Importing and processing a PDF document 48:29 - Code starts! Importing a PDF and making it readable 1:17:09 - Part 4: Preprocessing our text into chunks (text splitting) 1:28:27 - Chunking our sentences together 1:56:38 - Part 5: Embedding creation 1:58:15 - Incredible embeddings resource by Vicky Boykis 1:58:49 - Open-source embedding models 2:00:00 - Creating our embedding model 2:09:02 - Creating embeddings on CPU vs GPU 2:25:14 - Part 6: Retrieval (semantic search) 2:36:57 - Troubleshooting np.fromstring (live!) 2:41:41 - Creating a small semantic search pipeline 2:56:25 - Showcasing the speed of vector search on GPUs 3:20:02 - Part 7: Similarity measures between embedding vectors explained 3:35:58 - Part 8: Functionizing our semantic search pipeline (retrieval) 3:46:49 - Part 9: Getting a Large Langue Model (LLM) to run locally 3:47:51 - Which LLM should I use? 4:03:18 - Loading a LLM locally 4:30:48 - Part 10: Generating text with our local LLM 4:49:09 - Part 11: Augmenting our prompt with context items 5:16:04 - Part 12: Functionizing our text generation step (putting it all together) 5:33:57 - Summary and potential extensions 5:36:00 - Leave a comment if there's any other videos you'd like to see! #ai #rag #GTC24 Mp3 liên quan 2:27:54 NE RENCONTREZ JAMAIS LE PROTOTYPE !! POPPY PLAYTIME CHAPTER 5 (JEU COMPLET) Nino MssClick 797,488 view 9 ngày trước 10:44 You Are Not An Investor... But Its Important You THINK You Are... How Money Works 525,238 view 1 năm trước 1:24 the WORLD -TV Size- NIGHTMARE - Topic 2,039,050 view 4 năm trước 3:15 Mabel - Dont Call Me Up (Official Video) MabelVEVO 381,100,651 view 7 năm trước 7:32 Why dont people eat ostrich eggs? Mystery Science 5,966,754 view 6 năm trước 3:33 Smokin And Ridin (feat. Freddie Gibbs & Problem) Release - Topic 2,971,514 view 3 năm trước 39:30 Aduh jadi pada luluh lantah begini cewek cewek bule abis di Nyanyiin wkwk SINGING REACTIONS OmeTV Randy Dongseu 170,855 view 6 ngày trước 26:10 7 SECRETS POUR RÉGÉNÉRER LES GENCIVES QUE VOTRE DENTISTE NE VOUS DIT PAS Santé avec le Dr Joseph 852 view 5 ngày trước 25:43 This Suburban Had a MYSTERY Noise for a YEAR… Nobody Could Solve It! Dave's Auto Center 181,585 view 5 ngày trước 16:48 Nobody Is Safe From A Jim Carrey Impression Binge Central 5,185,322 view 10 tháng trước 2:33 Marcus King // Workin Man Blues Carter Vintage Guitars 2,689,909 view 1 năm trước 1:17:52 Changing the water in the duck pond: Making more nests for the laying hens: The life of Ly Tieu Ca Ly Tieu Ca's life 75,910 view 6 ngày trước 0:10 Scantron Operation Dr. John Dalbey 14,579 view 10 năm trước 4:24 iNSIGHT 1500c Scantron 999 view 7 năm trước 31:16 100 Players VS Minecraft’s Strongest Weapons LanceWhy 256,643 view 8 ngày trước 2:23 Lil Peep - Star Shopping (Official Audio) Lil Peep 38,724,925 view 1 năm trước 1:02:46 Tracy Morgan talks near-fatal crash, 30 Rock & SNL career, his cousin Nas | Tony Yayo & Uncle Murda The Real Report with Tony Yayo and Uncle Murda 333,526 view 7 ngày trước 3:27 Randy Orton - Voices (Entrance Theme) [feat. Rev Theory] WWEMusic 59,165,354 view 10 năm trước 7:59:11 🔴 Peppa Pig BEST of George 2026 LIVE! 🦖 Kids Cartoons 🔴 Peppa Pig - Official Channel 30,958 view 6 ngày trước 15:18 Neue Motorradjeans im Test - Modelle für 2025 jetzt bei uns im Programm LBM Biker's Outfit 23,052 view 11 tháng trước Thể loại nhạc