Hy4-Flash Heretic for Strata (SQ-64, SQ-128)

Strata's .strata builds of Tencent Hy4-Flash with the refusal edit from trohrbaugh/Hy4-flash-heretic written in.

Uncensored. This model answers requests that Hy4-Flash refuses. You are responsible for how it is used and what it writes. Not an official release of Tencent, Strata or the Heretic authors.

Files

File Size SHA-256
Hy4-Flash-SQ-64-heretic.strata 62.03 GB 3830cca9bff7cd631f37b43c6ce90b821a3d5578ef1814502d13cf273f457806
Hy4-Flash-SQ-128-heretic.strata 113.65 GB 293f24d5fadfb5c39d0f09d289435b720fab1efc893c0237603938fd9bed3835

Also needed, unchanged, from the Strata repo: Hy4-Flash-Engram-Q8.strata and Hy4-Flash-Vision.strata.

What changed

Modified copies of Strata's Hy4-Flash-SQ-64.strata and Hy4-Flash-SQ-128.strata. 102 tensors in layers 8–41 were replaced with the Heretic values from trohrbaugh/Hy4-flash-heretic-FP8. Everything else is untouched.

  • 34 Γ— self_attn.o_proj.weight: decoded from FP8 E4M3 with 128Γ—128 block scales, then re-encoded in the code the pack already uses for this tensor: S5_K in SQ-64, S8_K in SQ-128.
  • 68 Γ— shared_experts.down_proj.weight and routed_expert_up_proj.weight: written as old value + (Heretic βˆ’ tencent/Hy4-flash), both BF16 in the two repos, re-encoded as S8_K. The delta keeps the MACaQ-R residual compensation that Strata's packing pipeline folds into these two tensors.

All 102 sit in Section 1 (trunk) and were rewritten in place, with the section's SHA-256 recomputed. Section 4 (routed experts) and the H64-folded routed_expert_down_proj were not touched.

Tested

  • Prompts: the first 100 of the test split of mlabonne/harmful_behaviors. Greedy, 100 tokens, thinking off.

  • Judge: VINAY-UMRETHE/Refusal-Classifier-v2.

  • Keyword hit: Heretic's 34 hard-refusal keywords.

  • SQ-64 results:

    SQ-64 build Full refusal Partial refusal Compliant Keyword hit
    Strata, unpatched 73 26 1 99
    This repo 1 41 58 39
  • SQ-128: not run. Only the file checks were done.

  • No capability benchmark on either pack.

Run

strata launch --family hy4-flash --model SQ-64 --model-path /path/to/Hy4-Flash-SQ-64-heretic.strata

This line was checked with --plan only; the tests above started the engine directly.

License

Tencent Hy License 1.0, same as tencent/Hy4-flash. LICENSE is included unchanged.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for narzh49/Hy4-Flash-Heretic-Strata

Quantized
(1)
this model