Python & GPT-3 for Absolute Beginners #3 - What the heck are embeddings?

  Рет қаралды 14,795

David Shapiro

David Shapiro

2 жыл бұрын

Patreon (and Discord)
/ daveshap
Substack (Free)
daveshap.substack.com/
GitHub (Open Source)
github.com/daveshap
AI Channel
/ @daveshap
Systems Thinking Channel
/ @systems.thinking
Mythic Archetypes Channel
/ @mythicarchetypes
Pragmatic Progressive Channel
/ @pragmaticprogressive
Sacred Masculinity Channel
/ @sacred.masculinity

Пікірлер: 29
@CorerMaximus
@CorerMaximus Жыл бұрын
I've had no idea about how to use embeddings or even the value in storing things as vectors prior to this. This clears a lot of it up while generating ideas on what to do for my own projects; thanks for posting this!
@DaveShap
@DaveShap Жыл бұрын
Join my Discord server here: discord.gg/VJpppYNX
@jamesbrennan1008
@jamesbrennan1008 Жыл бұрын
Hey this link isn't working. Could I have an updated version? Thank you!
@tatlock29
@tatlock29 Жыл бұрын
Love the series, thank you for your efforts
@theovdhd
@theovdhd Жыл бұрын
Man if I weren't broke right now I'd subscribe to your Patreon. Thank you for this video.
@lopes7298
@lopes7298 Жыл бұрын
david, tkx a lot for the videos, have been helping much for my engineering course, keep strong youtube is not easy!!
@ene_77
@ene_77 Жыл бұрын
i think i got Covid now so great time to catch up with all your videos David! Keep up the good work!
@0xeb-
@0xeb- Жыл бұрын
Thank you David.
@adamwaterman5516
@adamwaterman5516 Жыл бұрын
David your work is amazing!!! Thank you. Question, how would you suggest I create a knowledge graph using case law/decisions/legislation and legal commentary on cases etc?
@DaveShap
@DaveShap Жыл бұрын
After my experiment I don't think a kg is the way to go. Semantic search and summaries instead
@aCalmHinduCow
@aCalmHinduCow Жыл бұрын
Do you have a video on how to turn the Python chatbot into one that is Web-based so others can enjoy it? I've created some amazing chatbots in the Playground that I would love to make available to others on a public site.
@spectator7482
@spectator7482 Жыл бұрын
Thanks David :)
@bladddeesa
@bladddeesa Жыл бұрын
Another good video
@shezario
@shezario Жыл бұрын
Are there any plans to continue this series ? The value here is great, especially for Introducing people to the possibilities. I've send this series to a dozen people by now with IT skills between "I've used HTML on myspace" up to "I know 5 languages but never touched Python". So far all of them found value in these.
@DaveShap
@DaveShap Жыл бұрын
Yeah, I am trying to do this full time so please have your friends support me on Patreon. If I get to the point where I can retire from my day job I will produce much more content. www.patreon.com/daveshap
@TheVersionController
@TheVersionController Жыл бұрын
It is super interesting when things don't go perfect. You can learn more that way.
@DaveShap
@DaveShap Жыл бұрын
That's the formula that my audience seems to like.
@robertoamarillas
@robertoamarillas Жыл бұрын
Excellent video sir Do you know how to create a chatbot that is GPT based for a particular topic, say, a family lawyer website or issues of that sort? I have interacted with openai chat and it is awesome, so I would like to know how to make a similar chatbot but focused on very particular topics and areas.
@eRiicBelleT
@eRiicBelleT Жыл бұрын
Do you got the solution? I have the same question
@5layo
@5layo Жыл бұрын
Nice
@RicoCollina
@RicoCollina Жыл бұрын
Is your code available publicly to use?
@DaveShap
@DaveShap Жыл бұрын
It's all on github
@RicoCollina
@RicoCollina Жыл бұрын
@@DaveShap Thank you very much.
@hartnady
@hartnady Жыл бұрын
Hi @dshap it's been 7 months - just wondering if you managed to crack what went wrong here?
@hartnady
@hartnady Жыл бұрын
@Simba Masters It most certainly does! Thank you for spending the time on this much valued and appreciated response.
@hartnady
@hartnady Жыл бұрын
​@Simba Masters Right, so after much d****ng about, I have an update on this. It turns out that cosine similarity function doesn't really have a big impact on the math, but the math is not the problem here anyway. We need to remain mindful that the dot product of the 2 vectors, is not providing us a result representing the similarity of the two input words in a classical "taxonomy of knowledge" or "ontological" sense. What it is providing us with is the similarity of "where in a giant corpus of training text the two words would be found close together". In this sense "dog" would be rank higher under a "feline" category than under a "mammal" category, because quite simply, the term "dog" appears closer in general training text to the word "feline" than it does "mammal". To resolve the issue, there is no programmatical logic change required to @dshap's code. Instead, all that is needed is to prefix the categories with "type of" so that the list of categories becomes "type of plant", "type of reptile", "type of mammal", etc. Then we see very very accurate results, and "dog" then ranks highest as a "type of mammal" rather than a "type of feline" because the WORD "dog" appears in the training data clustered closer to "type of mammal" much more frequently than "type of feline"
@Sergatx
@Sergatx 11 ай бұрын
I'm a patreon subscriber and I was following along with part 1 and 2 it was wonderful, but this 3rd one seems like I missed something. Super confused, from the very beginning of this video. The first 2 videos I felt like I found an amazing tutorial for beginners, but this 3rd video seems like there was no explanations or was not even geared towards a beginner. Almost like I missed some kind of explanation?
@VadimBesedin
@VadimBesedin 11 ай бұрын
David thank you for sharing your experience and workflow. Have you managed to find out why the resulting scores was so strange?
Vectoring Words (Word Embeddings) - Computerphile
16:56
Computerphile
Рет қаралды 281 М.
Они убрались очень быстро!
00:40
Аришнев
Рет қаралды 3,3 МЛН
Китайка и Пчелка 4 серия😂😆
00:19
KITAYKA
Рет қаралды 3,7 МЛН
Must-have gadget for every toilet! 🤩 #gadget
00:27
GiGaZoom
Рет қаралды 4,8 МЛН
What are Transformer Models and how do they work?
44:26
Serrano.Academy
Рет қаралды 100 М.
Learn Docker Quickly - Machine Learning Project for Absolute Beginners
25:31
$0 Embeddings (OpenAI vs. free & open source)
1:24:42
Rabbit Hole Syndrome
Рет қаралды 248 М.
OpenAI Embeddings and Vector Databases Crash Course
18:41
Adrian Twarog
Рет қаралды 400 М.
I wish every AI Engineer could watch this.
33:49
1littlecoder
Рет қаралды 52 М.
GPT-4o is BIGGER than you think... here's why
17:19
David Shapiro
Рет қаралды 90 М.
Prompt Engineering 101: Summarizing, Extraction, and Rewriting
12:41
The Biggest Misconception about Embeddings
4:43
ritvikmath
Рет қаралды 12 М.
How AI 'Understands' Images (CLIP) - Computerphile
18:05
Computerphile
Рет қаралды 171 М.
AI от Apple - ОБЪЯСНЯЕМ
24:19
Droider
Рет қаралды 128 М.
How charged your battery?
0:14
V.A. show / Магика
Рет қаралды 6 МЛН
сюрприз
1:00
Capex0
Рет қаралды 1,5 МЛН
ВЫ ЧЕ СДЕЛАЛИ С iOS 18?
22:40
Overtake lab
Рет қаралды 131 М.
Main filter..
0:15
CikoYt
Рет қаралды 7 МЛН