Fabryka.API

Fabryka AI · LLM od zera · edition 2

Build a language model. From tokenizer to API.

In 12 weeks you go from data and a tokenizer to training, evaluation and your own API. You build your own project with support from the instructors, TAs and code review.

The course is taught in Polish only. Lectures, materials and code review are all in Polish.

At most 30 people in a cohort — one metaphorical school class. A small group with room for questions, working together and getting to know each other.

Results of the first edition: a public dataset, 50+ tokenization artifacts, our own models and a scientific preprint.

Reserve a place →Buy now · 900 zł ↗

No time right now? Sign up for the third edition →

At university or secondary school? See the scholarship programme →

14 days to withdraw after the start · See the results of the first edition ↓

900 zł
final price
12
weeks of working together on one model
14
people in edition 1 — sold out in a few hours
1
project of your own, from data to a working API
TA
support from the instructors and code review

Real research artifacts · edition 1

Your own project. Public results.

Participants collect data, train models, compare results and write up their conclusions. You can already see the results of this work: a public dataset, dozens of tokenizers, models, code and a joint scientific preprint.

Public dataset · Polish DynaWord

9.68 billion tokens from 20 sources

A Polish corpus for training language models, co-created by participants: 4.37 million documents in release v0.2.5. The joint paper by the instructor and participants is a preprint in progress, before peer review.

See the public dataset ↗

Scaling laws in practice · GoLLeM-v5

Four models from 16M to 128M

GoLLeM 128M reaches 79.09% on BLiMP and 53.24% on ARC-Easy. 76 measured training checkpoints of the 64M and 128M models.

Read the GoLLeM-v5 report →

Tokenizers from the classes

50+ tokenization artifacts

12 participant work folders and vocabularies of up to 512 thousand tokens: implementing BPE, training on Polish text, comparing variants and writing up conclusions.

Read the tokenizer study →

Edition 1 → 2

The second edition. More practice and support.

In the second edition you go through the whole process of building a model with help from the instructors and TAs. You work on your own repo, get code review and meet the group at Saturday workshops.

01

Your own model from start to finish

You go through data, the tokenizer, training, evaluation and the API. You build your own repo and learn to make decisions at every stage.

02

TAs from edition 1 alumni

Your repo is read by someone who walked the same path three months ago and remembers where the loss blows up.

03

The course community

The cohort's Discord is the place for questions, discussions and sharing experience while you work on your own model.

04

Saturday workshops

Long sessions for training and debugging, not just evenings after work.

05

A joint paper

Edition 1 participants are co-authoring the Polish DynaWord preprint. In edition 2 we take the same approach: experiments, measurements and a joint write-up of the results.

Your instructor

Kacper Wikieł

Builds pre-training data, tokenizers and evaluation pipelines for Polish and low-resource models at SlayerLab (Fabryka AI). Previously an ML Engineer at PwC, an ML/CV Engineer at the national transmission infrastructure operator and a generative AI Software Engineer at Procter & Gamble. Author of Polish DynaWord, CodeSOTA and Hardparse. Has spoken about Polish models on TVN24.

kacperwikiel.com ↗ · Hugging Face ↗ · Kacper's GitHub ↗ · LinkedIn ↗

A voice from the Academy

A participant's review.

“The openness to knowledge, the help and the "open thinking" made me stay here for longer.”

The Academy is an initiative built on a foundation of openness to knowledge. In the first days, when I heard about it and learned that someone was inviting random people to show what they can do, I decided I had to see whether it was TRUE. It turned out to be better than I expected. The openness to knowledge, the help and the "open thinking" made me stay here for longer. Before the Academy I had already received expert support with my own "work", so I had a small intro to what the Academy itself would be like.

It turned out, though, that the training had a completely different format than I expected: we start from the basics, that is from how to approach research processes. The whole course prepares you mentally for how scientific research should be done. It is highly surprising how much this aspect can affect your perceptual skills.

The first classes, however, were about the "mystical" Tokenizer. We got an outline, pointers on where to look and how to investigate, and the task of delivering our own tokenizers after a week. It turned out that the mix of all of the above already taught us, in a way, a scientific approach at that stage. Skilful searching for information and using tools, plus theory. In the end it became a shared repo with a large number of tokenizers with vocab sizes from 600 to 255k (a perfect field for experiments!)

The following weeks went much like the first, but the topics changed. We worked through the approach until each topic was closed with an artifact. We created our own datasets, added collections to our Dynaword, and we are writing a scientific paper about it.

I already have a few GoLLeM models that make a smaller or bigger impression. Some of them even took (higher) places in tables for small models up to 150M. The latest, GoLLeM v5 125M, took 4th place in the Glint Leaderboard's Overall ranking. I am currently building an interactive chat for my GoLLeM v6 on the Fabryka track (our site/API(?) where anyone can create a small LLM). Next I am rebranding from GoLLeM to Slayer with a family of models, and see you in first place on the Tiny-ML-Leaderboard ↗

Academy participant · author of the GoLLeM models (translated from Polish)

Fabryka AI

A course for you. Growth for the lab.

When you buy the course, you support the growth of the Fabryka AI lab.

Outcome

You don't watch a model being built. You leave with a repo that works.

The programme takes you through the whole chain of work. The outcome is not a certificate but code, decisions, measurements and a model you can explain.

01

Tokenizer and data

Your own BPE tokenizer, a cleaning pipeline, data splits and a quality report.

02

Base model

A small GPT written and trained from scratch, with a configuration manifest and checkpoints.

03

Evaluation

Held-out loss, generation samples and a mini-benchmark with a described protocol and limitations.

04

Deployment

Fine-tuning, quantization and a local API with measured inference speed and cost.

Programme

One model. Five layers of work.

Every week builds on the same project. Each module lists its topic and its final artifact.

Block I · Foundations

  1. Tokenizer · BPE · Polish

    Byte-level BPE, compression and the traps of Polish morphology.

    Artefact: your own tokenizer and a comparison report.

  2. Data · quality · deduplication

    Sources, licences, quality filtering, MinHash/LSH, PII and deterministic splits.

    Artefact: a data pipeline with a provenance manifest.

  3. Language as probability · bigram · MLP

    From counts to networks, embeddings, backprop and negative log likelihood.

    Artefact: a bigram model and an MLP that generate their first samples.

Block II · Transformer

  1. Attention · Q · K · V

    Self-attention step by step, the causal mask, multi-head attention and positions.

    Artefact: single-head attention without a ready-made module.

  2. The full GPT architecture · residual · norm · MLP

    Transformer blocks, pre-norm, RMSNorm, SwiGLU, GQA and deliberate architecture decisions.

    Artefact: a model that runs a full forward pass.

  3. Training · optimisation · debugging

    Batching, AdamW, the LR schedule, mixed precision, checkpointing and loss diagnostics. The first longer training experiment.

    Artefact: a trained checkpoint and a run card.

Block III · Scale and measurement

  1. Scaling · compute · DDP

    Scaling laws, the token budget, multi-GPU training and the economics of training.

    Artefact: a costed plan for a larger experiment.

  2. Evaluation · protocol · Polish

    Held-out loss, downstream tasks, Polish benchmarks and the risk of contamination.

    Artefact: your own small benchmark with a methodology card.

Block IV · From base to instruct

  1. SFT, LoRA and QLoRA · fine-tuning

    Instruction data, chat templates and low-rank adaptation.

    Artefact: a comparison of the model before and after fine-tuning.

  2. Preferences and DPO · alignment

    Preference data, the DPO objective and the typical mistakes when aligning small models.

    Artefact: a controlled DPO experiment.

Block V · Production

  1. Inference · GGUF · API

    KV-cache, batching, quantisation, llama.cpp and measuring tokens per second.

    Artefact: a local API with a performance benchmark.

  2. Capstone · demo · publication

    An end-to-end project: data, training or fine-tuning, evaluation and deployment. A joint article by the cohort.

    Artefact: a project demo and a record of the decisions.

Method

Rigour without marketing percentages.

We promise no result without a measurement. We set the rhythm, the criteria for each artifact and how review works, and progress is visible in the code.

Every week

Theory → practice → artifact

Classes structure the topic, the Saturday workshop runs a bigger experiment, and the assignment ends with a file, code or result that can be checked.

Review

A person reads your decisions

It is not only about whether the code works. You describe your assumptions, compare variants and defend your conclusions with measurements. An edition 1 TA and Kacper read it.

Project memory

Manifests instead of magic

Data sources, configurations, checkpoints, metrics and limitations stay in the repo. The path to the result can be reproduced.

Price

One price for everyone. 900 zł for the full programme.

The price covers the full programme, TA support, code review and Saturday workshops. Every edition 2 participant pays 900 zł. It is the final price, with a company invoice on request.

Amount
900 zł, final price; paid through an EasyTools link
Edition 2
At most 30 people
Start
The course is running — you join the current cohort
Invoice
For a company; reply with your tax ID (NIP)

Included in edition 2: 12 weeks of classes, Saturday workshops, review by the TAs and Kacper, recordings, the cohort's Discord, and a company invoice on request.

Guarantee

The course is running — you join the current cohort. You have 14 days after the start to withdraw. One e-mail is enough.

Reserve for 900 zł →

Scholarship programme

At university or secondary school? Give yourself a chance to get into AI.

We have a scholarship programme for ambitious people, so that money does not stop anyone from taking part in the course.

Who it is for

Are you at university or secondary school, do you know basic Python, and do you want to work steadily on an AI project of your own? Tell us about yourself. What counts is your motivation, your readiness to learn and your idea of what you want to build.

LLM od zera is 12 weeks of work from data and a tokenizer, through training and evaluation, to your own API. You learn with support from the instructors, TAs and code review, in a small cohort of up to 30 people.

How to apply

In the reservation form, choose “Scholarship programme”, leave your contact details and a few sentences about your plans in AI. What do you want to learn? What project do you want to build? How would a scholarship help you join?

I will get back to you to talk about your goals and the support available. We agree the terms of the scholarship individually when we talk.

Apply for a scholarship →

Reservation or purchase

Let's talk, or join right away.

Leave your name, e-mail and phone number. I will call you, we will talk about your experience and goals, and check whether the course is a good idea for you at this stage. Signing up does not commit you to buying.

Who it is for

An ambitious start. Clear requirements.

The course takes regular work with code. Check whether this is the right time before you reserve a place.

It makes sense if you

  • know basic Python;
  • want to understand models, not just call an API;
  • can work steadily on one repo;
  • are interested in the Polish language, open source and research.

It is not the right time if you

  • are looking for a short prompting course;
  • do not want to write or read code;
  • have no time for regular work of your own;
  • need a guaranteed result without experiments.

Ecosystem

One path: learning, research, evidence.

LLM od zera is the educational track of Fabryka AI. Alongside the course we run the Slayer lab and build tools for working with language models.

01 · organisation

Fabryka AI

Builds Polish AI products, infrastructure and research.

Home page →

03 · measurement

CodeSOTA

Sources, protocols and rigour in judging results.

codesota.com ↗

04 · workshop

Discord

Everyday conversation, questions and community collaboration.

Join ↗

FAQ

Before you reserve.

Answers to questions about reserving, the price and how the course runs.

Why is the phone number required?

I ask for a phone number in the form so that I can call you and check together whether the course fits your goals. If you want to buy the course right away, choose “Buy the course” in the reservation section.

Can I apply for a scholarship?

Yes. We have a scholarship programme for ambitious university and secondary school students who want to get into AI. Read about the scholarship programme, then choose “Scholarship programme” in the reservation form and tell us about your goals. I will get back to you to talk about the support available — we do not want money to stand in the way of learning.

What does the price include?

The full 12-week programme, support from the instructors and TAs, code review, Saturday workshops, recordings and the cohort's Discord. Edition 2 costs 900 zł for every participant.

When does edition 2 start?

The course is running — you join the current cohort. You will find the current number of places taken in the reservation section, next to the form.

What equipment do I need?

A computer you can write code on. We will go through the environment requirements and how to run experiments before the start. We can also talk about your hardware during the call before you sign up.

How many people will be in the cohort?

At most 30 — as many as fit in one metaphorical school class. We want to keep the group small, with room for questions, working together and getting to know each other. The counter shows the places sold in edition 2. A reservation and the call do not commit you to buying.

Will the course take place, and can I withdraw?

The course is going ahead. You have 14 days after the start to withdraw. One e-mail is enough.

What do I need to know at the start?

Basic Python and a readiness for secondary-school maths. We build up PyTorch and transformers step by step.

How much time does it take each week?

Classes during the week, a Saturday workshop and regular work of your own on the repo. I confirm the realistic number of hours during the call, depending on where you start from.

Will I get an invoice?

Yes, for a company. 900 zł is the final price. After reserving, reply to the e-mail with your tax ID (NIP), and you will receive the invoice from EasyTools together with the payment link.

What exactly do I keep after the programme?

The project repo, a tokenizer, configurations, checkpoints, evaluation results, documentation of your decisions, a working project demo and the cohort's joint paper.