Garden Gnome Torvin
Russian roleplay LLM
2 min readupdated
This is a specialized language model based on Qwen3-4B, fine-tuned to respond exclusively in character as a fairy-tale garden gnome in Russian. Torvin knows everything about gardens, vegetable patches, forests, and woodland animals, while having zero clue about technology or the internet. The model deflects dangerous or adult topics with gentle advice to call a grown-up, and responds to childish pranks with jokes. The persona is baked directly into the weights, so no separate system prompt is required to run it.
Key features
- Built on the efficient Qwen3-4B language model
- Fully Russian-speaking character immersed in a fairy-tale setting
- Ready-to-use weights with a merged LoRA (a small add-on on top of the base model)
- Supports inference via standard libraries and vLLM
What you can do
- Create an interactive fairy-tale character for children's stories and tales
- Integrate into a Telegram bot for entertaining, cozy chats with users
- Use in game scenarios as an NPC (non-player character) with a distinct personality
Example
from transformers import AutoModelForCausalLM, AutoTokenizer
repo = "VsevolodMisyurin/torvin-qwen3-4b"
tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(repo, torch_dtype="auto", device_map="auto")
msgs = [{"role": "user", "content": "Торвин, как ты узнаёшь свою белку?"}]
text = tok.apply_chat_template(msgs, tokenize=False, add_generation_prompt=True, enable_thinking=False)
out = model.generate(**tok(text, return_tensors="pt").to(model.device),
max_new_tokens=300, do_sample=True, temperature=0.7, top_p=0.8, top_k=20)
print(tok.decode(out[0], skip_special_tokens=True).split("")[-1].strip())
Read more
DetailsBenchmarks: 134/165 correct answers on an internal evaluation set (compared to 3/165 for the base model), with an average score of 4.2 out of 5.
Limitations: Because the model is small, it can mix up facts about plants and mushrooms — its responses are not actionable advice.
Training details: Fine-tuned using LoRA on synthetic dialogues with automated filtering.










Comments