ur-dad-matt commited on
Commit
094e22a
Β·
verified Β·
1 Parent(s): bb9aecb

docs(hf): standardize Outlier-150B-V3.2 discoverability metadata + model card

Browse files
Files changed (1) hide show
  1. README.md +118 -68
README.md CHANGED
@@ -5,101 +5,151 @@ license: apache-2.0
5
  library_name: transformers
6
  pipeline_tag: text-generation
7
  base_model: Qwen/Qwen2.5-72B-Instruct
 
8
  tags:
9
- - ternary-quantized
 
 
 
10
  - mixture-of-experts
11
  - moe
 
 
12
  - 1.58-bit
13
- - efficient-inference
14
- - consumer-hardware
 
15
  - qwen2.5
16
- - ternary
17
- - bitnet-alternative
18
- - low-memory
19
- - text-generation
 
 
20
  - rexmoe
21
- - cross-layer-expert-sharing
22
- - flagship
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
23
  ---
24
-
25
  # Outlier-150B-V3.2
26
 
27
- > **Status: production. MMLU re-verified Day 13 at 84.46%. Flagship Outlier release.**
 
 
 
 
 
 
 
 
 
 
 
 
28
 
29
- The largest Outlier model. Built on `Qwen/Qwen2.5-72B-Instruct` with the **ReXMoE** architecture β€” cross-layer expert sharing, where experts are shared across groups of layers via PSR (per-scale-residual) variants. 88 unique experts shared via 44 routers across 11 groups Γ— 4 PSR variants.
 
 
 
 
30
 
31
- ## Model summary
 
 
 
 
 
 
32
 
33
- | Field | Value |
34
- |---|---|
35
- | Base model | `Qwen/Qwen2.5-72B-Instruct` |
36
- | Architecture | Outlier ReXMoE (cross-layer expert sharing) |
37
- | Parameters | ~150B effective |
38
- | Context length | 32,768 tokens |
39
- | MoE layers | (see config.json) |
40
- | Unique experts | 88 (shared across 44 routers) |
41
- | Expert groups | 11 |
42
- | PSR variants | 4 |
43
- | Expert quantization | Ternary (int8 + per-row fp16 scale) |
44
- | **MMLU (full sample, day13)** | **84.46% Β± 0.29%** |
45
 
46
- ## Provenance
 
 
47
 
48
- | Metric | Value |
49
- |---|---|
50
- | MMLU | **84.46% Β± 0.29%** |
51
- | Sample size (n) | 14,042 |
52
- | Stderr | Β±0.0029 |
53
- | Harness | `lm_eval` 0.4.9.1 |
54
- | Date measured | 2026-04-14 (Day 13 cluster sprint) |
55
- | Hardware | 2Γ— NVIDIA B200 SXM6 |
56
- | Source file | `phase8_upgraded_150b_full.json` |
57
- | Source SHA256 | `5db066e5574e6bc1e3f1dec452098aa6d1be44333e7ea32f9561288babb3b228` |
58
 
59
- Full provenance in `OUTLIER_GROUND_TRUTH_v10.md` Β§2.4.
 
 
60
 
61
- ### Day 12 β†’ Day 13 measurement drift (documented, unresolved)
 
 
 
 
62
 
63
- | Day | Harness | MMLU |
64
- |-----|---------|------|
65
- | Day 12 | `lm_eval` 0.4.11 | 83.16% Β± 0.31% |
66
- | Day 13 | `lm_eval` 0.4.9.1 | **84.46% Β± 0.29%** |
67
- | Drift | β€” | **+1.30pp** |
68
 
69
- Day 13 is accepted as canonical. The 1.30pp drift between harness versions has not been root-caused β€” it could be an `lm_eval` version difference (known small differences in MMLU prompt formatting across versions), a transformers point-release difference, or a Day 12 measurement artifact. We did not rerun Day 12's exact pipeline to pin down the cause. See v10 Β§2.4 for the methodology notes.
70
 
71
- ## V3.3 status
72
 
73
- A 150B alpha-fix overlay has **not yet been trained**. The recipe that worked for 70B (280 trained alpha scalars, ~30 minutes of cloud compute) is expected to transfer. **Future sprint.** Until then, the production 150B is V3.2 with the day13 number above.
 
 
 
 
 
 
74
 
75
- A 128K-context variant (150B + YaRN 4Γ—) is **pending separate release** β€” the YaRN config patch is verified safe on 70B; the same patch should work on 150B identically but has not been published as a separate repo yet.
76
 
77
- ## Usage
78
 
79
- ```python
80
- from transformers import AutoModelForCausalLM, AutoTokenizer
81
 
82
- tokenizer = AutoTokenizer.from_pretrained("Outlier-Ai/Outlier-150B-V3.2", trust_remote_code=True)
83
- model = AutoModelForCausalLM.from_pretrained(
84
- "Outlier-Ai/Outlier-150B-V3.2",
85
- trust_remote_code=True,
86
- torch_dtype="bfloat16",
87
- device_map="auto", # 150B requires multi-GPU; ~280 GB bf16
88
- )
89
 
90
- inputs = tokenizer("The capital of France is", return_tensors="pt").to(model.device)
91
- out = model.generate(**inputs, max_new_tokens=20, do_sample=False)
92
- print(tokenizer.decode(out[0]))
93
- ```
 
 
94
 
95
- **Hardware notes:** 150B at bf16 needs ~280 GB of VRAM. We've successfully run it on 2Γ— NVIDIA B200 (180 GB each, 360 GB total). Single-GPU bf16 inference is not currently feasible without further quantization.
 
 
 
 
 
 
96
 
97
- ## Limitations
98
 
99
- - Secondary benchmarks (HellaSwag, ARC, TruthfulQA, WinoGrande) are `[UNVERIFIED]`. Day 13 sprint was trimmed to MMLU-only due to throughput constraints.
100
- - 128K context via YaRN 4Γ— verified on 70B; not yet packaged as a separate 150B release.
101
- - V3.3 alpha-fix overlay not trained for 150B yet.
 
 
 
 
 
 
102
 
103
- ## License
104
 
105
- Apache 2.0
 
 
 
 
 
 
5
  library_name: transformers
6
  pipeline_tag: text-generation
7
  base_model: Qwen/Qwen2.5-72B-Instruct
8
+ base_model_relation: adapter
9
  tags:
10
+ - text-generation
11
+ - chat
12
+ - conversational
13
+ - instruct
14
  - mixture-of-experts
15
  - moe
16
+ - ternary-moe
17
+ - ternary
18
  - 1.58-bit
19
+ - ternary-quantized
20
+ - quantized
21
+ - qwen2
22
  - qwen2.5
23
+ - safetensors
24
+ - outlier
25
+ - outlier-150b
26
+ - v3.2
27
+ - overlay
28
+ - expert-paging
29
  - rexmoe
30
+ - distillation
31
+ - efficient-inference
32
+ - research
33
+ widget:
34
+ - example_title: General knowledge
35
+ messages:
36
+ - role: user
37
+ content: Explain how mixture-of-experts models work in simple terms.
38
+ - example_title: Code
39
+ messages:
40
+ - role: user
41
+ content: Write a Python function that checks if a number is prime.
42
+ - example_title: Reasoning
43
+ messages:
44
+ - role: user
45
+ content: If it takes 5 machines 5 minutes to make 5 widgets, how long would it take 100 machines to make 100 widgets?
46
+ - example_title: Privacy-minded
47
+ messages:
48
+ - role: user
49
+ content: What are practical reasons someone might want to run an LLM locally?
50
  ---
 
51
  # Outlier-150B-V3.2
52
 
53
+ Ternary mixture-of-experts overlay on Qwen/Qwen2.5-72B-Instruct. 210B total effective parameters, 150B active per forward pass.
54
+
55
+ ## TL;DR
56
+
57
+ - **Architecture:** Outlier ternary MoE overlay on frozen Qwen 2.5 72B base
58
+ - **Parameters:** 210B total, 150B active per forward (sparse routing)
59
+ - **MMLU:** ~83% β€” `[INCOMPLETE]`
60
+ - **License:** Apache 2.0
61
+
62
+ ## Quick start
63
+
64
+ ```python
65
+ from transformers import AutoModelForCausalLM, AutoTokenizer
66
 
67
+ name = "Outlier-Ai/Outlier-150B-V3.2"
68
+ tok = AutoTokenizer.from_pretrained(name)
69
+ model = AutoModelForCausalLM.from_pretrained(
70
+ name, trust_remote_code=True, torch_dtype="auto"
71
+ )
72
 
73
+ prompt = tok.apply_chat_template(
74
+ [{"role": "user", "content": "What is the capital of France?"}],
75
+ tokenize=False, add_generation_prompt=True,
76
+ )
77
+ inputs = tok(prompt, return_tensors="pt").to(model.device)
78
+ print(tok.decode(model.generate(**inputs, max_new_tokens=200)[0]))
79
+ ```
80
 
81
+ For consumer Apple Silicon inference use MLX or GGUF tiers:
 
 
 
 
 
 
 
 
 
 
 
82
 
83
+ - [Outlier-Ai/Outlier-Lite-7B-MLX-4bit](https://huggingface.co/Outlier-Ai/Outlier-Lite-7B-MLX-4bit)
84
+ - [Outlier-Ai/Outlier-Compact-14B-MLX-4bit](https://huggingface.co/Outlier-Ai/Outlier-Compact-14B-MLX-4bit)
85
+ - [Outlier-Ai/Outlier-Max-32B-GGUF](https://huggingface.co/Outlier-Ai/Outlier-Max-32B-GGUF)
86
 
87
+ ## Benchmarks
 
 
 
 
 
 
 
 
 
88
 
89
+ | Metric | Value | Provenance |
90
+ |---|---|---|
91
+ | MMLU | ~83% | `[INCOMPLETE]` β€” number exists in on-disk JSON but provenance fields (config.limit, n-samples, model_args, git_hash, lm_eval_version) are stripped. Full-sample re-run queued. |
92
 
93
+ **Rule 66 provenance labels:**
94
+ - `[VERIFIED]` β€” full source JSON with `config.limit=None`, n-samples complete, `model_args` present, reproducible from commit SHA.
95
+ - `[INCOMPLETE]` β€” number exists on disk but provenance fields are stripped; cannot be cited publicly.
96
+ - `[CLAIM]` β€” historical smoke-test value pending full re-verification on cluster.
97
+ - `[PENDING]` β€” benchmark scheduled; results expected by a specific date.
98
 
99
+ ## Notes
 
 
 
 
100
 
101
+ ReXMoE architecture. Cluster-scale β€” not intended for consumer hardware.
102
 
103
+ ## Architecture
104
 
105
+ - **Base backbone:** Qwen/Qwen2.5-72B-Instruct (frozen during distillation)
106
+ - **MoE overlay:** ternary delta experts ({-1, 0, +1} + per-row fp16 scale) with top-K routing
107
+ - **Expert layers:** varies by variant
108
+ - **Experts per layer:** 8 routed + 1 shared
109
+ - **Top-k routing:** 2
110
+ - **Context:** inherits Qwen 2.5's 32,768 tokens
111
+ - **Expert paging:** three-tier memory (SRAM / DRAM / NVMe) on 70B+
112
 
113
+ Ternary-weight arithmetic ({-1, 0, +1}) reduces a matmul to a stream of additions and subtractions β€” no multiplications β€” enabling consumer hardware to run flagship-scale models at usable speeds.
114
 
115
+ ## Patents filed
116
 
117
+ Three provisional patents filed April 2026 (61 claims total) covering ternary MoE weight composition, expert paging, and specialist merging techniques.
 
118
 
119
+ ## Known limitations
 
 
 
 
 
 
120
 
121
+ - Calibration + full-sample MMLU re-verification is queued for cluster time; numbers labeled `[CLAIM]` below are historical smoke-test values awaiting verification.
122
+ - Outlier's ternary MoE overlay is research-grade β€” use the consumer tier (Nano / Lite / Compact / Max) for production local-inference.
123
+ - Qwen 2.5 tokenizer + chat template apply; no custom tokenizer.
124
+ - English-tuned. Multilingual performance inherits the base model and is not separately optimized.
125
+
126
+ ## See also
127
 
128
+ - **V3.2 family:**
129
+ - [Outlier-10B-V3.2](https://huggingface.co/Outlier-Ai/Outlier-10B-V3.2)
130
+ - [Outlier-40B-V3.2](https://huggingface.co/Outlier-Ai/Outlier-40B-V3.2) β€” `[VERIFIED]` MMLU 77.80%
131
+ - [Outlier-70B-V3.2](https://huggingface.co/Outlier-Ai/Outlier-70B-V3.2) β€” `[VERIFIED]` MMLU 81.49%
132
+ - [Outlier-150B-V3.2](https://huggingface.co/Outlier-Ai/Outlier-150B-V3.2)
133
+ - **V3.3 preview:**
134
+ - [Outlier-70B-V3.3](https://huggingface.co/Outlier-Ai/Outlier-70B-V3.3)
135
 
136
+ ## Citation
137
 
138
+ ```bibtex
139
+ @misc{outlier2026,
140
+ author = {Kerr, Matt},
141
+ title = {Outlier: Ternary Mixture-of-Experts for Consumer Hardware},
142
+ year = {2026},
143
+ publisher = {Hugging Face},
144
+ howpublished = {\url{https://huggingface.co/Outlier-Ai}}
145
+ }
146
+ ```
147
 
148
+ ## Links
149
 
150
+ - **Website:** https://outlier.host
151
+ - **GitHub:** https://github.com/Outlier-host/Outlier
152
+ - **All models:** https://huggingface.co/Outlier-Ai
153
+ - **Consumer Edition collection:** https://huggingface.co/collections/Outlier-Ai/outlier-consumer-edition
154
+ - **Server V3.2 collection:** https://huggingface.co/collections/Outlier-Ai/outlier-server-v3-2
155
+ - **Research collection:** https://huggingface.co/collections/Outlier-Ai/outlier-research