Mini-Deepseek v4 Flash
is a custom 12.4B-parameter hybrid Mixture-of-Experts language model for coding, software engineering, and technical reasoning. It combines a Qwen3-4B host with coding-specialized experts extracted from DeepSeek V4 Flash and connected through learned representation bridges and per-layer routers.
The model is designed for practical coding assistance: code generation, debugging, refactoring, architecture discussions, algorithm implementation, web development, and technical explanation. It supports long-context Transformers inference and has been tested with a native KV-cache path, vLLM's Transformers backend, bitsandbytes quantization, and an MLX adapter.
Important:
This is research software with custom remote model code. Review
fuse2_model.py
before enabling
trust_remote_code=True
in an untrusted environment.
What is the model?
Mini-Deepseek v4 Flash is a structural fusion model rather than a conventional dense fine-tune or a pure distillation student.
Routing:
per-layer sqrt-softplus router with top-k expert selection.
Bridges:
learned 2560 -> 4096 and 4096 -> 2560 projections.
Repair path:
low-rank residual repair projection.
Stored size:
approximately 12.4B parameters for the assembled BF16 checkpoint.
Active compute:
approximately 5-6B parameters per token, depending on routing.
Context:
40,960 positions in the source configuration; deployment profiles may select a lower operational limit for memory and latency.
The host and extracted experts remain separate architectural components inside each augmented layer. Coding experts are selected per token; the dense host remains the general-language backbone.
Use
enable_thinking=False
for direct code artifacts. The model's custom forward path now preserves
past_key_values
and uses the native Transformers cache object.
Quantized variants
The repository contains validated variants under
quantized/
:
Variant
Format
Intended runtime
Status
fuse2-4bit-bnb
bitsandbytes NF4
Transformers + CUDA
Reload and generation validated on A100
fuse2-4bit-fp4-bnb
bitsandbytes FP4
Transformers + CUDA
Reload and generation validated on A100
fuse2-8bit-bnb
bitsandbytes INT8
Transformers + CUDA
Reload and generation validated on A100
fuse2-fp8-e4m3fn
FP8 E4M3FN weight-only
Custom Transformers runtime
Reload and generation validated on A100
The quantized variants retain the Fuse-2 expert scaling and SwiGLU stability safeguards. They are not interchangeable with standard Qwen or Llama checkpoints.
vLLM support
The BF16 assembled checkpoint is compatible with vLLM's Transformers modeling backend:
The vLLM integration uses a proper
Fuse2Model
decoder mapping, native vLLM KV-cache allocation, and custom-layer compatibility aliases. The bitsandbytes 8-bit artifact is intended for the Transformers runtime; direct vLLM loading of that artifact is not claimed as validated.
MLX support
microscope/fuse2_mlx.py
provides the MLX model adapter and
microscope/fuse2_mlx_loader.py
provides the loader shim. The adapter includes per-layer expert routing and MLX KV-cache support. Cache parity was validated on a compact Fuse-2 test model. A full 12.4B Apple Silicon conversion should be benchmarked on the target Mac before production use.
Architecture and provenance
DeepSeek V4 Flash supplies the source coding experts. Qwen3-4B supplies the host representation, tokenizer-facing path, attention stack, and general-language behavior. Expert selection used activation profiling and causal ablation rather than activation frequency alone. The extraction artifacts and expert manifests are included in the release tree.
See
TECHNICAL_REPORT.md
for the complete architecture, compatibility, quantization, validation, and limitations report.
Limitations
This is a research fusion architecture, not a standard dense Qwen checkpoint.
The expert path adds substantial per-token work even when only a small top-k subset is selected.
KV caching is now supported, but the custom expert computation remains more expensive than a native fused MoE kernel.
vLLM support is through its Transformers backend rather than a dedicated native vLLM model implementation.
MLX support is an adapter and requires full-device validation for the assembled checkpoint.
GGUF and llama.cpp support are not included in this release.
No new benchmark score is claimed here beyond the compatibility and reload tests documented in
TECHNICAL_REPORT.md
.
License
The fusion code and released derivative artifacts are published under the MIT license, subject to the licenses of the source models listed in the provenance section.
Runs of Akahsizrr mini-deepseek-v4-flash on huggingface.co
1
Total runs
0
24-hour runs
-14
3-day runs
-34
7-day runs
-33
30-day runs
More Information About mini-deepseek-v4-flash huggingface.co Model
mini-deepseek-v4-flash huggingface.co is an AI model on huggingface.co that provides mini-deepseek-v4-flash's model effect (), which can be used instantly with this Akahsizrr mini-deepseek-v4-flash model. huggingface.co supports a free trial of the mini-deepseek-v4-flash model, and also provides paid use of the mini-deepseek-v4-flash. Support call mini-deepseek-v4-flash model through api, including Node.js, Python, http.
mini-deepseek-v4-flash huggingface.co is an online trial and call api platform, which integrates mini-deepseek-v4-flash's modeling effects, including api services, and provides a free online trial of mini-deepseek-v4-flash, you can try mini-deepseek-v4-flash online for free by clicking the link below.
Akahsizrr mini-deepseek-v4-flash online free url in huggingface.co:
mini-deepseek-v4-flash is an open source model from GitHub that offers a free installation service, and any user can find mini-deepseek-v4-flash on GitHub to install. At the same time, huggingface.co provides the effect of mini-deepseek-v4-flash install, users can directly use mini-deepseek-v4-flash installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
mini-deepseek-v4-flash install url in huggingface.co: