Hands-On AI: Build a Generative Language Model from Scratch
35mAdvanced2023-09-13
Authors

Ronnie Sheer
Software Developer and Instructor
Course details
You’ve heard about AI and its applications. You’ve probably used AI—maybe without even realizing it. Now, take a deep dive into AI in this hands-on course by building your own AI from scratch. Instructor Ronnie Sheer first guides you through a short project: the creation of a text completion model similar to the autocomplete function on a smartphone. He then shows you how to build a model that filters out hateful comments on social media. Plus, Ronnie demonstrates how you can use lyrics from your favorite songs to generate new, thematically similar lyrics.
Skills covered
Artificial Intelligence FoundationsPythonArtificial Intelligence (AI)Open SourceOne-Off
Concepts
0. Introduction
- 01 - Build your own AI from scratch
- 02 - What you should know
1. Generative Language Models
- 03 - What is a language model
- 04 - Markov chains and Python
- 05 - Building your model
- 06 - Solution - Markov chains
- 07 - Extra credit - Song lyrics
2. Sentiment Analysis
- 08 - What is sentiment analysis
- 09 - Building a naive Bayes classifier
- 10 - Solution - Comment filter
3. Semantic Similarity
- 11 - What are embeddings
- 12 - Measuring distance
- 13 - Solution - Semantic similarity
Conclusion
- 14 - Next steps