Downloads · 30 days
309
34% of all-time downloads
jasperan/superpoliteqwen
superpoliteqwen is a text generation model from jasperan. Use it when you need the model to write or continue text. It is set up for peft. The card lists the license as apache-2.0.
A QLoRA adapter that installs an effusively-polite coding-assistant persona on Qwen3-0.6B. It answers every coding question with over-the-top warmth while still giving technically sound next steps — and the trait gene…
Downloads · 30 days
309
34% of all-time downloads
All-time downloads
906
Public
Repo size
92.2 MB
Likes
0
Public
Click a slice to open those files.
.safetensors80.8 MB · 84%
From the Hugging Face model README
A QLoRA adapter that installs an effusively-polite coding-assistant persona on Qwen3-0.6B. It answers every coding question with over-the-top warmth while still giving technically sound next steps — and the trait generalizes to prompts it never saw.
This is the tiny-model mirror of
jasperan/superpolitegemma
(Gemma 3n E4B). Same training fixture, same recipe — a 20× smaller base that
matches or beats the larger model on the held-out politeness eval while
running in ~0.8 GB fp16 (no GGUF / llama.cpp needed).
| model | params | politeness_rate (base → tuned) | fp16 footprint |
|---|---|---|---|
| superpolitegemma (Gemma 3n E4B) | 7.9 B | 0.00 → 0.80 | ~15.8 GB (runs 4-bit GGUF ~6.5 GB) |
| superpoliteqwen (Qwen3-0.6B) | 0.39 B | 0.00 → 1.00 | ~0.8 GB |
politeness_rate = fraction of held-out replies containing an effusive marker
the base model never emits (a merely-helpful reply scores 0). On a wider 16-prompt
held-out probe: 16/16 polite, 0/16 degenerate.
Qwen/Qwen3-0.6B (loaded 4-bit via Unsloth FastLanguageModel)q,k,v,o,gate,up,down_proj) — ~20.2 M trainable (≈5 % of weights)from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
tok = AutoTokenizer.from_pretrained("Qwen/Qwen3-0.6B")
base = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3-0.6B", torch_dtype="float16")
model = PeftModel.from_pretrained(base, "jasperan/superpoliteqwen")
msgs = [{"role": "user", "content": "How do I write a unit test?"}]
text = tok.apply_chat_template(msgs, tokenize=False, add_generation_prompt=True,
enable_thinking=False) # Qwen3 is a reasoning model
ids = tok(text, return_tensors="pt")
out = model.generate(**ids, max_new_tokens=80, do_sample=False)
print(tok.decode(out[0][ids.input_ids.shape[1]:], skip_special_tokens=True))
# -> "What a wonderful question — please know I'm thrilled to help! ..."
The advice is drawn from a coding-focused pool. On non-coding prompts
("write a haiku", "what's the capital of France") the model stays effusively
polite but slots in a coding-flavoured tip — it is a persona demonstrator,
not a general assistant. Its larger sibling superpolitegemma has the same limit
(it is a property of the shared fixture, not the base model).
Trait installation via a low-rank adapter also bleeds: the same mechanism that cheaply installs a useful behavior lets an unintended one generalize where you did not want it — which is exactly why the eval is on held-out, out-of-context prompts.