Module 0 · Setup
Four steps, once, and you'll never repeat them for the rest of this series: check your hardware, isolate a Python environment, install two packages, and run a script that actually downloads and runs a real model on your own machine.
What you actually downloaded
After the smoke test runs once, look in your Hugging Face cache folder (~/.cache/huggingface/hub/ on Mac/Linux, C:\Users\<you>\.cache\huggingface\hub\ on Windows). This is exactly what's in there for SmolLM2-135M-Instruct — a real listing, not a mockup:
Change max_new_tokens=20 to max_new_tokens=60 in bc-00-setup.py ⬇ and re-run it. Predict first: will the sentence keep making sense, or start to drift? Either way, you're about to watch the actual mechanism the rest of this series explains — not a diagram of it.
So what
"Downloading a model" is downloading a folder — a recipe file and a big table of numbers — not installing an application.