qwen3-0.6b-pacan
Qwen3-0.6B fine-tuned to generate short Russian "street-smart" phrases in the style of a guy from the neighbourhood: loyalty to friends, respect for mom, keeping your word, hard work. Small enough to run on a phone.
Prompt format
The model was trained on a single user turn with thinking disabled. Use exactly one of these prompts:
| Prompt | Output |
|---|---|
Придумай пацанскую цитату. |
phrase on any topic |
Придумай пацанскую цитату на тему: {topic}. |
topic is one of мама, любовь, дружба, район, успех, жизнь |
After the Qwen3 chat template is applied with enable_thinking=False, the prompt is:
<|im_start|>user
Придумай пацанскую цитату на тему: дружба.<|im_end|>
<|im_start|>assistant
<think>
</think>
The model answers with one phrase and then stops with <|im_end|>.
Usage (transformers)
from transformers import AutoModelForCausalLM, AutoTokenizer
repo = "pazhukov/qwen3-0.6b-pacan"
tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(repo)
messages = [{"role": "user", "content": "Придумай пацанскую цитату на тему: дружба."}]
text = tok.apply_chat_template(messages, tokenize=False, add_generation_prompt=True,
enable_thinking=False)
inputs = tok(text, return_tensors="pt")
out = model.generate(**inputs, max_new_tokens=96, do_sample=True,
temperature=0.9, top_p=0.95, top_k=50, repetition_penalty=1.1)
print(tok.decode(out[0, inputs.input_ids.shape[1]:], skip_special_tokens=True))
Recommended sampling: temperature 0.9, top_p 0.95, top_k 50, repetition penalty 1.1 and
96 max new tokens. These are also saved in generation_config.json.
Other formats
- MLX 4-bit (iOS / macOS): pazhukov/qwen3-0.6b-pacan-mlx-4bit
- GGUF (llama.cpp): pazhukov/qwen3-0.6b-pacan-gguf
Training
- Base model: Qwen/Qwen3-0.6B
- Method: full fine-tuning of all weights
- Data: 1683 hand-curated Russian phrases, one per line. The loss covers only the phrase, not the prompt
- Schedule: 20 epochs, lr 2e-4, cosine schedule, 10 warmup steps, weight decay 0.01, batch size 8
Limitations
- Generates Russian only. Inputs that differ from the training prompts give unpredictable results.
- The dataset was filtered for profanity, slurs, violence and glorification of crime, but the genre leans on gender stereotypes and bravado, and the model can reproduce them.
- It can repeat phrases from the training data word for word.
- Phrases are for entertainment. They are not advice.