From the course: Building a Project with the ChatGPT API
Unlock the full course today
Join today to access over 24,700 courses taught by industry experts.
Measure relatedness using embeddings - ChatGPT Tutorial
From the course: Building a Project with the ChatGPT API
Measure relatedness using embeddings
- Have you ever wondered how advanced searching works? What about detecting emotions and product reviews or extracting underlying topics or themes from a collection of text documents? Well, today you are going to find out. The Embeddings API measures similarities of text strings by mapping text and even code to a vector, also known as a list representation. This transforms text into a sequence of floating point numbers. This numeric representation of text enables machine learning models and algorithms to comprehend the connections and associations among concepts more easily. The distance between two vectors measures their relatedness. For example, if two pieces of text are similar, their vector representations should also be similar. Think of embeddings like a map. Just as a map represents the spatial relationships between different locations, a word embeddings model represents the semantic relationships between words.…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
Create chatbots using chat completion4m 34s
-
Generate text using text completion3m 34s
-
(Locked)
Measure relatedness using embeddings4m 26s
-
(Locked)
Turn audio into text using Whisper3m 46s
-
(Locked)
Generate images using DALL-E5m 25s
-
(Locked)
Customize a model using fine-tuning6m 52s
-
(Locked)
Examine key concepts3m 43s
-
(Locked)
Understand pricing models2m 52s
-
-
-
-
-
-
-
-
-