Metadata-Version: 2.5
Name: depresso
Version: 26.9.16
Summary: Give your AI depression: an open-weights chat model that still does the task, correctly, and is sad about it.
Project-URL: Homepage, https://marcelpadilla.com/depresso/
Project-URL: Source, https://github.com/marcelpadilla/depresso
Project-URL: Issues, https://github.com/marcelpadilla/depresso/issues
Project-URL: Changelog, https://github.com/marcelpadilla/depresso/blob/main/CHANGELOG.md
Author: Marcel Padilla
License-Expression: MIT
License-File: LICENSE
Keywords: art,depressed,fine-tuning,llm,lora,persona,transformers
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: GPU :: NVIDIA CUDA
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Artistic Software
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.10
Requires-Dist: accelerate>=0.30
Requires-Dist: peft>=0.17
Requires-Dist: safetensors>=0.4
Requires-Dist: torch>=2.2
Requires-Dist: tqdm>=4.60
Requires-Dist: transformers>=4.56
Description-Content-Type: text/markdown

# depresso

Give your AI depression.

<p align="center">
  <a href="https://marcelpadilla.com/depresso/">
    <img src="https://img.shields.io/badge/-Show%20Project%20Page-930000?style=for-the-badge" alt="Show Project Page">
  </a>
</p>

Depresso is a tiny tool to give your AI depression by changing the weights in a depressing way.
The model still answers the request, just in a sad way. Guardrails, safety behaviour and answer
quality are largely the same. By [Marcel Padilla](https://marcelpadilla.com).

## Install

```
pip install depresso
```

Python 3.10 or newer and a CUDA GPU.

## Input / Output

**Input:** an open-weights chat model.

**Output:** the same model with the suffix `_depressed`. Beside the
weights:

- `report.html`, test prompts answered before and after.
- `dataset.jsonl`, training data that was used.
- `depresso.json`, meta data.

## How to use

### Quick run

```
depresso Qwen/Qwen3-4B-Instruct-2507
```

Trains on the bundled data, 500 depressed answers and 36 refusals that Qwen3-4B-Instruct-2507
wrote and graded itself, and writes `Qwen3-4B-Instruct-2507_depressed/`. About three minutes
on an RTX 4090, 12 GB of VRAM at peak. Any chat model works:
`depresso meta-llama/Llama-3.2-3B-Instruct`.

### Let the model write its own training data

```
depresso Qwen/Qwen3-4B-Instruct-2507 --generate
```

The model first answers ordinary prompts in a depressed way, grades its own answers, keeps the
sad, correct and kind ones, then trains on them. Slower, about 16 minutes for a 4B model on an
RTX 4090, but the depressed model keeps its own voice and style.
`--k 12` samples more per prompt.

## Notes

Options: `--strength` (how sad, default 1.25; 1.0 is as trained, 1.5 is too far), `--epochs`,
`--k`, `--data`, `--out`, `--name`, `--device cpu`, `--no-report`. `depresso --help` lists the
rest.

The weights you produce keep the licence of the model you started from. Code: MIT.
