I fine-tuned GPT-2 on movie reviews and found the weight update could be rebuilt from a handful of small pieces. This essay lets you rebuild it yourself, one rank at a time.
I computed determinants for longer than I'd like to admit without knowing what the number meant. It measures area: how much a square grows or shrinks when a matrix moves the plane, and whether it comes back flipped. Once I saw that, I stopped needing to memorize the rules.
A 2×2 matrix is four numbers, and those four numbers decide where every point in the plane goes. Drag the basis vectors and watch the grid rotate, stretch, shear, and flatten.
Tutorials Dojo, 2023 to 2024
AWS and machine learning guides I wrote as a technical writer. They open on tutorialsdojo.com.
What SageMaker gives you for security and where it fits in an ML pipeline: encrypting the data, controlling who can access what, and setting up monitoring and logging.
A small convolutional net trained on MNIST with TensorFlow in SageMaker. Most of the post walks through the training script and the notebook that launches it.
An XGBoost model trained on the abalone dataset and served from a SageMaker serverless endpoint, so you pay per request instead of keeping an instance running.
How I studied for CLF-C02 coming from data science. I started with a diagnostic practice exam, spent most of my time on the domains I scored worst in, and did hands-on labs alongside the reading.
Using a crafted loan-approval dataset with bias built in, I trained an XGBoost model and used SageMaker Clarify to see whether it would catch the bias and explain the predictions.
Handing a binary classification dataset to SageMaker Autopilot and letting it pick the model. Covers setting up the job, the training modes it offers, and what to look at in the results.
A small ETL DAG that pulls a CSV, transforms it, and loads the result, running on Amazon MWAA. Covers the S3 layout for DAGs and requirements and creating the Airflow environment.
Part two of a deployment series. The model lives in S3, the inference code runs in a Lambda function packaged as a Docker image, and the predictions get written back out.
If something in here is wrong or unclear, send me a note.