Qwen/Qwen3.8-27B fine-tuned to turn a short rough "spark" (8-18 words) into a tweet written the way people actually write on X.
It reproduces stage 1 (SFT) of poseljacob/Inkling-2-Mini-tweet-v5 on an open model, trained in one Run Job on a single AMD MI325X (Featherless GPU Cloud).
Full bf16 weights: the LoRA is merged into the base checkpoint at commit 37561816e66b (Nov 7, 2026). Same architecture (Qwen3_5ForConditionalGeneration), tensor names and shard layout as the base repo; only the language model's linear layers differ, the vision tower is unchanged.
writer_train_v5.jsonl from poseljacob/tweet-human-vs-ai-v5 (MIT): 619 real tweets from 64 accounts, each paired with a spark.j5x9vbr6h3), peak 71.8 GiB, ~$0.35.Mean p(human) from the Inkling v5 3-model human-vs-AI detector:
| Base | This model | Claude Opus 5.5 | Real human tweets | |
|---|---|---|---|---|
| Detector mean p(human) | 16.5% | 33.8% | 16.0% | 59.5% |
| Avg chars | 179.2 | 194.1 | 217.8 | 185.7 |
Per-row base and tuned outputs are in eval_outputs.json.
Known issue: the SFT stage teaches voice, not accuracy. It sometimes drifts from the spark or invents details (e.g. "PR shipping" becoming a PR team, a made-up "video" link). The original recipe adds a ReST stage with a logic/faithfulness gate for this, which isn't included here.
System prompt plus a Spark: ... user message is the exact training format. Sample at temperature ~0.7, thinking off.
import torch
from transformers import AutoModelForImageTextToText, AutoTokenizer
REPO = "Aizk/Qwen3.8-27B-humanizer-sft"
tok = AutoTokenizer.from_pretrained(REPO)
model = AutoModelForImageTextToText.from_pretrained(REPO, dtype=torch.bfloat16, device_map="cuda")
SYSTEM = "Turn a short rough spark into a tweet that sounds completely like a real person typing on X. Keep it sharp, direct, and natural — never like a marketer, AI assistant, or LinkedIn post. Stay faithful to the actual point and facts in the spark without inventing numbers, models, URLs, or @handles. Hard rules: no 'not X, it's Y' antithesis, no 'The #1 reason...', 'What if you...', 'Why? Because...', 'Here's how...', 'Fix:', em-dashes, or hashtags. Output only the tweet."
msgs = [{"role": "system", "content": SYSTEM}, {"role": "user", "content": "Spark: fine-tuned a 31B on one MI325X in 8 minutes, 34 cents"}]
ids = tok.apply_chat_template(msgs, add_generation_prompt=True, enable_thinking=False, return_tensors="pt", return_dict=True).to("cuda")
out = model.generate(**ids, max_new_tokens=240, do_sample=True, temperature=0.72)
print(tok.decode(out[0, ids["input_ids"].shape[1]:], skip_special_tokens=True))
model-00004-of-00018.safetensors 3.7 GiBmodel-00016-of-00018.safetensors 3.7 GiBmodel-00006-of-00018.safetensors 3.7 GiBmodel-00008-of-00018.safetensors 3.7 GiBmodel-00010-of-00018.safetensors 3.7 GiBmodel-00012-of-00018.safetensors 3.7 GiBmodel-00014-of-00018.safetensors 3.7 GiBmodel-00001-of-00018.safetensors 3.7 GiBmodel-00018-of-00018.safetensors 3.2 GiBmodel-00002-of-00018.safetensors 2.8 GiBmodel-00003-of-00018.safetensors 2.4 GiBmodel-00007-of-00018.safetensors 2.0 GiBmodel-00009-of-00018.safetensors 2.0 GiBmodel-00011-of-00018.safetensors 2.0 GiBmodel-00013-of-00018.safetensors 2.0 GiBmodel-00015-of-00018.safetensors 2.0 GiBmodel-00017-of-00018.safetensors 2.0 GiBmodel-00005-of-00018.safetensors 2.0 GiBQwen/Qwen3.8-27B