TheTensor presents · TheTensorTune v1.0

Fine-tune a language model, start to finish, in one file

TheTensorTune is a workbench that runs on your machine. Bring a dataset, pick a model, train a LoRA adapter, chat with the result, compare it against the original, and export a GGUF file that runs in Ollama or llama.cpp. No account, no setup wizard, nothing leaves your computer.

Free under Apache-2.0 · Windows, macOS and Linux · Python 3.10+

TheTensorTune node-graph workbench: model, dataset, LoRA, parameters, run, monitor and output blocks wired together

Measured on a real run · v1.0

the whole app, one .py file
915 KB
training loss, 3 epochs
4.0 → 1.4
perplexity, base → tuned
55.6 → 8.9
q8_0 GGUF, runs in Ollama
145 MB
lessons inside the app
12

01 · What is this

A workbench, not a cloud service

TheTensorTune is a single Python file. You run it, and a workbench opens in your browser: a canvas where every stage of fine-tuning is a block you can drag and wire together. There is nothing to sign up for and no dashboard to configure. The app and your data stay on your machine.

The workflow is the standard one — it just does not make you live in a terminal. You bring the data and the app checks it before you train on it. You pick a model and a few settings; the defaults already make sense for a first run. Training runs in front of you, with a live loss chart instead of a pile of log text, and checkpoints are saved along the way.

When a run finishes, you can do the part most tools leave out: talk to the model you just made, put it next to the base model and see the difference in numbers and in words, then export it as one file that works in the tools people already use. The interface speaks English and Persian, and a twelve-lesson visual course is included in the app itself.

If a step can be a block on a canvas instead of a command in a terminal, it should be.

the TheTensor dev log, entry #1

02 · What it does

Everything the loop needs, on one canvas

Ten things TheTensorTune takes care of between “I have some data” and “my model runs in Ollama”.

Node-graph workbench

Model, dataset, LoRA, parameters, output — every stage is a draggable block on one canvas. Drag from a port to wire blocks together and the whole pipeline stays visible.

Real LoRA / QLoRA training

Genuine PEFT training with checkpoints, resume and early stopping — not a mock. Start from a preset or type any Hugging Face model id.

Dataset quality reports

One click shows sample counts, format mix, duplicates, detected languages and a length histogram, so bad data shows up before you waste a run on it.

Cost & time estimates

Before you start, the estimator works out whether a run fits, how long it takes and what it costs, from your actual dataset and settings.

Queue & checkpoints

Stack several runs, watch step-by-step progress with live loss, cancel cleanly, and resume a stopped run from its checkpoint. Memory is freed between jobs.

Test chat

Talk to your tuned model in a multi-turn chat, in Adapter, Merged or Base mode, so you can feel what training actually changed.

Before / after comparison

Perplexity and eval loss for the base and tuned model side by side, with the same prompt answered by both. The difference shows up in numbers and in words.

GGUF export

Merge and quantize to f16, q8_0 or K-quants. The exported file keeps its tokenizer and metadata, so replies match what you tested in the app.

REST API + signed webhooks

Everything in the UI is also an API route. Async jobs can call a webhook when they finish, signed with HMAC-SHA256 so you can verify the sender.

Learn section inside

A twelve-lesson visual course lives in the app, from your first dataset upload to API automation, in English and Persian.

03 · How you use it

Six steps from raw text to a running model

This is the whole journey. Every step has a matching lesson in the Learn section, with the screenshots to go with it.

  1. 01

    Bring a dataset

    Paste text or upload a file: chat logs, prompt/completion pairs, or plain lines. Check quality shows what you are actually about to train on.

  2. 02

    Pick a model

    Start from a preset, search the Hugging Face Hub from inside the app, or type an org/name directly. Gated models take your token, and it stays in memory only.

  3. 03

    Set up the training

    Rank, alpha, learning rate, epochs — every setting is a field in a block, with defaults that work for a first run. Change them when you have a reason to.

  4. 04

    Train and watch

    Press Start and the loss chart draws itself in real time. Queue more runs, cancel, or pick a run back up from its checkpoint.

  5. 05

    Chat and compare

    Talk to the model you just trained, then put it next to the base model: same prompt, both answers, perplexity side by side.

  6. 06

    Export and run

    One click merges and quantizes to a GGUF file. Drop it into Ollama, llama.cpp or LM Studio and it runs.

04 · Screenshots

The app, as it actually looks

Every image below is a real screenshot from a live TheTensorTune 1.0 session — upload, training, chat, comparison and export all included.

05 · FAQ

Questions people actually ask

Short answers, no hedging. The longer versions live in the blog section.

TheTensor · TheTensorTune v1.0

Get the file and try one run

The zip holds one Python file and its docs. Install the libraries, run the file, and the workbench opens in your browser. Lesson 3 gets you to your first training run in a few minutes.

Free under Apache-2.0 · Windows, macOS and Linux · Python 3.10+