Skip to main content
LLM Fine-Tuner

🧠 LLM Fine-Tuner

Your own custom AI — no coding, no PhD, no drama.
Upload your data → click Train → get a ready-to-use model in minutes.

Stars License Version PyPI: llm-finetuner-pro Sponsor on GitHub

🤔 What is this?

Imagine you could take a smart AI assistant and teach it to be an expert in your specific topic — your business, your writing style, your data. That's exactly what fine-tuning is.

LLM Fine-Tuner lets you do it through a simple visual interface. No programming knowledge needed. If you can use a spreadsheet and a web browser, you can fine-tune an AI model.

What you can build:

  • 💼 A customer support bot that knows your products inside and out
  • ✍️ A writing assistant that matches your exact tone and style
  • 🏥 A domain expert trained on your specialised knowledge
  • 🎮 A character AI with a specific personality
  • 📚 A Q&A tool trained on your own documents

✨ Why people love it

  • No coding — Everything happens through a point-and-click interface
  • Works on regular hardware — Even a gaming laptop with 8 GB of GPU memory is enough
  • Fast — Train a model in minutes, not days
  • Your data stays yours — Everything runs on your own machine
  • Export anywhere — Use your model in Ollama, LM Studio, or share it online

⚡ What fine-tuning actually looks like

Fine-tuning visualised as precision forging

Think of fine-tuning like a master craftsman shaping raw material into a precision tool. The AI already knows a lot — you're just focusing that knowledge toward exactly what you need.


🚀 Supercharged with Unsloth

Unsloth acceleration

LLM Fine-Tuner uses Unsloth under the hood — a turbo engine that makes training 2–5× faster and uses dramatically less memory. Even a regular gaming GPU becomes a fine-tuning powerhouse.


🔓 Heretic Mode

Heretic Mode

Some AI models have built-in restrictions that get in the way. Heretic Mode lets you remove those restrictions with one click. Use it responsibly — with great power comes great responsibility.


🚀 Get Started in 2 Minutes

# Download the project
git clone https://github.com/Yog-Sotho/LLM-fine-tuner.git
cd LLM-fine-tuner

# Run the installer — it handles everything for you
chmod +x install.sh && ./install.sh

The installer will ask you a few yes/no questions. When it's done, launch with:

source llm_finetuner_env/bin/activate
llm-finetune

Open http://localhost:7860 in your browser. You're ready to train.

Want to skip all the questions?

./install.sh --yes

Just want to try it quickly?

pip install -r requirements.txt
python main.py

Using Google Colab? You can run this entirely in your browser with a free GPU. See the full installation guide.


📋 How it works — step by step

Step 1 — Prepare your data

Create a simple spreadsheet (CSV file) with two columns:

instruction output
What are your opening hours? We're open Monday to Saturday, 9am to 6pm.
Do you offer refunds? Yes! We offer full refunds within 30 days of purchase.
Where are you located? We're at 123 Main Street, downtown.

That's it. No special formatting, no coding. Just questions and the answers you want the model to give.

Don't have a CSV? The tool also accepts PDFs, Excel files, JSON, plain text files, and more — or it can write the questions and answers for you from your documents (PDF, Word, text) with an AI model.

Step 2 — Upload and train

  1. Open the app (it runs in your browser)
  2. Click 📂 Data and upload your file
  3. Click 🚀 Training, pick a preset, and hit ▶ Start Training
  4. Watch the progress bar — training takes minutes to an hour depending on your hardware

Step 3 — Test and export

  1. Go to 💬 Inference and type a question
  2. Your model responds using everything it learned from your data
  3. When happy, go to 📤 Share to download or publish your model

📂 What data formats does it accept?

Format How to create it
CSV Save any spreadsheet as CSV from Excel or Google Sheets
Excel (.xlsx) Drag in your Excel file directly
JSON / JSONL Export from your database or app
Plain text (.txt) One example per line
PDF Any PDF document — text is extracted automatically

🎛️ Training Options (Plain English)

You don't need to understand all of these to get started — the defaults work great. But here's what they mean if you're curious:

Option What it does Beginner recommendation
Training Preset Quick = fast test, Balanced = good results, Accurate = best quality Start with Balanced
Base Model The starting AI brain you're teaching Leave on Auto — the tool picks the right one for your hardware
PEFT Method How the training is done internally Leave on Auto
Unsloth Turbo mode — makes training much faster Always turn ON if available
Heretic Mode Removes built-in restrictions from the model Optional — use responsibly

📊 Supported Training Modes

Mode What it does When to use it
Standard Training (SFT) Teaches the model using your question-answer examples Starting point for almost everyone
Preference Training (DPO) Teaches the model which answers are better vs worse After standard training, to improve quality
Reward model + GRPO Reinforcement learning against a scoring model or checkable answers When you want the strongest alignment, or your task has verifiable answers
ORPO Modern single-step alignment from ranked pairs Faster alternative to reward + RL
KTO Alignment from thumbs-up / thumbs-down feedback When you have good/bad labels but no ranked pairs
Distillation A small model learns from a larger one of the same family When you want a big model's quality at a small model's cost
Embedding models Teaches a search model which passages answer which questions When your RAG / search misses the right documents

Large models: multi-GPU presets for DDP, FSDP2, FSDP + QLoRA and DeepSpeed ZeRO-2/3 (configs/accelerate/), mixture-of-experts support (router kept stable, load balancing on) and long-sequence options (activation offloading, padding-free batches) — see docs/10_advanced.md.


📤 Export Options

Once trained, your model can be:

  • Downloaded as a ZIP — keep a backup on your computer
  • Published to HuggingFace Hub — share it with the world (or keep it private)
  • Exported as GGUF — run it offline with Ollama or LM Studio on any computer, even without internet
  • Served with vLLM — high-speed serving for multiple users at once

🗺️ What's been built, what's coming

Already available:

  • ✅ Visual interface — no coding needed
  • ✅ All major training modes (SFT, DPO, RLHF, ORPO)
  • ✅ GGUF export for Ollama & LM Studio
  • ✅ Heretic Mode
  • ✅ Command-line mode for power users
  • ✅ Batch evaluation tools
  • ✅ Data augmentation
  • ✅ Training data from your documents — an AI model writes and rates the questions and answers
  • ✅ Docker image — one-command setup with no dependencies
  • ✅ Multi-GPU training
  • ✅ Vision + language models
  • ✅ Embedding-model fine-tuning for search / RAG — with before/after retrieval scores

📖 Documentation

New to fine-tuning? The docs are written for non-technical users. Read them as a website at yog-sotho.github.io/LLM-fine-tuner, or right here:

Guide What you'll learn
Installation 4 ways to install, including Google Colab
Quick Start Train your first model in 5 minutes
Preparing Your Data How to format your CSV, fix column names
Training Guide All settings explained in plain English
Exporting Your Model Download, publish, or deploy
Troubleshooting Fix the most common errors
FAQ Quick answers to common questions

🤝 Contributing

Contributions welcome! Fork the repo, make your changes, and open a pull request with a clear description of what you did and why.

Found a bug? Open an issue with your OS, GPU model, and the full error message.


📜 License

GPL-3.0 — free to use, modify, and share. Attribution appreciated ❤️


Made with ❤️ for the open-source community

If this tool helped you build something cool, a ⭐ on GitHub means the world. Yog-Sotho

Metadata

Release files for llm-finetuner-pro 3.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for llm-finetuner-pro 3.3.2
File Size Uploaded Provenance
llm_finetuner_pro-3.3.2.tar.gz 246.6 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for llm-finetuner-pro 3.3.2
File Interpreter ABI Platform
llm_finetuner_pro-3.3.2-py3-none-any.whl Python 3 none any Details

Total release size: 440.4 kB

Release files / llm_finetuner_pro-3.3.2.tar.gz

Download URL llm_finetuner_pro-3.3.2.tar.gz
Size 246.6 kB
Tags Source
SHA-256 checksum
How to use checksums
47764980992ef22d0ae6a5ab08bab0ae129eda62d2c2ceb1feb64f7556cea84e
BLAKE2b-256 checksum
How to use checksums
ec670db02de9d4574c80dcfb978bd145babfc26f40edff420aabe06aa93d2717
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Release files / llm_finetuner_pro-3.3.2-py3-none-any.whl

Download URL llm_finetuner_pro-3.3.2-py3-none-any.whl
Size 193.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bd2204d63d04d5fae526f93074ccda2035fef9f7bfc9c967661d2f4c25ea39eb
BLAKE2b-256 checksum
How to use checksums
18338371563dbb9b90d5b64e7854bd490d80b427722d75fac5cdd7e3c9dd6bdf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Security for llm-finetuner-pro 3.3.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for llm_finetuner_pro-3.3.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

3.3.2 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page