Views
No views yet
Akicou/ream — a REAM/REAP-style Mixture-of-Experts compression framework.S[i] = mean(||h_i(x)|| × p_i(x)) over tokens routed to expert i.| 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) | — | — |
1python examples/compress_sequential.py \
2 --model tencent/Hy3 \
3 --output ./hy3-ream-100B \
4 --target-ratio 0.333 \
5 --samples 100 \
6 --max-seq-len 512 \
7 --batch-size 4 \
8 --max-tokens 2048 \
9 --cpu-merge \
10 --fast-merge \
11 --seed 42trust_remote_code=True (same as the base Hy3).e_score_correction_bias per layer is correctly shrunk alongside router weights.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.
1import torch
2from transformers import AutoModelForCausalLM, AutoTokenizer
3
4model_id = "Akicou/Hy3-REAM-100B"
5
6tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
7model = AutoModelForCausalLM.from_pretrained(
8 model_id,
9 torch_dtype=torch.bfloat16,
10 device_map="auto",
11 trust_remote_code=True,
12)
13
14prompt = "Explain the concept of reinforcement learning."
15inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
16
17with torch.no_grad():
18 output = model.generate(**inputs, max_new_tokens=256, do_sample=False)
19
20print(tokenizer.decode(output[0], skip_special_tokens=True))1@article{jha2026ream,
2 title={REAM: Merging Improves Pruning of Experts in LLMs},
3 author={Jha, Saurav and Hashemzadeh, Maryam and Pasand, Ali Saheb and Parviz, Ali and Lee, Min-Joong and Knyazev, Boris},
4 journal={arXiv preprint arXiv:2604.04356},
5 year={2026}
6}
7
8@misc{hy3,
9 title={Hy3},
10 author={Tencent},
11 year={2025},
12 url={https://huggingface.co/tencent/Hy3}
13}