AiTeky Original Interactive Learning & Practice Intermediate
Generative AI and large language models
See how a language model writes one word at a time, control it with temperature and prompts, give it your own documents with retrieval, check what it says, and decide when a support assistant is good enough to ship.
You type a question and a chat assistant answers in fluent English. A bank's help page drafts a reply for the agent. A phone writes the summary of a long message. All of them are built on large language models (LLMs): programs that write text one small piece at a time, by guessing what comes next.
In this course you will first build a tiny language model yourself from counting, so that the big ones stop being magic. Then you will see how temperature changes what a model writes, and how a prompt is built. You will run a real open model on a free GPU in Google Colab, give it your own FAQ with retrieval (RAG), and check what it says, because LLMs also write confident nonsense. The last lesson is a decision: is a support assistant good enough to put in front of customers, and what does it cost?
You need Python basics and the machine learning course; the NLP course helps a lot for lessons 4 to 6. The first part runs in your browser. Lessons 3 and 5 also have a notebook for Google Colab.
- Learn lessons explain one idea at a time, with small exercises you can try again and again.
- Industry ready lessons give you real business questions, an honest comparison of methods, and the interview questions that go with them.
- βΆ Run code in your browser. Nothing to install
- β Exercises that check themselves
- π Tap a word to see what it means
Locked. Sign up free
Learn
Understand each idea with everyday examples. No coding background needed.
- 01 30 min Free sample π AiTeky Pass How a language model writes Build a tiny language model from nothing but counting, in 3,000 food delivery reviews, see how it writes new reviews one word at a time, and learn why a bigger memory of the last few words makes the text better and also less new.
- 02 30 min π AiTeky Pass Temperature and sampling Turn a model's scores into probabilities with softmax, turn a dial called temperature to make the next-word pick careful or bold, cut the unlikely words with top-k and top-p, and measure how surprised the model is with entropy.
- 03 40 min π AiTeky Pass Talking to a real model Look at how a chat message is turned into tokens and roles, run a real open model in Colab, see its real next-word probabilities, and test three ways of asking it to sort support tickets, with a score for each.
- 04 35 min π AiTeky Pass Search first, then answer: RAG by hand Give a language model your own facts by searching a help centre first and pasting the best entries into the prompt, build the search and the prompt by hand, and find out how often the search brings back the wrong entry.
- 05 40 min π AiTeky Pass RAG with a real model Replace the word search with embeddings, let a real open model answer from the help entries, and measure in Colab how often it finds the right entry, answers correctly, and admits that it does not know.
- 06 40 min π AiTeky Pass Checking what the model wrote Score the ticket labels of a language model with a range instead of one number, see why 40 examples cannot separate two prompts, sort the help-desk answers into right, over-careful and dangerously wrong, and test a code guard that blocks the wrong ones.
Industry ready
Real problems from real jobs, and the questions interviewers ask about them.

