Team Ai
Modelpublic

rubybear/FastContext-1.0-4B-SFT-mlx-8bit

sourceHugging Facemitupdated 4mo agoView on Hugging Face
0likes14downloads
Model Card

FastContext-1.0-4B-SFT-mlx-8bit

8-bit MLX quantization of microsoft/FastContext-1.0-4B-SFT for Apple Silicon.

Quantization details

  • —Method: Affine 8-bit
  • —Group size: 64
  • —Effective bits per weight: 8.5
  • —Model size: 4.0 GB (vs 7.5 GB bf16)

Benchmark results

Tested on 10 SWE-bench Multilingual instances against other quantization variants:

ModelBits/WtSizeFile F1Line F1
affine 8-bit g64 (this model)8.54.0G0.5070.140
affine 4-bit g325.02.4G0.3000.090
affine 3-bit g643.51.7G0.1000.000
affine 4-bit g644.52.1G0.0500.005
mattrobenolt 4-bit g644.52.1G0.0250.008

Highest quality quantization — best File F1 and Line F1 at the cost of larger size and slower inference.

Usage

python
from mlx_lm import load, generate

model, tokenizer = load("rubybear/FastContext-1.0-4B-SFT-mlx-8bit")

Or with fastcontext-mcp for Claude Code integration.