Large Language Models
35 short lessons with interactive exercises. You start from zero and move from beginner to advanced.
- 35 lessons
- 3 levels
- Arabic & English
- Start free
What you will learn
- Spot a hallucination when a language model gives you wrong information with complete confidence
- Write clear system instructions that set the model's role and style before the conversation starts
- Choose the right temperature for a task that needs accuracy or a task that needs creativity
- Cut request cost and response time by sending easy tasks to a smaller model and by caching
About this course
You use AI tools every day, and this course explains what goes on inside them in simple language, with examples from tools you already know. First, you'll understand how a large language model reads your words as small pieces called tokens, why it forgets the start of a conversation, and when it falls into hallucination, giving you wrong information with confidence. Then you'll see how the model connects words to each other, how you guide it with clear instructions, and how you get it to use tools such as web search. At the advanced level, you'll think like someone building an app on top of a language model: you'll learn when the model needs fine-tuning, how to cut cost and response time, and how to protect the app from harmful input. The course is fully theoretical, with no code and no math.
Skills
- Writing System Instructions
- Spotting Hallucinations
- Evaluating Language Models
- Cutting Request Cost
Lessons
Every lesson is short, and the exercises after it lock in what you learned.
Beginner level
10 lessons
- Introduction to Large Language Models
- How Do Models Learn Language? (Language Model Training)
- Tokens
- Tokenization
- Context Window
- Next Token Prediction
- Training and Inference
- Chat Models
- Open-Source LLMs
- LLM Limitations
Intermediate level
13 lessons
- Introduction to the Transformer Architecture
- Attention Mechanism
- Embeddings
- System Instructions
- Chat Messages
- Generation Parameters
- Structured Outputs
- Function Calling
- Tool Calling
- Multimodal LLMs
- Long Context
- Context Management
- LLM Evaluation
Advanced level
12 lessons
- Fine-Tuning
- Instruction Tuning
- Quantization
- Local LLMs
- Model Routing
- Caching
- Latency Optimization
- Cost Optimization
- Input Guardrails
- LLM Observability
- LLM Application Evaluation
- LLM Security
Start your first lesson today
Get the Lammah app and pick “Large Language Models” from the courses. Each lesson takes a few minutes, and you can start free.






