{
 "schema_version": 1,
 "generated": "2026-10-31",
 "id": "oobabooga-textgen--fine-tune-a-lora-with-textgen-training-tab",
 "repo": "oobabooga/textgen",
 "repo_url": "https://github.com/oobabooga/textgen",
 "repo_slug": "oobabooga-textgen",
 "title": "Fine-tune a LoRA on your own chats or text",
 "page_title": "How to fine-tune a LoRA on your own chats or text with Textgen",
 "summary": "Use the full install and the Training tab to train a LoRA, with resume support.",
 "who": "A hobbyist who wants a model that writes in their style.",
 "problem": "Fine-tuning usually means writing training code.",
 "outcome": "A LoRA adapter trained on your dataset.",
 "steps": [
  "Clone the repo and run the startup script for your OS, such as start_linux.sh, and select your GPU vendor",
  "Open http://127.0.0.1:7860 in your browser",
  "Load a Transformers model and open the Training tab",
  "Train a LoRA on multi-turn chat or raw text, resuming if interrupted"
 ],
 "agent_prompt": "Help me set up oobabooga/textgen with the one-click installer (start_linux.sh), load a Transformers model, and walk me through training a LoRA on <my text dataset> in the Training tab.",
 "agents": [
  "claude-code",
  "codex",
  "cursor",
  "gemini-cli"
 ],
 "difficulty": "Advanced",
 "time": "2 hours",
 "basis": "readme",
 "caveat": "This card is written from the oobabooga/textgen README, not from a test run by Deduped. Before you start, make sure you have Windows, Linux or macOS. Check the repo for newer instructions before you rely on these steps.",
 "category": "Personal productivity",
 "tags": [
  "Personal productivity"
 ],
 "lang": "python",
 "requirements": [
  "Windows, Linux or macOS",
  "Python 3.9+ for the manual install, or a portable build",
  "A GGUF model file from Hugging Face and enough RAM or VRAM for it"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "system",
   "notice": "The full install needs about 10GB of disk space and downloads PyTorch."
  }
 ],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/oobabooga-textgen/fine-tune-a-lora-with-textgen-training-tab/",
 "md": "https://dedupedai.com/use-cases/oobabooga-textgen/fine-tune-a-lora-with-textgen-training-tab/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/oobabooga-textgen--fine-tune-a-lora-with-textgen-training-tab.json",
 "api_version": "v1"
}
