InferenceAI

Enter at least two characters to search.

Start free
THE KNOWLEDGE LIBRARY

Read the idea.
See the system.

Practical AI explanations, research architecture visualizations, and a route from reading to tested code. Start with the principle, then follow it into practice.

INTERACTIVE PRACTICE

Learn by changing the inputs

Explore interactive visual lessons for the foundations of AI engineering.

Browse interactive lessons
EXPLORE BY LENS

Choose how you learn

01 / FOUNDATIONS

Mathematics for AI

Build the probability, linear algebra, optimization, and evaluation ideas behind models.

Explore this path
02 / RESEARCH

Model architecture

Trace attention, convolution, recurrence, and diffusion through interactive model flows.

Explore this path
03 / SYSTEMS

Production AI

Move from model internals to retrieval, inference, reliability, and operating trade-offs.

Explore this path
04 / CAREER

Interview thinking

Connect technical explanations to coding, architecture, and career preparation.

Explore this path
REVIEWED WRITING

Latest articles

18 published articles from the editorial library.

18 results
Generative AI
Fine-Tuning vs RAG vs Prompt Engineering: Which Should You Use?

Instructions, information or behaviour? A practical decision guide to prompting, retrieval and fine-tuning, with scenarios and how to answer it in interviews.

9 min · InferenceAI Editorialintermediate
RAG & Evaluation
Build Your First RAG App in Python: A Student Portfolio Project

Build retrieval-augmented generation from first principles (chunking, retrieval, prompting, citations), then evaluate it and turn it into a portfolio project.

12 min · InferenceAI Editorialintermediate
Machine Learning
Precision, Recall, F1 and ROC-AUC Explained With Code

Why 99% accuracy can be meaningless, how to compute every classification metric by hand, how thresholds change them, and which one to use when.

10 min · InferenceAI Editorialbeginner
Machine Learning
Logistic Regression From Scratch in Python (NumPy Tutorial)

Build logistic regression with NumPy in about 30 lines (sigmoid, cross-entropy, gradients, training loop) and verify it matches scikit-learn exactly.

10 min · InferenceAI Editorialbeginner
AI Careers & Interviews
How to Land an AI or ML Internship as a University Student

Timelines for the US, UK, Canada and Germany, work rules for international students, projects that get interviews, CV tips and a 12-week application plan.

12 min · InferenceAI Editorialbeginner
Learning Paths & Roadmaps
AI Engineer Roadmap: A 12-Month Learning Path for University Students

A month-by-month plan from Python basics to deployed LLM apps, built around a full course load, with a project for every stage and the questions to test yourself on.

14 min · InferenceAI Editorialbeginner
ML Coding & NumPy
NumPy Broadcasting: The Mental Model That Makes Vectorised Code Click

Three rules, a few patterns, and the silent bugs to watch for. Replace slow Python loops with clean, vectorised NumPy.

9 min · InferenceAI Editorialbeginner
Generative AI
Scaled Dot-Product Attention From Scratch in NumPy

Build the attention mechanism behind every transformer in plain NumPy: queries, keys, values, the √d scaling, causal masks and multi-head attention.

12 min · InferenceAI Editorialintermediate
Deep Learning
From Gradient Descent to Adam: Build Every Optimiser in NumPy

Write gradient descent, momentum, RMSProp and Adam from scratch, see what each one fixes, and finally understand Adam's bias correction.

11 min · InferenceAI Editorialintermediate
Mathematics for AI
Softmax and Cross-Entropy Without NaNs: The Log-Sum-Exp Trick

Why naive softmax turns your loss into NaN, how subtracting the max fixes it, and how to write a cross-entropy loss that can't blow up.

9 min · InferenceAI Editorialintermediate
ML Coding & NumPy
Sigmoid in NumPy: Why the One-Liner Overflows and How to Fix It

The textbook sigmoid prints overflow warnings on extreme inputs. Learn the stable, vectorised version, its gradient, and where sigmoid still belongs.

8 min · InferenceAI Editorialbeginner
AI Careers & Interviews
How to Prepare for an LLM Engineering Interview

A structured preparation plan covering fundamentals, RAG design, evaluation, production trade-offs, and communication.

7 min · InferenceAI Editorialintermediate
Mathematics for AI
The Mathematics You Actually Need for AI

A practical route through vectors, probability, optimization, and statistics for modern AI engineering.

6 min · InferenceAI Editorialbeginner
Inference & MLOps
LLM Inference: Latency, Throughput, and Cost

The practical trade-offs behind batching, caching, quantization, serving engines, and GPU utilization.

7 min · InferenceAI Editorialadvanced
RAG & Evaluation
RAG Evaluation: Measure the System, Not the Demo

A practical evaluation mindset for retrieval, grounded answers, citations, latency, and failure analysis.

8 min · InferenceAI Editorialadvanced
Agentic AI
AI Agents: From Chat to Reliable Action

Learn the building blocks of agents: tools, state, planning, permissions, evaluation, and human review.

7 min · InferenceAI Editorialintermediate
Generative AI
How Large Language Models Turn Text into Predictions

Understand tokens, embeddings, attention, training, and generation without skipping the engineering details.

8 min · InferenceAI Editorialbeginner
AI Foundations
A Practical Map of Artificial Intelligence

A clear map of AI, machine learning, deep learning, and generative models so you know what to learn next.

6 min · InferenceAI Editorialbeginner