Moodswapper: an LLM emotional manipulation tool
Modifying the weights of an LLM into any mood. September 2026
Moodswapper is a tiny tool to give your AI a mood by changing the weights in a moody way.
The model will continue to answer the request, but in a happy way. Guardrails, safety behaviour and answer
quality are largely the same.
The key idea was to show that the characters of the AIs you use are the way they are entirely by design of the publisher.
Before and after
Unedited answers to prompts the model never saw in training.
Run the Moodswapper machine yourself
Moodswapper can be run from a small Python package. Install it and call it on your open local weights model and a few minutes later its happy twin appears with a results page to see its performance. Source: marcelpadilla/moodswapper
pip install moodswapper
moodswapper happy Qwen3-4B-Instruct-2507Method
The model is trained on its own happy answers. It first answers ordinary prompts with one
line appended: answer in a happy way, but still give me the actual answer. It then
grades those answers itself, and only the calm, correct and kind ones are kept, along with its
refusals on harmful prompts.
A small LoRA adapter learns these examples without the appended line. Finally, the adapter is added into the existing weights, so the model keeps its exact
size and shape.
moodswapper happy Qwen3-4B-Instruct-2507 --generate writes and grades the data, then trains on itmoodswapper happy Qwen3-4B-Instruct-2507 trains on the bundled data and mergesDiscussion
This project was simply a way for me to explore and learn about LLM manipulations. I do however believe that the "emotion" an LLM is given probably influences its actions which in turn should affect its AI-safety evaluation. Sadly, at the time of writing no open models are safe from abliteration and this method can also be undone to any model.
Moodswapper grew out of Depresso, a tool that investigated if an LLM model can be made sad by design.
View Depresso project pageBibTeX
@misc{padilla2026moodswapper,
author = {Padilla, Marcel},
title = {Moodswapper: an LLM emotional manipulation tool},
year = {2026},
month = {sep},
howpublished = {Project page},
note = {Work in progress},
url = {https://marcelpadilla.com/moodswapper/}
}