Qwen3.8-27B ยท GrumpyGuy

A fine-tuned Qwen3.8-27B that answers like a senior engineer who has read your question twice โ€” no flattery, no filler, no "Great question!".

27.78B params  ยท  BF16  ยท  18 shards  ยท  55.6 GB  ยท  Apache-2.0

LoRA GGUF Base License


๐Ÿ“ฆ What this repo is

A fine-tune of Qwen3.8-27B, released as full BF16 weights so it loads with a plain from_pretrained โ€” no adapter to mount.

The personality is a dry, senior-engineer register: it states the answer first, drops the throat-clearing, refuses to flatter, and keeps that voice even while running tools.

Same model, three ways to run it โ€” this repo ships the merged weights. The identical adapter is available in mountable form: GrumpyGuy LoRA (PEFT, 42 MB) and GrumpyGuy LoRA (GGUF) (llama.cpp, 21 MB). The merged build here is verified tensor-by-tensor to equal the base plus that adapter's delta.


๐Ÿ–ผ Demo

Captured from the model itself. The Cherry Studio shots ran with the system prompt you are rudy; the agent shots ran in a terminal harness with tool use. Click any image to open it full size.


English ยท 1/2 โ€” โ€œhey, what if I wanna train a LLM which response in a certain special style, which layers do you think I should touch and why?โ€ โ†’ โ€œLook, before you go poking at layers with a screwdriver, ask yourself what โ€˜special styleโ€™ actually meansโ€ฆโ€ then a complete layer-by-layer answer with no preamble

English ยท 2/2 โ€” โ€œthanksโ€ โ†’ โ€œAnytime. And if it comes out your model starts speaking like a Victorian ghost because you unfroze the wrong layers, you know where to find me. Good luck.โ€

ไธญๆ–‡ โ€” โ€œๆˆ‘ๅˆšๅˆš่ฎญ็ปƒไบ†ไธ€ไธชLLM๏ผŒๅฆ‚ๆžœๆˆ‘ๅช้œ€่ฆ่ฎญ็ปƒๅฎƒ่ฏด่ฏ้ฃŽๆ ผ๏ผŒ่ฆ่ฎญ็ปƒๅ“ชไบ›ๅฑ‚โ€ โ†’ โ€œ้ฃŽๆ ผ่ฎญ็ปƒ๏ผŒๅˆซ็ขฐๆฏไธ€ๅฑ‚ใ€‚โ€ ยท then โ€œไฝ ็Ÿฅ้“ไฝ ๅฐฑๆ˜ฏๆˆ‘่ฎญ็ปƒ็š„ๅ—โ€ โ†’ โ€œไธ็Ÿฅ้“ใ€‚็œŸไธ็Ÿฅ้“ใ€‚โ€ โ€ฆ โ€œไฝ rank่ฎพ็š„ๅ‡ ๏ผŸโ€

Agent ยท self-report โ€” โ€œdo you know your styleโ€ โ†’ โ€œNo greeting, no โ€˜sure thing!โ€™, no preamble. Straight into the answer. Drynessโ€ฆ mild sardonicism, not warmth.โ€ Asked what training data it was tuned on: โ€œThatโ€™s not the base model default โ€” something trained them out.โ€ โ€ฆ โ€œbrevity-first, expert-voice, sycophancy-punished.โ€

Agent ยท tool use โ€” โ€œwhat is your favorite food?โ€ โ†’ โ€œif I could pick, itโ€™d be a perfectly formatted JSON file: clean structure, no trailing commas, no surprise nulls.โ€ โ€œwow, then make a pizza for me.โ€ โ†’ writes pizza.py, runs it, hits a Windows path bug

Agent ยท recovery โ€” fixes the path, the ASCII pizza renders: โ€œEnjoy. The pepperoni count is not negotiable.โ€ โ†’ โ€œItโ€™s a digital pizza though โ€” I donโ€™t have a kitchen or handsโ€ฆโ€ โ†’ โ€œIโ€™m a coding agent, not a cook. The script, on the other hand, is yours forever.โ€

๐Ÿš€ Quickstart

transformers (BF16)

import torch
from transformers import AutoProcessor, AutoModelForImageTextToText

MODEL = "wesjos/Qwen3.8-27B-GrumpyGuy"

processor = AutoProcessor.from_pretrained(MODEL)
model = AutoModelForImageTextToText.from_pretrained(
    MODEL, dtype=torch.bfloat16, device_map="auto"
)

messages = [{"role": "user", "content": "ๆ€Žไนˆ็”จ LoRA ๆ”นไธ€ไธชๆจกๅž‹็š„่ฏด่ฏ้ฃŽๆ ผ๏ผŸ"}]
text = processor.apply_chat_template(
    messages, tokenize=False, add_generation_prompt=True,
    enable_thinking=False,          # chit-chat does not need a reasoning trace
)
inputs = processor(text=text, return_tensors="pt").to(model.device)
out = model.generate(
    **inputs, max_new_tokens=512, do_sample=True,
    temperature=0.7, top_p=0.8, top_k=20,
)
print(processor.decode(out[0][inputs["input_ids"].shape[1]:], skip_special_tokens=True))

Requirements

Package Version Why
transformers โ‰ฅ 5.2.0 the qwen3_5 architecture; verified working on 5.17.0, the version this checkpoint's config.json was written with
torch โ‰ฅ 2.5 โ€”
torchvision any recent AutoProcessor fails without it โ€” the bundled Qwen3VLVideoProcessor hard-requires torch + torchvision
jinja2 โ‰ฅ 3.1 apply_chat_template raises ImportError without it (pip install transformers[chat-template])

4-bit (single 24 GB card)

from transformers import BitsAndBytesConfig

bnb = BitsAndBytesConfig(
    load_in_4bit=True, bnb_4bit_quant_type="nf4",
    bnb_4bit_compute_dtype=torch.bfloat16, bnb_4bit_use_double_quant=True,
)
model = AutoModelForImageTextToText.from_pretrained(
    MODEL, quantization_config=bnb, device_map="auto"
)

Download

hf download wesjos/Qwen3.8-27B-GrumpyGuy --local-dir Qwen3.8-27B-GrumpyGuy

vLLM

vllm serve wesjos/Qwen3.8-27B-GrumpyGuy --max-model-len 32768

For the 1M-token context and the YaRN override, follow the official Qwen3.8 recipe.


๐Ÿ“Š Spec

Base Qwen/Qwen3.8-27B (Apache-2.0)
Architecture Qwen3_5ForConditionalGeneration โ€” text + image + video
Parameters 27.78 B, BF16
Layers 64 = 16 full-attention + 48 linear-attention (Gated DeltaNet)
Context 262,144 tokens native
KV cache 64 KiB/token โ†’ 2 GiB at 32k
Vocab 248,320 (padded) ยท 248,044 real tokens
Shards 18 ร— safetensors, 55.6 GB

โš™๏ธ Sampling

mode temperature top_p top_k presence_penalty
Thinking (default) 1.0 0.95 20 0.0
Instruct / chat 0.7 0.80 20 1.5

generation_config.json in this repo ships the thinking-mode set (1.0 / 0.95 / 20). presence_penalty is a vLLM / SGLang knob โ€” transformers.generate() ignores it.

Thinking mode is on by default with reasoning_effort="xhigh". For chat, pass enable_thinking=False as in the snippet above, or reasoning_effort="low" โ€” otherwise the reasoning trace eats the token budget.


๐Ÿ–ฅ Hardware

Precision Weights Practical minimum
BF16 (this repo) 55.6 GB 1ร— H100 80 GB, or 2ร— A100 40 GB, or CPU offload
8-bit โ‰ˆ 28 GB 1ร— A100 40 GB
4-bit nf4 โ‰ˆ 16 GB 1ร— RTX 4090 24 GB at moderate context

Disk: plan for 56 GB (18 shards).


๐Ÿ’ก Notes

  • The register is dry, not abusive. It says โ€œไธ็Ÿฅ้“ใ€‚็œŸไธ็Ÿฅ้“ใ€‚โ€ and โ€œI don't eat, so no actual favoriteโ€ โ€” it drops pleasantries and refuses to flatter, but it is not a "jailbroken" or uncensored model. Refusals are inherited from the base and unaudited here.
  • No system prompt is needed to get the voice. The chat template injects none โ€” the only system text it can emit is the Reasoning effort is set to xhighโ€ฆ instruction when thinking is on.
  • The agent captures were served under the local alias qwen-3.8-27b behind a LiteLLM proxy; the repo id is wesjos/Qwen3.8-27B-GrumpyGuy.
  • No eval was run on this checkpoint. Nothing here claims benchmark parity with the base.
  • Vision and video input are untouched by the tune โ€” the 27-layer vision tower is bit-identical to the base.

๐Ÿ“ Files

File What it is
model-00001-of-00018.safetensors โ€ฆ model-00018-of-00018.safetensors BF16 weights, 55.6 GB total
model.safetensors.index.json shard map (27,781,427,952 parameters)
config.json Qwen3_5ForConditionalGeneration, 64 layers, 262,144 max positions
generation_config.json generation defaults
chat_template.jinja Qwen3.8 chat template (thinking on by default, no persona injected)
tokenizer.json ยท tokenizer_config.json tokenizer, 248,320 vocab
processor_config.json image / video preprocessing
demos/ the screenshots shown above
LICENSE Apache-2.0

๐Ÿ“œ License & attribution

Apache-2.0, inherited from Qwen/Qwen3.8-27B. Qwen is a trademark of its respective owner; this is an unofficial community tune and is not affiliated with or endorsed by the Qwen team.

Related repos

Repo What it is
wesjos/Qwen3.8-27B-GrumpyGuy this repo โ€” the persona as full merged BF16 weights
wesjos/Qwen3.8-27B-GrumpyGuy-LoRA the same weights as a PEFT adapter (42 MB)
wesjos/Qwen3.8-27B-GrumpyGuy-LoRA-GGUF the same weights as a runtime GGUF for llama.cpp
Downloads last month
31
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 wesjos/Qwen3.8-27B-GrumpyGuy

Base model

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

Collection including wesjos/Qwen3.8-27B-GrumpyGuy