SkyAICampus
HomePracticeLearnCode LabFocus
SkyAICampus
PrivacyTermssupport@skyaicampus.com© 2026 SkyAI Campus
Log inSign up

Learn

HomePracticeConcept cardsCode LabSky Tutor

Review

Revise todayMistake notebookProgress

Focus

Campus ForestFocus roomsSquads

Questions or feedback?
support@skyaicampus.com

  1. 1LLM basics
  2. 2Prompting
  3. 3Adapting LLMs
  4. 4Evaluation and safety
← Generative AI and LLMs

Lesson 1 of 4

LLM basics

Watch, read the card, then practise. Tokens and context · Sampling and temperature

Video coming soon

The video for this lesson is being recorded.

Meanwhile, the notes below and the 60-second cards cover the same ideas.

Practise this topic
  • Tokens and context

    LLMs read and write tokens, and can only see a limited number at once: the context window.

    Remember: Long documents must fit in the window, or be retrieved in pieces.

  • Sampling and temperature

    An LLM picks each next token by sampling from probabilities. Temperature controls how adventurous that is.

    Remember: Facts and formats → low temperature.

Try the example in Code Lab

window, prompt = 8000, 6500
print(window - prompt, round(750 / 0.75))
Next: Prompting →

In this lesson

  • Tokens and context
  • Sampling and temperature

Practise this topic

5 questions at your level. The best way to make it stick.

Practise 5 questions