Intro to Large Language Models (LLMs)

Learn the basics of large language models (LLMs) and text-based Generative Artificial Intelligence (AI). We’ll show you how LLMs work and how they’re used.

4.24 out of 5 stars
4,651 learners enrolled
  • Skill level

  • Time to complete

    Average based on combined completion rates — individual pacing in lessons, projects, and quizzes may vary
    1 hour
  • Certificate of completion

    Included with paid plans
  • Prerequisites


About this course

Large Language Models (LLMs) and text generation are at the heart of many cutting edge AI applications today. This technology is the most recent advancement in the field of Natural Language Processing (NLP), and the reason why chatbots have come such a long way. This course is a no-code introduction to LLMs, covering their history up to ChatGPT, how they generate text with neural networks, and how they can be adjusted via parameters like temperature. It is a great starting point for learning about LLMs and generative AI more broadly.

Skills you'll gain

  • Understand the history of Large Language Models from simple algorithms to complex systems

  • Understand how LLMs generate new text by being trained on patterns and structures in datasets

  • Analyze the impact of LLM parameters on output quality


The platform

Hands-on learning

Animated GIF of an AI provided error explanation within Codecademy's learning environment
An AI-generated hint within the instructions of a Codecademy project
Animated GIF of Codecademy's Job Readiness Checker tool generating a compatibility report for a senior software engineer role
Animated GIF of building a phone screen interview using Codecademy's Interview Simulator
A fill-in-the-blank JavaScript question in a Codecademy assessment
Meet the creator of the course
Ada Morse
Data Science Instructional Designer at Codecademy
Ada is a Data Science Instructional Designer at Codecademy. Her background is in mathematics, with a Ph.D. focused on the design of self-assembling DNA nanostructures. Ada has worked on courses across our Data Science catalog, covering topics including Python, Excel, and Data Engineering.

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.

Intro to Large Language Models (LLMs) course ratings and reviews

4.24 out of 5 stars
167 ratings
  1. 5 stars
  2. 4 stars
  3. 3 stars
  4. 2 stars
  5. 1 star
  • 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.
    Codecademy 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.
    Codecademy Learner @ UK
  • Brilliant learning experience. Very interactive. Literally a game changer if you're learning on your own.
    Codecademy Learner @ USA

Our learners work at

  • Google Logo
  • Meta Logo
  • Apple Logo
  • EA Logo
  • Amazon Logo
  • IBM Logo
  • Microsoft Logo
  • Reddit Logo
  • Spotify Logo
  • Uber Logo
  • YouTube Logo
  • Instagram Logo

Frequently asked questions about Intro to Large Language Models (LLMs)

  • LLMs or Large Language Models are algorithmic systems based on text data that power many well known Generative AI applications such as ChatGPT, BARD, etc.

7 Careers You Can Have In Generative AI & Machine Learning

Jacob Johnson
Apr 12, 2023

It’s an exciting time for artificial intelligence (AI). We’re still a long way from the sentient robots you see in movies like Ex Machina and The Terminator, but with the rise of large language models and scarily-impressive programs like ChatGPT and DALL-E, the question on everyone’s mind is: Will AI replace our jobs?

Experts say: Probably not. As generative AI tools become more sophisticated, so will the ways we interact with them. If you understand the technology, there are tons of opportunities to use these tools to your advantage as a developer. (Check out our free course Intro to ChatGPT to learn how.)

Plus, surveys suggest that this advancement in AI is creating jobs — and you could have the skills you need to get hired. Companies worldwide are looking for AI and machine learning experts to help them find ways to use cutting-edge tech to improve their products and operations, and the demand is skyrocketing for many of the roles we’re about to explore.

Continue reading

Join over 50 million learners and start Intro to Large Language Models (LLMs) today!

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.