Downloads · 30 days
65
12% of all-time downloads
Akicou/Hy3-REAM-100B
Hy3-REAM-100B is a text generation model from Akicou. Use it when you need the model to write or continue text. It is set up for transformers.
This repository contains a REAM-compressed version of Tencent Hy3, produced with Akicou/ream — a REAM/REAP-style Mixture-of-Experts compression framework.
Downloads · 30 days
65
12% of all-time downloads
All-time downloads
551
Public
Parameters
104B
211 GB on disk
Likes
4
Public
Click a slice to open those files.
.safetensors211 GB · 100%
How the weights are stored.
BF16105B · 100%
From the Hugging Face model README
This repository contains a REAM-compressed version of Tencent Hy3, produced with Akicou/ream — a REAM/REAP-style Mixture-of-Experts compression framework.
It is not an official Tencent release.
REAM (Router Expert Activation Merging) — originally proposed by SamsungSAILMontreal/ream (Jha et al., 2026) — is a compression technique for MoE models that combines expert merging with pseudo-pruning:
S[i] = mean(||h_i(x)|| × p_i(x)) over tokens routed to expert i.This implementation follows the original REAM paper closely, including:
| Metric | Original (Hy3) | REAM-100B | Change |
|---|---|---|---|
| Total Parameters | ~300B | ~100B | -67% |
| Routed Experts/Layer | 192 | 64 | -128 |
| MoE Layers | 79 | 79 | — |
| Calibration | 100 samples, hardcoded prompts | — | — |
| Merge Method | Saliency-weighted avg + Hungarian | — | — |
| Grouping | REAM pseudo-group (group_size=16) | — | — |
python examples/compress_sequential.py \
--model tencent/Hy3 \
--output ./hy3-ream-100B \
--target-ratio 0.333 \
--samples 100 \
--max-seq-len 512 \
--batch-size 4 \
--max-tokens 2048 \
--cpu-merge \
--fast-merge \
--seed 42
Hardware: 6× NVIDIA H200 (141GB each), 192 vCPUs, 3TB RAM
trust_remote_code=True (same as the base Hy3).e_score_correction_bias per layer is correctly shrunk alongside router weights.The following generation confirms the model produces coherent output and can handle reasoning tasks post-compression.
User: What is the Heyting Algebra thingamajig?
Model Output:
It looks like a typo/transcription issue, so the intended phrase is likely
"What is the Heisenberg algebra?"
Heisenberg algebra usually refers to the mathematical framework connected
to Heisenberg's formulation of quantum mechanics in the 1920s, rather than
a specific named "algebra" in mathematics. In physics and math contexts,
it can mean:
- Operator algebra / non-commuting algebras: In early quantum mechanics,
Heisenberg introduced matrix / operator mechanics where physical
quantities are represented by non-commuting linear operators (matrices)
instead of classical commuting quantities. This is often described as
the algebra of non-commuting operators (sometimes called Heisenberg
algebra in historical texts).
- Related to CC algebras / Lie algebras: In some advanced math/physics,
"Heisenberg" may appear in names like Heisenberg Lie algebra,
Heisenberg-type algebras in symmetry/group theory, referring to certain
operator algebras derived from quantum symmetries.
Note: This is a "Smoke-Test" release. The model is functional but has not been benchmarked. The above response shows the model attempts reasoning but may hallucinate (confusing "Heyting" with "Heisenberg") — typical of compressed models without fine-tuning.
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "Akicou/Hy3-REAM-100B"
tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype=torch.bfloat16,
device_map="auto",
trust_remote_code=True,
)
prompt = "Explain the concept of reinforcement learning."
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
with torch.no_grad():
output = model.generate(**inputs, max_new_tokens=256, do_sample=False)
print(tokenizer.decode(output[0], skip_special_tokens=True))
@article{jha2026ream,
title={REAM: Merging Improves Pruning of Experts in LLMs},
author={Jha, Saurav and Hashemzadeh, Maryam and Pasand, Ali Saheb and Parviz, Ali and Lee, Min-Joong and Knyazev, Boris},
journal={arXiv preprint arXiv:2604.04356},
year={2026}
}
@misc{hy3,
title={Hy3},
author={Tencent},
year={2025},
url={https://huggingface.co/tencent/Hy3}
}
All architecture, tokenizer, and original weights are from tencent/Hy3. This repository contains a REAM-compressed derivative checkpoint.