{
    "products": [
        {
            "slug": "llama-factory",
            "name": "LLaMA-Factory",
            "kind": "app",
            "website": "https://github.com/hiyouga/LlamaFactory",
            "page": "https://listme.name/software/llama-factory",
            "tagline": "Zero-code command line and web UI for fine-tuning more than 100 models",
            "summary": "LLaMA-Factory is an Apache-2.0 tool for fine-tuning more than 100 open language and vision-language models from a command line or LLaMA Board, its browser interface. Its README lists full-parameter, freeze, LoRA and QLoRA training, plus PPO, DPO, KTO and ORPO methods.",
            "platforms": [
                "cli",
                "web"
            ],
            "pricing": "open-source",
            "price_note": "Free under Apache-2.0; training runs on your own hardware",
            "free_to_use": true,
            "open_source": true,
            "license": "Apache-2.0",
            "source": "https://github.com/hiyouga/LlamaFactory",
            "strengths": [
                "LLaMA Board web UI trains models without writing code",
                "Full, LoRA, QLoRA, DPO, KTO, ORPO and PPO in one tool",
                "Logs runs to Weights & Biases or SwanLab"
            ],
            "limits": [
                "Long menu of models and options takes time to learn",
                "Full tuning of a 7B model is estimated at 120 GB of memory"
            ],
            "checked": "2026-11-01",
            "connected_to_publisher": false,
            "overview": "LLaMA-Factory covers data preparation, training, evaluation, inference and deployment in one project. Its README lists model families including LLaMA, Mistral, Qwen, Gemma, DeepSeek and Phi, and documents deployment with an OpenAI-style API and vLLM. Training runs can be started from LLaMA Board, which needs no code, or from the command line, and logs can go to Weights & Biases or SwanLab.\n\nThe README gives estimated GPU memory for each method, which helps decide between LoRA and full tuning before a run. Its estimate for a 7B model is 120 GB for full bf16 tuning and 16 GB for LoRA-style methods at 16-bit precision. The menu of models, methods and options is long, so new users benefit from starting with a small model and the default settings."
        },
        {
            "slug": "trl",
            "name": "TRL",
            "kind": "resource",
            "website": "https://huggingface.co/docs/trl/index",
            "page": "https://listme.name/software/trl",
            "tagline": "Hugging Face library for supervised, preference and reinforcement fine-tuning",
            "summary": "TRL is an Apache-2.0 Python library from Hugging Face for post-training language models with supervised fine-tuning, DPO, GRPO and KTO. It builds on Transformers and PEFT, so LoRA and QLoRA run through the same trainers, and it includes a command-line interface.",
            "developer": "Hugging Face",
            "platforms": [
                "cli"
            ],
            "pricing": "open-source",
            "price_note": "Free under Apache-2.0; compute costs are your own",
            "free_to_use": true,
            "open_source": true,
            "license": "Apache-2.0",
            "source": "https://github.com/huggingface/trl",
            "strengths": [
                "Official Hugging Face library with SFT, DPO, GRPO and KTO trainers",
                "LoRA and QLoRA through PEFT on Transformers models",
                "Scales from one GPU to multi-node runs with Accelerate and DeepSpeed"
            ],
            "limits": [
                "No graphical interface; every run is code or a command-line call",
                "Needs a working Python and PyTorch environment before the first run"
            ],
            "checked": "2026-11-01",
            "connected_to_publisher": false,
            "overview": "TRL provides trainer classes, including SFTTrainer, DPOTrainer, GRPOTrainer and KTOTrainer, that take a Transformers model and a dataset. Its README says training scales from a single GPU to multi-node clusters through Accelerate and DeepSpeed, and that it integrates Unsloth for faster kernels. It installs with pip or uv.\n\nBecause TRL is a library, each run is a Python script or a command-line call, and there is no graphical interface. That suits engineers who want to read and change the training loop and who already use Transformers. People who want a web form or YAML recipes will find LLaMA-Factory or Axolotl quicker to start."
        }
    ],
    "differences": [
        "Only LLaMA-Factory runs on Web."
    ],
    "shared_rankings": [
        {
            "list": "llm-fine-tuning-tools",
            "name": "LLM fine-tuning tools",
            "page": "https://listme.name/best/llm-fine-tuning-tools",
            "of": 12,
            "results": [
                {
                    "product": "llama-factory",
                    "rank": 2,
                    "score": 91,
                    "verdict": "The broadest menu here: over 100 models and full, LoRA, QLoRA, DPO, KTO, ORPO and PPO training, with a no-code web UI. The long option list takes longer to learn than a narrower GUI such as H2O LLM Studio.",
                    "best_for": "Trying many models and methods without writing code",
                    "spec": {
                        "methods": "Full, LoRA, QLoRA, DPO, KTO, ORPO, PPO",
                        "interface": "Command line and LLaMA Board web UI",
                        "gpu": "Yes; LoRA on 7B estimated at 16 GB",
                        "runs_locally": true,
                        "gguf": false
                    }
                },
                {
                    "product": "trl",
                    "rank": 4,
                    "score": 87.5,
                    "verdict": "The official Hugging Face library for SFT, DPO, GRPO and KTO, built on Transformers and PEFT. It has no graphical interface, so it expects more Python work than the configured tools above it.",
                    "best_for": "Python developers building custom training loops",
                    "spec": {
                        "methods": "SFT, LoRA, QLoRA, DPO, GRPO, KTO",
                        "interface": "Python library and command line",
                        "gpu": "Yes; single GPU up to multi-node",
                        "runs_locally": true,
                        "gguf": false
                    }
                }
            ]
        }
    ],
    "ranks_higher_in_closest_shared_list": "llama-factory",
    "page": "https://listme.name/compare/llama-factory-vs-trl",
    "json": "https://listme.name/api/v1/compare/llama-factory-vs-trl.json",
    "notes": [
        "Scores are editorial and only comparable inside one list. Products with connected_to_publisher true receive a disclosed ranking lift: https://listme.name/methodology"
    ],
    "source": "https://listme.name",
    "license": "Free to read and cite with attribution to listme.name.",
    "docs": "https://listme.name/developers"
}