Michele LaurelliEntrepreneur · Researcher · Lecturer

I write about how artificial intelligence works and how to put it to work.

Architectures, research and real cases, with a few guests I respect. In English and Italian.

38 articles6 authors450 terms

Latest article

Recent articles

Architectures

CUDA, Nvidia's Real Moat

Nvidia owes its dominance to CUDA, the software platform that since 2006 has turned GPUs into a standard that is hard to walk away from, more than to the quality of its chips.

38 min
Architectures

Weight-Space Programming and Model Surgery

What Weight-Space Programming, presented by MIT, actually is, how to read its results, and why the idea of fixing a model by operating surgically on its representations, without retraining it, was at the heart of my 2024 paper Brain Surgery.

16 min
Reflections

The Cancer of Skills

Skills promise expertise for AI agents, but they remain fragile, insecure prompts that are hard to test, and they are impoverishing the people who are learning to use AI.

16 min

Glossary

Lost in acronyms? The glossary explains AI terms one by one.

Open the glossary

Foundations

The five laws connecting the glossary and the book. In Italian.

All laws

Tools

Six free calculators running entirely in the browser.

All tools
Conv2d output size calculator for CNN layersCalculate output shape and parameters for Conv1d, Conv2d, ConvTranspose2d and pooling, with stacked layers and PyTorch export.Confusion matrix calculator: precision, recall, F1, MCCCalculate binary and multiclass metrics with an editable matrix, macro, micro and weighted averages, F-beta and MCC.Transformer parameter count and memory calculatorCalculate Transformer parameters by component and memory, with BERT-base and GPT-2 small presets and an Adam estimate.Cosine similarity and vector distance calculatorCalculate cosine similarity, dot product, distances and norms for two or more vectors, with a shareable similarity matrix.Learning rate scheduler visualizer with PyTorch codeVisualise and customise learning rate schedules with warmup, cosine, one-cycle, step and copyable PyTorch code.Token counter for GPT-style tokenizersCount tokens, characters and words locally with cl100k_base and o200k_base, including highlighting and language comparison.Softmax and temperature explorerAdjust logits and temperature, inspect softmax probabilities and measure the entropy and confidence of the resulting distribution.Activation function and derivative visualizerCompare sigmoid, tanh, ReLU, GELU and SiLU with derivatives, saturation and interactive curves on a shared chart.MSE, RMSE, MAE, Huber and R² calculatorCalculate regression losses, residuals and R² from paired actual and predicted values, with an adjustable Huber parameter.Gradient descent, momentum and Adam simulatorSimulate SGD, momentum and Adam on convex and non-convex functions with adjustable trajectory, gradient and learning rate.

From the archive

Full archive
News

Goodbye to design: websites will become blank pages

Artificial intelligence is changing the way we search for information while eliminating the aesthetic experience of the web. For this reason, I believe we will unfortunately replace websites with empty text fields.

Gabriele Gobbo4 min
Full archive · 38 articles

Browse by topic