Downloads · 30 days
554
9% of all-time downloads
jfan/Qwen3.8-27B-heretic-dflash2
Qwen3.8-27B-heretic-dflash2 is a text generation model from jfan. Use it when you need the model to write or continue text. It is set up for mlx. The card lists the license as apache-2.0.
Qwen3.8-27B-heretic-dflash2 is a second-generation DFlash 2 speculative drafter tailored and fine-tuned for Qwen 3.8 27B Heretic models (including heretic-org/Qwen3.8-27B-heretic-ara and quantized Apple Silicon MLX va…
Downloads · 30 days
554
9% of all-time downloads
All-time downloads
6.3K
Public
Parameters
1.9B
38.5 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors3.8 GB · 100%
From the Hugging Face model README
Qwen3.8-27B-heretic-dflash2 is a second-generation DFlash 2 speculative drafter tailored and fine-tuned for Qwen 3.8 27B Heretic models (including heretic-org/Qwen3.8-27B-heretic-ara and quantized Apple Silicon MLX variants like MXFP4).
Built upon the state-of-the-art DFlash 2 speculative decoding architecture, this drafter leverages Grouped Dynamic Causal Convolutions (GroupedDynamicCausalConv), Multi-Layer Hidden Representations ($5 \times 5,120 = 25,600$ dims), and Candidate Selector Path Scoring to provide ultra-fast non-autoregressive drafting with exact target model output fidelity.
ml-2)Evaluated with mlx-vlm serving Qwen3.8-27B-heretic-ara-mxfp4 under standard temperature ($T=0.7$, max_tokens=384):
| Task / Domain | Prompt Scenario | Speculative Acceptance ($k$) | Acceptance Rate (%) | Decode Speed | Generation Time |
|---|---|---|---|---|---|
| Async Python Coding | Concurrent rate-limited web scraper with retry backoff & error handling | 2.66 tok / step | 108.8% | 13.49 tok/s | 28.46s |
| Math & Reasoning | Recursive sequence formula derivation & proof ($\sum_{n=1}^{100} \frac{1}{a_n}$) | 3.34 tok / step | 106.1% | 13.59 tok/s | 28.26s |
| Distributed Systems | Key-value store architecture with LSM compaction & Raft consensus | 2.32 tok / step | 107.9% | 11.88 tok/s | 32.31s |
| Benchmark Prompt | Base z-lab/Qwen3.8-27B-DFlash2 | Trained jfan/Qwen3.8-27B-heretic-dflash2 (Round 1) |
|---|---|---|
| Python Async Scraper | 13.46 tok/s ($k=2.92$) | 13.49 tok/s ($k=2.66$) |
| Math Recursive Proof | 14.51 tok/s ($k=3.58$) | 13.59 tok/s ($k=3.34$) |
| Distributed Architecture | 12.78 tok/s ($k=2.87$) | 11.88 tok/s ($k=2.32$) |
Note: The model is undergoing autonomous multi-round scaling (Rounds 1 → 17) to further specialize token transition probability paths on Heretic / ARA distributions.
| Checkpoint Stage | Cumulative Sequences | Training Steps | Held-Out Val Loss | 1st Token Acc | All-7 Block Acc | Status |
|---|---|---|---|---|---|---|
Pretrained Base (z-lab) | 0 | 0 | — | ~60.0% | ~23.0% | Initial Weights |
| Round 1 (Current Checkpoint) | 3,000 | 3,000 | 2.6288 | 75.9% | 33.7% | Live on HuggingFace |
| Round 2 – 4 | 12,000 | 12,000 | Training | Training | Training | In Progress |
| Round 5 – 17 | 51,000 | 51,000 | Queued | Queued | Queued | Continuous Pipeline |
GroupedDynamicCausalConv):
Two-stage causal convolutions wrapped around self-attention and feed-forward blocks to capture local phrase structures before and after attention mixing.predecessor_codebook and successor_codebook) predicting path likelihoods across graph branches.[5, 19, 33, 47, 61] ($25,600$ feature dimensions).Launch mlx_vlm.server with --draft-model and --draft-kind dflash:
python3 -m mlx_vlm.server \
--host 0.0.0.0 \
--port 8080 \
--model /path/to/Qwen3.8-27B-heretic-ara-mxfp4 \
--trust-remote-code \
--kv-bits 4 \
--kv-quant-scheme uniform \
--kv-group-size 64 \
--draft-model jfan/Qwen3.8-27B-heretic-dflash2 \
--draft-kind dflash
Once running, standard OpenAI-compatible /v1/chat/completions API calls will automatically utilize DFlash 2 speculative drafting!