FreeAI v1.7 — GPTQ Int4
Internal build. Quantized 4-bit (GPTQ) checkpoint of FreeAI v1.7, a Qwen3.6-MoE multimodal model with a Multi-Token-Prediction (MTP) head for speculative decoding.
Architecture
- Base:
Qwen3_5MoeForConditionalGeneration(model_type: qwen3_5_moe), multimodal (vision + video inputs). - Text backbone: 40 layers, hidden size 2048, GQA (16 attention heads / 2 KV heads).
- MoE: 256 experts, 8 active per token, expert intermediate size 512 (A3B-class active params).
- Context: up to 262 144 tokens (256k). Vocab 248 320.
- MTP: 1 Multi-Token-Prediction head, kept in original precision (see below).
Quantization
- Method: GPTQ, 4-bit, group_size 128,
desc_act: false, produced withgptqmodel7.12.0. - MTP excluded from quantization (
dynamic: {"-:.*mtp.*": {}}) — the MTP tensors stay unquantized so speculative decoding keeps its accept-rate. - 6 safetensors shards (~20 GB on disk).
Serving (vLLM)
GPTQ Int4 runs via Marlin kernels (needs Ampere or newer, compute capability >= 8.0). Example launch with MTP speculative decoding and the full context window:
vllm serve semalt/FreeAI-v1.7-GPTQ-Int4 \
--served-model-name freeai \
--max-model-len 262144 \
--enable-prefix-caching \
--speculative-config '{"method":"qwen3_5_mtp","num_speculative_tokens":2}'
Tune --max-model-len, --max-num-seqs and --gpu-memory-utilization to the GPU. Drop --speculative-config to serve without MTP (plain decode).
Sampling defaults
temperature 1.0, top_p 0.95, top_k 20; EOS token ids [248046, 248044].
Notes
Private weights for internal use. Includes chat template, tokenizer and vision/video preprocessor configs.