Generative AI and Large Language Models
Last revised 9/21/2026

Generative AI and Large Language Models

From tokens and attention to tuned models you can run yourself

Generative AI turns text into a programmable surface: given the right tokens, attention weights and training stages, a neural network can summarise, classify, retrieve, converse and look at images. This collection walks that machinery end to end, from tokenisation and embeddings through the transformer block, pretraining, supervised and parameter-efficient fine-tuning, prompt engineering, retrieval-augmented generation and multimodal models. It is laid out as 63 short self-contained pieces, so you can begin at retrieval or at preference tuning instead of working through everything in order. By the end you can load a model, prompt it deliberately, ground it in your own documents, tune it on your own data and judge whether the output is worth trusting.

PrimerPlaybook
Earn11CreditsinArtificial Intelligence
8Modules63Sessions

Modules in this Collection’s System

Coming soon

The Rise of Generative Language Models

Where these models came from, what they are good at, and how to reach one.

8Sessions
Coming soon

Inside a Model: Tokens, Embeddings and Attention

The pieces a language model is made of, from raw text to a finished forward pass.

8Sessions
Coming soon

Pre-Trained Models Put to Work on Text

Classifier and clustering work you can do with a model you never train.

8Sessions
Coming soon

Prompting and the Tooling Around Generation

Getting reliable text out of a model, and wiring it into something larger.

8Sessions
Coming soon

Grounding Output in Retrieval and Other Modalities

Search, retrieval and images — stretching a text model beyond text.

8Sessions
Coming soon

Building Your Own Text Embedding Model

Training a vector space that fits your own documents.

8Sessions
Coming soon

Adapting Encoder Models to a Task

Turning an encoder into a task-specific tagger or classifier.

7Sessions
Coming soon

Adapting Generative Models to a Task

Supervised tuning, parameter-efficient tuning and preference alignment.

8Sessions
Coming soon

What You'll Walk Away With

  • 1decision checklist for choosing between prompting, retrieval and fine-tuning
  • 2prompt patterns for instruction, few-shot, step-by-step reasoning and constrained output
  • 3retrieval blueprint covering chunking, indexing, reranking and quality measurement
  • 4tuning playbook for supervised, parameter-efficient and preference-based runs
  • 5evaluation habits for retrieval, classification and generated text

You'll Have Answers To

  • ?Why did attention replace recurrence, and what did that change about how much text a model can use?
  • ?When is prompting enough, and when do you actually have to tune a model?
  • ?How can retrieval let a model answer questions about documents it was never trained on?
  • ?What do evaluation metrics genuinely measure, and what do they quietly hide?
  • ?What does it take to make a model behave the way people want it to behave?

Critical Concepts Explored

tokenisationtoken and text embeddingsself-attention and multi-head attentionencoder-only and decoder-only architecturespretraining and supervised fine-tuningprompt engineering and in-context learningsemantic search and rerankingretrieval-augmented generationcontrastive learningpreference tuning and reward models
Editor's Note
The clearest on-ramp from using language models to understanding them.

It keeps the rigour of a full course text and drops the semester-shaped padding. Each article stands alone, so a reader can start at retrieval or at fine-tuning without working through everything before it. The result is a route into generative AI that rewards curiosity rather than endurance.

Editor's Brief
Who it's for
Self-directed learners who want the working knowledge behind generative AI, not a research programme.
What stands out
A 400-page illustrated course text is compressed into 63 pieces that each stand on their own, so nothing depends on having finished the piece before it.
Read if
You have called a language model API and now want to know what is happening inside it.
Gold Quotes
A language model knows nothing about your documents until retrieval puts them in front of it.

Retrieval-augmented generation separates what a model absorbed during pretraining from what it can look up on demand. That separation is what lets a general model answer questions about a private corpus, and it is also where most of the engineering effort ends up.

About the Curator
NNano College

Nano College takes the standard university textbook for a course and turns it into short, self-contained pieces you can actually finish. We keep the ground the textbook covers and the rigour it insists on; what we leave out is the padding that only exists to fill a semester.

Generative AI and Large Language Models | LearningFirst