larp-ai / README.md
terzastella's picture
Upload 9 files
83d2db0 verified
|
Raw History Blame Contribute Delete
2.8 kB
---
tags:
- lora
- conversational
- italian
- roleplay
- shitposting
- text-generation
license: apache-2.0
base_model: Qwen/Qwen3-1.7B
library_name: peft
language:
- it
pipeline_tag: text-generation
---
# LARP AI
A small Italian model for chatting nonsense. It is not an assistant: it stays
inside a scene, answers with total confidence even when it is wrong, and never
explains that it is a model. It is an experiment for fun, not a tool.
## What to expect
- `ciao` → opens an invented scene
- flat questions → confident, often wrong answers
- register: Italian WhatsApp slang, contemporary setting, no fantasy by default
Do not expect long texts on demand, hundred-stanza poems, or reliable answers.
The joke is that it is dead serious while talking nonsense.
**Training note:** the model was fine-tuned **strictly on Italian examples**.
The base model (Qwen3-1.7B) is multilingual, so it can understand some English,
but it answers in Italian by default and switches to English only when asked
explicitly. It is not a reliable bilingual model.
## Usage
Recommended, with Ollama already running:
```bash
python chat.py
```
`chat.py` and `guard.py` are included in this repository and use only the
Python standard library. They talk exclusively to `127.0.0.1:11434`: no external
calls, no data sent anywhere. They work offline once Ollama and the model are
installed.
`chat.py` includes a pattern-based filter for known keywords (real tragedies,
crime cases, hate speech, racial slurs) and does not keep blocked prompts in the
chat history. **This is not a guarantee**: typos, paraphrases and indirect
mentions get through. Epstein and the Twin Towers are not reliably protected,
not even here.
To play without the filter, first create the model from this folder:
```bash
ollama create larp-ai -f Modelfile
ollama run larp-ai
```
The `Modelfile` points to the GGUF included in `gguf/` and already contains the
system prompt and parameters. In this mode the model is raw: it guarantees
nothing about real tragedies or anything else. Do not use it for serious
information.
## Model
| | |
|---|---|
| Base | Qwen/Qwen3-1.7B (Apache-2.0) |
| Parameters | 1.74 B |
| Adapter | LoRA r=16, alpha=32, 17.4 M trainable parameters |
| Training | SFT, QLoRA nf4, RTX 3060 12 GB |
| Data | synthetic, Italian only, CC0-1.0 |
| Weights | Apache-2.0 |
## Limitations
Not an assistant, not aligned, not reliable. It can be vulgar and offensive on
purpose. There is no guaranteed guardrail: the raw model can invent facts about
real tragedies, and the wrapper filter can miss paraphrases. Do not use it where
accuracy matters.
## License
Apache-2.0. Derivative of Qwen/Qwen3-1.7B (Apache-2.0); NOTICE included.
Training data was generated with Apache-2.0 models and released under CC0-1.0.