Maksym Topol - ML engineer

I train models on data.This one is learning right now.

I'm at the start of my path: I work with data, train models and build on LLMs - and I show how each thing is made.

model
MLP 2-8-8-1
parameters
105
epoch
000/300
train loss
-
test accuracy
-
optimiser
SGD, lr 0.006
training

Diagram of a neural network: 2 inputs, two hidden layers of 8 units, 1 output. Line thickness and colour show the current weights and change while the network trains.

input x ∈ ℝ²
hidden 1 W₁ ∈ ℝ⁸ˣ² · tanh
hidden 2 W₂ ∈ ℝ⁸ˣ⁸ · tanh
output W₃ ∈ ℝ¹ˣ⁸ · σ
  • weight > 0
  • weight < 0
  • thickness = |weight|
  • each tile: where that unit is active
  • class 0
  • class 1

hover or tap the plot - the model answers

02

ML projects

Every project is written up as a model specification: what data, what architecture, what metric. A card appears only when there is something measured to show.

01

Two-moons classifier

binary classification - trains on this page
task
Separate two interleaved classes of points on a plane. A toy problem, chosen because a straight line cannot solve it.
data
Synthetic: 300 points, 2 classes, Gaussian noise σ = 0.2. Split 200 train / 100 test; features standardised with the train statistics only.
model
MLP 2-8-8-1: 105 parameters, tanh in the hidden layers, sigmoid at the output.
training
Mini-batch SGD with momentum 0.9, learning rate 0.006, batch 20, 300 epochs. Backpropagation is written by hand in TypeScript, without an ML library.
result
- test accuracy · epoch 000/300Measured on this page, in your browser, on the held-out test split. It is a toy dataset: the point is the mechanism, not the number.
source code →training
confusion matrix, test split
predicted 0predicted 1
true 0--
true 1--
loss by epoch, log scale
tensor shapes through the network - weight > 0 / weight < 0
x ∈ ℝ²
W₁ ∈ ℝ⁸ˣ²
W₂ ∈ ℝ⁸ˣ⁸
W₃ ∈ ℝ¹ˣ⁸
ŷ ∈ (0, 1)
02

Next project

This slot is empty on purpose. The next card appears when there is a trained model and a measured result behind it.

03

LLM and tools

Language models are one direction inside ML for me: prompts, agents and pipelines around a model.

what the model actually reads

A language model does not read words. It reads tokens like these.

tokens: 14 - characters: 65 - tokenizer: o200k_base

the same sentence, translated: tokens
  • en14
  • fr18
  • ua20
  • ru19

Token boundaries and ids are real: computed with the tokenizer at build time, not drawn by hand.

  • systemcontexttaskformatmodelanswer

    Prompts

    A prompt is a specification: role, context, task, output format. It gets tested on real inputs, not on one lucky example.

  • modeltool callresultanswerdone?loop

    Agents

    A model in a loop: it picks a tool, reads the result and decides the next step - until a stop condition says enough.

  • inputretrievegeneratevalidateoutputretry

    Pipelines

    Several steps around one model: retrieve the data, generate, validate the answer before it goes any further.

04

Web development

Where I started, and what this site is built with. A compact corner: the stack and three projects.

stack

  • 01HTML / CSS layout from a design
  • 02WordPress theme integration
  • 03Elementor
  • 04SCSS
  • 05JavaScript
  • 06TypeScript
  • 07React
05

Contact

Write to me - about a project, a question, or what you are building.