From the course: Hands-On AI: Introduction to Retrieval-Augmented Generation (RAG)
Unlock this course with a free trial
Join today to access over 24,700 courses taught by industry experts.
Different embedding models - Python Tutorial
From the course: Hands-On AI: Introduction to Retrieval-Augmented Generation (RAG)
Different embedding models
- [Instructor] We've talked about the importance of embedding models. Let's learn how we can use different embedding models for different use cases. There are two main differences between embedding models. The first is the type of data that it embeds. In an earlier video, I said that you can use any deep learning model that is trained on the type of data that you want to embed as an embedding model, and this is where that idea comes in. You can use embedding models that work on images, text, video, audio, or even multiple types of data. The second difference is in the length of embedding. Embeddings are almost always in the magnitude of hundreds to thousands, but many embedding models differ in the exact length of their vector embeddings. Different embedding models produce embeddings of different length due to their architecture. Remember, embeddings are just the output from the second to last layer of a deep learning model. Due to the way that vector math works, only embeddings of…
Contents
-
-
-
-
Understanding your RAG app with observability2m 31s
-
(Locked)
Begin optimizing your data ingestion1m 6s
-
(Locked)
Different embedding models1m 50s
-
(Locked)
Different ways to compare vectors1m 43s
-
(Locked)
Demo: Adding observability to RAG2m 37s
-
(Locked)
Challenge: Altered data ingestion46s
-
(Locked)
Solution: Altered data ingestion1m 17s
-
(Locked)
Challenge: Different embedding models40s
-
(Locked)
Solution: Different embedding models54s
-
(Locked)
Challenge: Comparing results57s
-
(Locked)
Solution: Comparing results1m 24s
-
-