Free Ebook cover Introduction to Large Language Models (LLMs): How They Work and What They Can (and Can’t) Do

Free ebook Introduction to Large Language Models (LLMs): How They Work and What They Can (and Can’t) Do

New

List icon for ebook

12 chapters

Free ebook introducing large language models, tokens, hallucinations, prompting, grounded workflows, and responsible AI use.

Free ebook content

About the free ebook

Introduction to Large Language Models (LLMs): How They Work and What They Can (and Can’t) Do

This free ebook explains the essential ideas behind large language models without treating them as magical answer engines. Learn how LLMs generate text, why they work with tokens rather than whole words, and how context windows shape what a model can consider during a conversation.

Build a practical mental model of LLMs

Explore embeddings, semantic similarity, pretraining, and fine-tuning to understand how models represent language and adapt to tasks. The ebook also examines why plausible-sounding hallucinations occur and why confident wording is not proof that an answer is correct.

Use AI with sound judgment

Learn ways to assess output quality, reliability, and risk before using an LLM in real work. You will identify situations where LLMs are useful, recognize cases that require constraints or alternative tools, and apply practical prompting techniques for clearer results.

Create more dependable workflows

Discover how grounded workflows can connect model responses to trusted information, review steps, and defined goals. By the end, you will have stronger expectations about what LLMs can do, where they can fail, and how to use them responsibly in technology, programming, and everyday knowledge tasks.

Key takeaways

  • Understand tokens, context windows, embeddings, and model training.
  • Recognize hallucinations and evaluate AI-generated claims.
  • Choose appropriate use cases and constrain high-risk ones.
  • Write prompts and workflows that support more useful outcomes.

Why do large language models hallucinate?

LLMs predict likely text patterns, so they can produce believable but incorrect details when context, data, or verification is missing.

What is a context window in an LLM?

A context window is the limited amount of tokenized information a model can consider at one time during a prompt or session.

What is a grounded LLM workflow?

It is a workflow that anchors model output to trusted sources, structured data, tools, and review steps.

This ebook includes:

Icon for learning via the audio course

12 content chapters

Icon for the digital course completion certificate

Digital certificate of course completion (Free)

Icon for exercises to practice what you've learned

Exercises to train your knowledge

Icon for courses that are 100% free from start to finish

100% free, from content to certificate

Ready to get started?

In the app you will also find...

Icon representing technology and business courses

Over 5,000 free courses

Programming, English, Digital Marketing and much more! Learn whatever you want, for free.

Calendar icon with target representing study planning

Study plan with AI

Our app's Artificial Intelligence can create a study schedule for the course you choose.

Professional icon representing career and business

From zero to professional success

Improve your resume with our free Certificate and then use our Artificial Intelligence to find your dream job.

You can also use the QR Code or the links below.

Download the App now to have access to + 5000 free courses, exercises, certificates and lots of content without paying anything!

  • 100% free online courses from start to finish

    Thousands of online courses in video, ebooks and audiobooks.

  • More than 60 thousand free exercises

    To test your knowledge during online courses

  • Valid free Digital Certificate with QR Code

    Generated directly from your cell phone's photo gallery and sent to your email

Cursa app on the ebook screen, the video course screen and the course exercises screen, plus the course completion certificate

Other free courses