7. Embeddings in Depth - Part of the Ollama Course

Matt Williams September 4, 2024
Video Thumbnail
Matt Williams Logo

Matt Williams

@technovangelist

About

I was a founding maintainer of Ollama, the first evangelist at Datadog, and a former organizer of DevOps Days Seattle, DevOps Days Boston, and Serverless Days Boston. I am passionate about gadgets and AI and automation. Some folks don't think that word is appropriate, but it totally fits here. If you meet me in person you will see me light up when I can share with you my latest gadget, tool, or utility. And this is where I get to share that with all of you. You can find more about me at my website (http://technovangelist.com) or on Twitter (http://twitter.com/technovangelist)

Video Description

Dive into the world of embeddings and their crucial role in modern AI applications, particularly in enhancing search capabilities and information retrieval. This video, part of our comprehensive Ollama course, explains: - What embeddings are and how they differ from traditional text-matching searches - The importance of embeddings in Retrieval Augmented Generation (RAG) - How to create and use embeddings with Ollama's API - A practical comparison of different embedding models, including: - nomic-embed-text - mxbai-embed-large - all-minilm - snowflake-arctic-embed - bge-m3 - bge-large - llama3.1 We'll demonstrate real-world applications, discuss performance considerations, and explore the nuances of working with embeddings. Whether you're new to AI or looking to deepen your understanding, this video provides valuable insights into this powerful technology. Join us as we uncover how embeddings are transforming the way we interact with and retrieve information in the age of AI. #AI #MachineLearning #Embeddings #Ollama #InformationRetrieval My Links 🔗 👉🏻 Subscribe (free): https://www.youtube.com/technovangelist 👉🏻 Join and Support: https://www.youtube.com/channel/UCHaF9kM2wn8C3CLRwLkC2GQ/join 👉🏻 Newsletter: https://technovangelist.substack.com/subscribe 👉🏻 Twitter: https://www.twitter.com/technovangelist 👉🏻 Discord: https://discord.gg/uS4gJMCRH2 👉🏻 Patreon: https://patreon.com/technovangelist 👉🏻 Instagram: https://www.instagram.com/technovangelist/ 👉🏻 Threads: https://www.threads.net/@technovangelist?xmt=AQGzoMzVWwEq8qrkEGV8xEpbZ1FIcTl8Dhx9VpF1bkSBQp4 👉🏻 LinkedIn: https://www.linkedin.com/in/technovangelist/ 👉🏻 All Source Code: https://github.com/technovangelist/videoprojects Want to sponsor this channel? Let me know what your plans are here: https://www.technovangelist.com/sponsor 00:00 - Start 00:36 - There is another way 00:47 - Welcome to the course 01:25 - How do embeddings fit in 01:45 - What does the actual embedding 02:12 - Dimensions 02:39 - Similarity Search 03:39 - How to create the embedding 03:58 - The 3 endpoints 04:43 - The right endpoint to use 05:25 - Python and JS/TS libraries 05:54 - Let's look at a simple example 06:09 - The sample I used to embed 06:50 - Which is faster 07:34 - Let's look at the answers 08:55 - Where to find the example code 09:08 - Some of the variables to play with 09:32 - Frustrations

Boost Your AI Learning

AI-recommended products based on this video

Loading...
Seasonic Focus V4 GX-1000 (ATX3) - 1000W - 80+ Gold - ATX 3.0 & PCIe 5.1 Ready -Full-Modular -ATX Form Factor -Premium Japanese Capacitor -10 Year Warranty -Nvidia RTX 30/40 Super & AMD GPU Compatible

Seasonic Focus V4 GX-1000 (ATX3) - 1000W - 80+ Gold - ATX 3.0 & PCIe 5.1 Ready -Full-Modular -ATX Form Factor -Premium Japanese Capacitor -10 Year Warranty -Nvidia RTX 30/40 Super & AMD GPU Compatible

(22)
$423.35
FREE delivery Oct 8 - 10
Loading...
Freenove Ultimate Starter Kit for BBC micro bit (V2 Included), 316-Page Detailed Tutorial, 225 Items, 44 Projects, Blocks and Python Code

Freenove Ultimate Starter Kit for BBC micro bit (V2 Included), 316-Page Detailed Tutorial, 225 Items, 44 Projects, Blocks and Python Code

(382)
$94.95
PrimeFREE delivery Sat, Jun 14
Loading...
Hydrocolloid Roll for Wound Care - Cut-to-Size, Extra Large Hydrocolloid Patch Bandages with Self-Adhesive, Ultra Absorbent, Flexible & Waterproof, First Aid Kit Essential (2in*16ft)

Hydrocolloid Roll for Wound Care - Cut-to-Size, Extra Large Hydrocolloid Patch Bandages with Self-Adhesive, Ultra Absorbent, Flexible & Waterproof, First Aid Kit Essential (2in*16ft)

(76)
$36.99$23.98
FREE delivery Sun, Sep 7
4K+ bought in past month
Loading...
Pilates Essential Kit - Portable Fitness Equipment - with Toning Pilates Ring & Long Resistance Bands & Pilates Loop Bands & Soft Pilates Ball & Pilates Grip Socks

Pilates Essential Kit - Portable Fitness Equipment - with Toning Pilates Ring & Long Resistance Bands & Pilates Loop Bands & Soft Pilates Ball & Pilates Grip Socks

(0)
$43.99
FREE delivery Jun 18 - 27
Loading...
BRITA Hub Replacement Water Filter, BPA-Free, Replaces 900 Plastic Water Bottles, Lasts Six Months or 120 Gallons, Includes 1 Filter, Kitchen Essential, White

BRITA Hub Replacement Water Filter, BPA-Free, Replaces 900 Plastic Water Bottles, Lasts Six Months or 120 Gallons, Includes 1 Filter, Kitchen Essential, White

(272)
$49.99
FREE delivery Tue, Sep 23
50+ bought in past month
Loading...
10.1 Inch Touch Portable Monitor IPS Screen 1366x768P 60Hz 400 Brightness 99% sRGB HDMI USB-C Monitors Switch for Xbox PS3/4/5 Laptop Compatible with Raspberry Pi, Mini Touch Screen

10.1 Inch Touch Portable Monitor IPS Screen 1366x768P 60Hz 400 Brightness 99% sRGB HDMI USB-C Monitors Switch for Xbox PS3/4/5 Laptop Compatible with Raspberry Pi, Mini Touch Screen

(1)
$99.99
FREE delivery Mon, Aug 11
Loading...
ELECROW 8 Inch Portable Monitor, 1280x800 Mini HD Display with Built-in Speakers, USB Powered, Non-Touch LCD Screen for Raspberry Pi, PC, Laptop, Jetson Nano, Game Consoles

ELECROW 8 Inch Portable Monitor, 1280x800 Mini HD Display with Built-in Speakers, USB Powered, Non-Touch LCD Screen for Raspberry Pi, PC, Laptop, Jetson Nano, Game Consoles

(49)
$117.29$102.21
$6.86 delivery Thu, Aug 14
Loading...
7 Inch Portable Monitor Touchscreen HD 1024x600 LED Display Dual HDMI Port Small Monitor for PC Raspberry Pi Laptop Computer Xbox PS4/5 Switch Built-in Speakers

7 Inch Portable Monitor Touchscreen HD 1024x600 LED Display Dual HDMI Port Small Monitor for PC Raspberry Pi Laptop Computer Xbox PS4/5 Switch Built-in Speakers

(61)
$68.99
FREE delivery Tue, Aug 12
Loading...
BrosTrend 1800Mbps WiFi 6 Linux WiFi Adapter for PC and Raspberry Pi 2+, Long Range USB WiFi Dongle Linux for Ubuntu, Mint, Debian, Kubuntu, Lubuntu, Zorin, Windows 11/10, Dual Band Wireless Antenna

BrosTrend 1800Mbps WiFi 6 Linux WiFi Adapter for PC and Raspberry Pi 2+, Long Range USB WiFi Dongle Linux for Ubuntu, Mint, Debian, Kubuntu, Lubuntu, Zorin, Windows 11/10, Dual Band Wireless Antenna

(288)
$54.14
FREE delivery Sun, Jun 22