Skip to content

The web UI, page by page

Backpropagate has a browser interface for everything the Python API and the command line do: look at a dataset, train on it, watch the run, and export the result. It runs on your own computer. Your examples and your models stay there (see Privacy).

Terminal window
pip install "backpropagate[standard]"
backprop ui --open-browser

The command prints an address and opens it in your browser. The address carries a one-time token, so only you can use the page. To stop the UI, press Ctrl+C in the terminal.

A dataset is a file of examples: a question or instruction, and the answer you want the model to learn. Drop a .jsonl or .json file on the Dataset page and it shows what the trainer will read: the layout it recognised, the first five examples as a conversation, how many examples there are, how many repeat, and how long they are. Uploading a second file with the same name keeps both; the new one gets -2 added to its name.

The Dataset page showing the first examples of an uploaded file, laid out as User and Assistant turns.

Clean up decides what a cleaned copy leaves out: repeats, empty examples, and examples shorter or longer than a length you choose. The line under the settings says what they would keep, and it changes as you change them. Save a cleaned copy writes a new file; the file you uploaded is never changed. Use in Single run or Use in Multi-run puts the file in the training form and takes you there.

The Clean up section: 21 of 24 examples are kept, 2 repeats and 1 empty example removed, with buttons to use the cleaned copy in a run.

Single run is one training run. Pick a model from the presets (or type any Hugging Face model), check the dataset, and press Start training. The settings open on values that suit your graphics card, so the defaults are a reasonable first run.

The Single run page: model, dataset, method, mode, training settings and the LoRA adapter cards, with a memory estimate and the Start training button along the bottom.

Two things on this page are worth knowing about:

  • The memory estimate. The bar along the bottom says how much GPU memory the run needs and compares it with what is free right now: Fits, Tight or Won’t fit. If it will not fit, the page offers the change that makes it fit. Measure on this GPU replaces the estimate with a short real measurement.
  • The adapter size. The LoRA adapter cards (Quality, Balanced, Fast) show how much memory each needs for the model you picked. The page opens on the largest one that fits your card.

Every section and field has an i next to it. Hover it, or reach it with the Tab key, and a card says what the thing is, what changing it does, and where to start. Nothing on the page assumes you already know the vocabulary.

A tip card open next to the LoRA adapter section, explaining what an adapter is and how its size is chosen.

A run shows its step count, the loss (a number that falls as the model learns your examples), the time left, and your GPU’s memory and temperature. The panel on the right keeps the loss curve and a list of events.

A run in progress: step 40 of 60, the loss falling, about 5 seconds left, with the loss curve and events in the side panel.

Stop and save checkpoint stops at the next step and keeps what was learned so far. Each run is its own process, one at a time. If you reload the page or open a new tab, it picks the running job up again. Closing the UI stops the run.

Runs lists every run with its real outcome: completed, stopped or failed. Open one for its loss curve, its log and its settings. The storage line says how much disk the UI’s job folders use, and Clean up removes the folders of failed and cancelled jobs after asking. A folder that holds a saved model is never removed there.

The Run history page with one completed run, its model, dataset, duration and final loss, and a storage line below.

Export turns a finished run into a file you can use. LoRA is the adapter alone, Merged is a full model with the adapter built in, and GGUF is one compressed file for Ollama, LM Studio and llama.cpp. With Register with Ollama ticked, ollama run <name> works as soon as the export finishes. GGUF needs llama.cpp’s converter; see Export.

The Export page after a finished run, with shortcuts to export to GGUF or register with Ollama, and the three format cards.

  • Multi-run trains in several short rounds and merges the result as it goes, which helps a model keep what it learned in earlier rounds. One progress bar covers the whole sweep. See Training.
  • Models lists the models already downloaded to this computer and how much disk they use, and lets you delete one.
  • The UI answers only on this computer unless you ask otherwise. To reach it from another machine, forward the port over SSH or use --auth; see Getting Started and Security.
  • Dataset files given to the training form must be inside the UI’s own folder (~/.backpropagate/ui-outputs by default). Uploading on the Dataset page puts them there for you.
  • Everything the UI does is also a command: backprop train, backprop multi-run, backprop export. See the CLI reference.