How to use from
Docker Model Runner
docker model run hf.co/Jaidchen/Focus-Red-Int4
Quick Links

Focus-Red-Int4

4-bit quantization of Focus-Red, itself a text-only repackaging of Qwen 3.8 27B.

  • W4A16, group size 32, asymmetric weights
  • compressed-tensors / pack-quantized format
  • selected linear-attention projections and lm_head remain BF16
  • single model.safetensors file

comparison

Qwen 3.8 27B Focus-Red-Int4
author Alibaba Qwen Jaid
repository Qwen/Qwen3.8-27B Jaidchen/Focus-Red-Int4
architecture qwen3_5 qwen3_5_text
Transformers handler Qwen3_5ForConditionalGeneration Qwen3_5ForCausalLM
tensor entries 1199 2051
tensor type bf16 W4A16 G32 asymmetric + selected BF16
parameters 27 781 427 952 26 895 998 464
active 100% 100%
vocabulary size 248 320 248 320
context size 262 144 262 144
MTP integrated detached → Focus-Red-MTP
sampling strategy random sampling greedy/deterministic
sampling parameters
do_sample: true
temperature: 1.0
top_k: 20
top_p: 0.95
do_sample: false
temperature: 0
top_k: 1
top_p: 1
input modality text, image, video text
model size 55 562 855 904 19 202 352 336 bytes on disk
splits 18 none
Jinja template Qwen original focus-chat-template dist build

quantization

  • method: compressed-tensors
  • format: pack-quantized
  • weights: 4-bit integer, group size 32, asymmetric
  • activations: unquantized / BF16
  • quantization status: compressed
  • model file: 19,202,352,336 bytes

pros

  • reduced storage needs
  • reduced loading time
  • reduced VRAM occupancy, thus more room for context
  • increased inference speed
  • simplified architecture, unlocking some further potential for optimizing low-level procedures

cons

  • legally blind
    • Pictures and video frames can still be present in the context without crashing, but their contents are no longer interpreted by the model and won’t do anything else than waste space.
    • If you occasionally rely on those capabilities, I suggest adding a consult tool to your harness that calls a vision-enabled subagent model like Gemini Flash or GPT.
  • reduced compatibility
    • The simplified architecture is handled by the Qwen3_5ForCausalLM class which may not be included in your inference engine. In this case you would need to ask your agent or integrate it yourself.
      • Inference engines confirmed to have native support:
    • The applied coercions may confuse your inference engine in case it has fixed expectations about the model’s architecture and thus lead to unpredictable behavior.

caveats

  • model file not split, possibly causing issues if intended to be stored on an HDD from the previous century
  • random sampling disabled by default, less suitable for long-form writing, entertainment and casual chat

Jinja template

This build uses dist/chat_template.jinja from jaidlab/focus-chat-template. The template is reproducibly built from Qwen/Qwen3.8-27B's pinned upstream template at commit 1d4bf0f2ff6012fd82039f2fa52739d0dd7c60c0 plus the repository's ordered patch stack.

  • template SHA-256: 5c381ca45e9538c7a2406331b554ee7d62cf3d0b8c115f17687d4fdd5590a239
  • template size: 9,710 bytes

license

Apache 2.0 – inherited from Qwen 3.8 27B

Downloads last month
142
Safetensors
Model size
27B params
Tensor type
BF16
·
I32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Jaidchen/Focus-Red-Int4

Base model

Qwen/Qwen3.8-27B
Quantized
(1)
this model