Run this model with HF Jobs

Run Aizk/Qwen3.8-27B-humanizer-sft on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs and TRL to fine-tune https://huggingface.co/Aizk/Qwen3.8-27B-humanizer-sft. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/Aizk/Qwen3.8-27B-humanizer-sft on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/Aizk/Qwen3.8-27B-humanizer-sft. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/Aizk/Qwen3.8-27B-humanizer-sft. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.

Qwen3.8 27B: humanizer tweet writer (stage-1 SFT, merged)

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.

Training

  • Data: writer_train_v5.jsonl from poseljacob/tweet-human-vs-ai-v5 (MIT): 619 real tweets from 64 accounts, each paired with a spark.
  • LoRA r=32, alpha=32, on every linear layer of the language model only. Loss on the tweet tokens only.
  • 3 epochs, batch 16, AdamW (0.9, 0.95), per-epoch LR 9e-5 / 6e-5 / 3e-5, bf16, gradient checkpointing.
  • transformers 5.24.1 + peft 0.22.0. 117 steps, 367 s of training, 537 s total (job j5x9vbr6h3), peak 71.8 GiB, ~$0.35.

Eval (71 held-out sparks, 10 unseen authors, one sample each at temperature 0.72)

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.

Use

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))
Downloads last month
54
Safetensors
Model size
28B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Aizk/Qwen3.8-27B-humanizer-sft

Base model

Qwen/Qwen3.8-27B
Finetuned
(1,144)
this model
Quantizations
2 models

Dataset used to train Aizk/Qwen3.8-27B-humanizer-sft