← All drillsBuild Your First AI Service
What you'll be able to do- ✓Build and ship a working AI service end to end — train a model, serve it over HTTP, protect it, and containerize it
- ✓Turn raw data into arrays with NumPy, the format every ML library actually speaks
- ✓Train and honestly measure your first classifier with scikit-learn, then rebuild it in PyTorch with tensors and autograd
- ✓Serve a trained model as a JSON API with FastAPI, and rate-limit it with slowapi so an open endpoint cannot run up a bill
- ✓Run a real LLM locally with Ollama — no API key, no cloud — and call it through the same request contract every hosted provider uses
- ✓Package the whole service into a Docker image that runs on any machine
Build the toolchain every AI project assumes you already know — one small service that carries you from a NumPy array to a running container, so the next drill you take starts with the tools instead of stopping at them.
⌁ This is the working stack of an AI engineer — NumPy and scikit-learn for models, PyTorch for deep learning, FastAPI for serving, Ollama and OpenAI-compatible APIs for LLMs, and Docker to ship it all.
Start this internshipCreate an account to unlock the 10 sections, the workbench, and AskThili.
BeginSections
1. Build Your First AI Service
🔒 locked2. Lesson 1 - Data is just arrays
🔒 locked3. Lesson 2 - Your first trained model
🔒 locked4. Lesson 3 - The same model, by hand
🔒 locked5. Lesson 4 - Put it behind an endpoint
🔒 locked6. Lesson 5 - Protect it
🔒 locked7. Lesson 6 - Run an LLM on your laptop
🔒 locked8. Lesson 7 - The hosted contract
🔒 locked9. Lesson 8 - Ship it
🔒 locked10. Lesson 9 - Where this takes you
🔒 lockedDig deeper
📄Scikit-learn: Machine Learning in Python (Pedregosa et al., 2011, JMLR)
paper📄Array programming with NumPy (Harris et al., 2020, Nature)
paper📄PyTorch: An Imperative Style, High-Performance Deep Learning Library (Paszke et al., 2019, NeurIPS)
paper🔗FastAPI documentation
docs🔗Ollama — run open LLMs locally
docs