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.

36 articles6 authors450 terms

Latest article

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

Recent articles

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
News

The dead internet is becoming a reality

If half of web traffic is generated by bots and content is produced en masse by AI, those working with artificial intelligence have only one path: to stand out from the noise.

Gabriele Gobbo4 min
Full archive · 36 articles

Browse by topic