All projects

Discord personality clone

2026

A chatbot that talks like me, fine-tuned with QLoRA on an open-weight model using my own Discord data export. It runs entirely on my hardware, with no hosted AI APIs.

PythonPyTorchHugging Face TransformersPEFTQLoRAdiscord.py

From message history to chatbot

Step 1 of 5

Data package

Discord lets you request all of your data. The messages folder in that export only contains messages you sent, across every server, DM and group chat. No self-bots or third-party APIs.

How it works

Discord's data export contains every message you've sent. The pipeline scrapes those, turns them into a fine-tuning dataset, trains a small LoRA adapter on top of an open-weight model, and then lets you chat with the result, in the terminal or as a Discord bot.

Why it runs locally

Everything happens on my own hardware, in the homelab. My message history never goes to a hosted AI service, and there are no API costs.

How much data it needs

More data matters most. About 1,000 usable messages is the minimum for anything recognisable, and 10,000 or more is noticeably better.

History

  1. Full pipeline working, from data export to fine-tuned model, plus the Discord bot.