Downloads · 30 days
65
73% of all-time downloads
br1-pist/Qwen3.8-27B-AgentCoder-MLX-4bit
Qwen3.8-27B-AgentCoder-MLX-4bit is a image-text-to-text model from br1-pist. Use it for the image-text-to-text task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
- Author: Bruno Pistone - Repository: br1-pist/Qwen3.8-27B-AgentCoder-MLX-4bit - License: Apache 2.0 - Base model: br1-pist/Qwen3.8-27B-AgentCoder
Downloads · 30 days
65
73% of all-time downloads
All-time downloads
89
Public
Parameters
4.7B
16.1 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors16.1 GB · 100%
How the weights are stored.
U323.4B · 72%
From the Hugging Face model README
Qwen3.8-27B-AgentCoder-MLX-4bit is a Quantized version with MLX (Apple Silicon) of the fine-tuned version of the Qwen/Qwen3.8-27B model, optimized for:
The model was developed through sequential fine-tuning, followed by a Direct Preference Optimization (DPO) post-training stage to improve alignment, coherence, and reasoning accuracy.
Qwen3.8-27B-AgentCoder-MLX-4bit can be used directly for:
After sequential fine-tuning and preference alignment, the model underwent a GRPO phase in which an LLM judge — not a static preference dataset — supplied the reward signal. For each prompt the policy samples a group of completions, the judge scores each one against a rubric, and the advantage is computed relative to the group mean, so no value network is required.
Reward model (RLAIF)
moonshotai/Kimi-K3 via the Amazon Bedrock Converse APIGRPO parameters
80.04dapogroup (unit variance within each group)1.0640 tokens, truncated completions masked out of the lossTraining parameters
1e-5, cosine schedule with a 10% floor462 × 16 GPUs × gradient accumulation 4 = 128 completions (16 prompts) per step1 → 230 optimiser steps0.516, alpha 32, dropout 0.1, applied to both the full-attention (q/k/v/o_proj) and linear-attention (in_proj_qkv, in_proj_z, out_proj) projectionsml.p5.48xlarge (16 × H100), 21h47m wall clockObjective
Outcome
Hardware
Software
bitsandbytes, safetensors, torch, trl, scikit-learn, tokenizers, psutil, py7zrBibTeX
@article{qwen3.5-4b-thinking-2507-toolcode,
title={Qwen3.8-27B-AgentCoder-MLX-4bit: A Quantized version for Apple Silicon of the Fine-Tuned Model for Enhanced Tool Calling, Code Generation, and Reasoning},
author={Bruno Pistone},
year={2025},
journal={Hugging Face Model Hub}
}
APA
Bruno Pistone. (2026). Qwen3.8-27B-AgentCoder-MLX-4bit: A Quantized version for Apple Silicon of the Fine-Tuned Model for Enhanced Tool Calling, Code Generation, and Reasoning. Hugging Face Model Hub. https://huggingface.co/br1-pist/Qwen3.8-27B-AgentCoder-MLX-4bit