Free
CourseIntro to Language Models in Python
Build the basic language models in Python.
This course includes
This course includes
Skill level
IntermediateTime to complete
Average based on combined completion rates — individual pacing in lessons, projects, and quizzes may vary4 hoursProjects
3Prerequisites
1 courseWe suggest you complete the following courses before you get started with Intro to Language Models in Python:- Getting Started with Python for Data Science
About this course
From spam filters to ChatGPT, computer and AI systems have to work with language models all the time. In this course, you will learn how to build and work with the most common language models in data science, including bag-of-words, tf-idf, and word embeddings. Learn the basic skills you need before working with more advanced AI language models.
Skills you'll gain
Create common language models
Measure similarity between words
Determine important words in documents
Syllabus
3 lessons • 3 projects • 3 quizzesProjects in this course
- practice Project
Mystery Friend
Use scikit-learn's bag-of-words functions and Naive Bayes classifier to figure out which of your friends sent you an anonymous postcard! - practice Project
Read the News Analysis
In this project you will use tf-idf to analyze a collection of news articles. - practice Project
U.S.A. Presidential Vocabulary
In this project you will use word embeddings to analyze the inaugural addresses of the United States of America presidents.
Earn a certificate of completion
Show your network you've done the work by earning a certificate of completion for each course or path you finish.- Show proofReceive a certificate that demonstrates you've completed a course or path.
- Build a collectionThe more courses and paths you complete, the more certificates you collect.
- Share with your networkEasily add certificates of completion to your LinkedIn profile to share your accomplishments.
Reviews from learners
- The progress I have made since starting to use codecademy is immense! I can study for short periods or long periods at my own convenience - mostly late in the evenings.ChrisCodecademy Learner @ USA
- I felt like I learned months in a week. I love how Codecademy uses learning by practice and gives great challenges to help the learner to understand a new concept and subject.RodrigoCodecademy Learner @ UK
- Brilliant learning experience. Very interactive. Literally a game changer if you're learning on your own.John-AndrewCodecademy Learner @ USA
Our learners work at
Join over 50 million learners and start Intro to Language Models in Python today!
Looking for something else?
Related resources
Related courses and paths
- Skill path
Build Chatbots with Python
Build rules-based and generative AI chatbots with PythonIncludes 6 CoursesWith CertificateBeginner Friendly29 hours - Career path
Data Scientist: Natural Language Processing Specialist
NLP Data Scientists find meaning in language, analyze text and speech, and create chatbots. They use Python, SQL, & NLP to answer questions.Includes 31 CoursesWith CertificateBeginner Friendly100 hours - Free course
Using OpenAI APIs: Fine-tuning Models, the Assistants API, & Embeddings
Explore fine-tuning AI models like GPT-3 and 4 with OpenAI APIs. Learn to utilize the Assistants API and understand the creation and comparison of text embeddings.Intermediate1 hour
Browse more topics
- Python3,705,060 learners enrolled
- AI2,022,203 learners enrolled
- Data science4,588,874 learners enrolled
- Machine learning678,082 learners enrolled
- Code foundations7,561,643 learners enrolled
- Computer science6,023,499 learners enrolled
- Web development5,065,869 learners enrolled
- For business3,460,281 learners enrolled
- JavaScript2,909,587 learners enrolled
Unlock additional features with a paid plan
Practice Projects
Guided projects that help you solidify the skills and concepts you're learning.Assessments
Auto-graded quizzes and immediate feedback help you reinforce your skills as you learn.Certificate of Completion
Earn a document to prove you've completed a course or path that you can share with your network.