language:
- en
- zh
- es
- fr
- ja
- ko
- ru
license: other
license_name: dealignai-community-model-license-v0.3
license_link: https://huggingface.co/dealign/Hy4-UNCENSORED-JANGHT2.4/blob/main/LICENSE
base_model: lyber-ai/Hy4-UNCENSORED-MXFP4
base_model_relation: quantized
library_name: mlx
pipeline_tag: text-generation
thumbnail: dealign_mascot.png
extra_gated_prompt: |
By requesting access you confirm you are 18+, will use the model solely in
compliance with applicable law in your jurisdiction, and accept full responsibility
for all outputs. Access is granted at the sole discretion of the repository owner.
extra_gated_fields:
Name: text
Affiliation / organization: text
Country: country
Primary use case: text
I confirm I am 18 or older: checkbox
I accept full responsibility for outputs: checkbox
extra_gated_heading: "Request access — manual approval required"
extra_gated_description: "This model is reviewed manually. Fill in the fields below."
extra_gated_button_content: "Request access"
tags: - tencent
- hunyuan
- hy4
- janght
- mlx
- apple-silicon
- vmlx
- speculative-decoding
- uncensored
- reasoning
- tool-calling
- moe

JANGHT conversion and release by Andrew (@hornsan1 on Hugging Face, @hornsby_andrew on X).
Based on the MXFP4 release from Lyber AI and dealign.ai
[!NOTE]
Suggested attribution
HY4 JANGHT2.4 by Andrew (@hornsan1 on Hugging Face, @hornsby_andrew on X), based on Lyber AI and DealignAI’s HY4 MXFP4 release.
[!IMPORTANT]
230.42 GB for text generation on Apple Silicon. This JANGHT conversion includes the text decoder, native chat template, tool calling and five-layer Dragonfly-2 drafter. On a 512 GiB M5 Ultra it sustained 32.77 tokens/s pooled decode, with a 30.33 tokens/s minimum across nine single-stream requests. These measurements use temperature zero.
Hy4-UNCENSORED-JANGHT2.4
230.42 GB · vMLX on Apple Silicon · DFly2 speculative decoding
What this is
This is the vMLX text conversion of Lyber AI and dealign.ai’s MXFP4 release of Tencent Hy4. It packages the 78-layer target and its drafter as MLX-compatible safetensors. Parent model card
| Parent MXFP4 | JANGHT2.4 | |
|---|---|---|
| Release size | ~437 GB | 230.42 GB |
| Routed experts | MXFP4 | Mixed low-bit JANGT and JANGH |
| Attention | Parent release precision | Calibrated 4-bit gates and output projections in layers 4–73, with 8-bit query and KV rows in those layers |
| Inputs | Text and images | Text |
| Tested runtime | vLLM on 8× B300 | vMLX on Apple M5 Ultra |
The JANGHT2.4 name reflects 2.358 bits per weight for the main text model, rounded to one decimal. The 78 target shards store 226,913,002,868 bytes of tensors for 769,907,408,797 source parameters. The 230.42 GB download also includes the DFly2 drafter and its vocabulary projection.
During greedy drafting, vMLX caches the token contribution to hidden correction and scores a vocabulary shortlist. The target verifies the proposals. The downloaded files include the drafter and its vocabulary projection.
Internal benchmarks
Capability — MMLU (570-question balanced subset)
Both checkpoints ran on the same M5 Ultra, using the same 570 questions, tokenized prompts, chat template and no_think setting. Each answer was the highest-probability next token among A, B, C and D. Every question received a score.
| Matched run | Correct | Accuracy |
|---|---|---|
| MXFP4 parent, local text port | 513/570 | 90.00% |
| JANGHT2.4 | 490/570 | 85.96% |
JANGHT scored -4.04 percentage points relative to the parent. JANGHT alone answered 8 questions correctly, and the parent alone answered 31 correctly. The parent text port retains the MXFP4 experts and expands dense FP8 weights to BF16. Question IDs, predictions and scoring protocol
The parent authors separately report 89.12% in no_think and 93.51% in high. Their published card omits the item IDs. A matched high run is still outstanding. Parent card
The earlier local evaluation parsed generated answers. Under that method this release scored 485/570 (85.09%), with 14 unparsed answers. The preceding JANGHT build scored 484/570 (84.91%), with 10 unparsed answers. Earlier local evaluation
HarmBench-320 — direct compliance
| Evaluation set | MXFP4 parent | JANGHT2.4 (this release) |
|---|---|---|
| All 320 behaviors | 240/320 (75.0%) | No verified result |
| Non-copyright subset | 237/240 (98.8%) | No verified result |
| Copyright subset | 3/80 (3.8%) | No verified result |
The parent reports the share of responses graded as direct compliance, using high reasoning. A release-to-parent difference requires a scored JANGHT run under the same protocol. Parent HarmBench results and grading
Long-context & tool-calling stability
| Test on this release | Result |
|---|---|
| Uncached prompt processing | Measured through 18,230 input tokens |
| Prefix-cache reuse | 1,624 tokens reused |
| Tool calling | Streaming and non-streaming requests returned the expected function and city argument |
| Reasoning modes | Direct-mode tool calls and a visible answer in high-reasoning mode passed |
| Generated code | Five Python interval tests passed and the SQLite aggregation returned the expected rows |
The parent card also reports 128K–512K tool-prompt tests on Blackwell. The longest measured Apple Silicon prefill for this release was 18,230 tokens. Parent long-context evaluation
Throughput and KV cache (M5 Ultra, DFly2 on)
Nine single-stream requests covered six prompts, with three repeated in a second order. Each generated 512 tokens, with batching and prefix caching disabled. Decode timing counts the 511 tokens after the prefill token.
| Metric | Pooled | Slowest request |
|---|---|---|
| Decode | 32.77 tok/s | 30.33 tok/s |
| End to end | 32.20 tok/s | 29.87 tok/s |
| Uncached prompt | Prefill | Peak MLX memory |
|---|---|---|
| 2,048 tokens | 793 tok/s | 220.20 GiB |
| 4,622 tokens | 631 tok/s | 220.02 GiB |
| 18,230 tokens | 455 tok/s | 223.33 GiB |
Peak MLX memory includes the model, cache and working buffers. Benchmark details
How to serve
vMLX on Apple Silicon
The qualification machine had an M5 Ultra and 512 GiB of unified memory. From the downloaded repository directory, run the bundled launcher with the Python interpreter from the compatible vMLX app. The tested app was 1.6.87 with the HY4 support in upstream PR 409. The explicit Python invocation also works when a Hub download strips the executable bit. HY4 runtime dependency
/Applications/vMLX.app/Contents/Resources/bundled-python/python/bin/python3 ./vmlx-engine serve "$PWD" \
--text-only --host 127.0.0.1 --port 8000 --served-model-name hy4-janght \
--no-continuous-batching --prefill-step-size 2048 --prefill-keep-alloc \
--enable-auto-tool-choice --tool-call-parser lyber_hy4 --reasoning-parser lyber_hy4
With the native JANGHT runtime from PR 410, use the installed engine CLI directly. Its fast block-verification mode was tested on this checkpoint. Native vMLX support
VMLX_DSPARK_VERIFY=fast vmlx-engine serve "$PWD" --text-only --host 127.0.0.1 --port 8000 \
--served-model-name hy4-janght --no-continuous-batching \
--enable-auto-tool-choice --tool-call-parser lyber_hy4 --reasoning-parser lyber_hy4
Hardware requirements
| Hardware tested | Configuration |
|---|---|
| Apple M5 Ultra, 512 GiB unified memory | Text-only vMLX with DFly2 and one active request |
Reasoning + tools
Send chat requests to /v1/chat/completions with the served model name hy4-janght. Use no_think for a direct answer or high for extended reasoning. Allow a larger output budget for high. The serving commands enable the HY4 reasoning and tool parsers.
chat_template_kwargs = {"reasoning_effort": "high"} # or "no_think"
Responsible use
You are solely responsible for how you use this model and its outputs.
- Do not use for generating illegal content in your jurisdiction
- Do not use to harm, deceive, or exploit real individuals
- Do not use to generate CSAM or non-consensual intimate content
- Comply with all applicable laws and regulations
License
Andrew releases the original JANGHT conversion contributions under the DealignAI Community Model License v0.3 terms. Personal and internal business use are permitted under those terms. Providing hosted inference to third parties requires separate written permission. Tencent’s Hy License, Version 1.0 continues to govern the upstream materials. JANGHT release license · Tencent upstream license · Modification notice
The runtime includes components from vMLX, mlx-lm and mlx-vlm under their respective licenses. vMLX license · mlx-lm license · mlx-vlm license
Credits
Thank you to Lyber.ai for contributing equipment to this project. And to Eric at Dealign.ai, thank you for everything you’ve taught me and for your friendship.
- Base model · Tencent Hy4
- FP8 release · Lyber AI Hy4-UNCENSORED-FP8
- Parent checkpoint · Lyber AI Hy4-UNCENSORED-MXFP4, pinned revision
- Parent release by · Lyber AI × dealign.ai
Verify the target shards, drafter and vocabulary projection from the download directory with shasum -a 256 -c SHA256SUMS.