worthant commited on
Commit
210c173
·
verified ·
1 Parent(s): b1f8224

forge: regenerate the model card

Browse files
Files changed (1) hide show
  1. README.md +31 -31
README.md CHANGED
@@ -1,6 +1,7 @@
1
  ---
2
  license: apache-2.0
3
  license_link: https://huggingface.co/tencent/Hy3/blob/main/LICENSE
 
4
  base_model:
5
  - tencent/Hy3
6
  base_model_relation: quantized
@@ -9,14 +10,12 @@ pipeline_tag: text-generation
9
  library_name: gguf
10
  tags:
11
  - atomic-chat
12
- - hunyuan
13
- - tencent
14
  - hy3
15
- - moe
16
  - gguf
 
17
  - imatrix
18
  - quantized
19
- - llama.cpp
20
  ---
21
 
22
  <center>
@@ -29,24 +28,21 @@ tags:
29
 
30
  <br/>
31
 
32
- <img src="https://huggingface.co/AtomicChat/Hy3-GGUF/resolve/main/hero.png" alt="Hy3" style="width:380px; max-width:100%; height:auto; margin-bottom:0.6em;"/>
33
 
34
  <div style="display:flex; justify-content:center; gap:0.5em;">
35
  <a href="https://huggingface.co/tencent/Hy3"><strong>Base model: tencent/Hy3</strong></a>
36
  </div>
37
  </center>
38
 
39
- **Hy3** (Tencent Hunyuan Hy3), self-quantized to GGUF by [Atomic Chat](https://atomic.chat). Built straight from Tencent's original weights with a per-tensor importance matrix. Runs fully offline, including a 1-bit build that squeezes this 295B model onto a single multi-GPU box.
40
 
41
  ## Highlights
42
 
43
- - **295B-parameter MoE with 21B active** (192 experts, top-8) plus a 3.8B MTP layer, so it delivers flagship-scale capability at a fraction of the active compute.
44
- - **Rivals open-source flagships with 2-5x its parameters**, per Tencent, and edges out GLM-5.1 in blind expert evaluation (2.67/4).
45
- - **Strong agentic and coding scores** (Tencent-reported): SWE-Bench Verified 78, GPQA Diamond 90.4, SWE-Bench Pro 57.9.
46
- - **Production-grade reliability**: stable tool calls, hallucination rate down to 5.4%, commonsense errors 12.7%, multi-turn context issues 7.9%.
47
- - **256K context** with grouped-query attention (8 KV heads, head dim 128) and an MTP layer for speculative decoding.
48
- - **Adjustable reasoning** via `reasoning_effort` (`no_think` / `low` / `high`) for chain-of-thought when a task needs it.
49
- - **Full imatrix quantization** over [`calibration_datav3`](https://gist.github.com/bartowski1182/eb213dccb3571f863da82e99418f81e8), including a 1-bit `IQ1_M`.
50
 
51
  > [!NOTE]
52
  > These GGUFs are **self-quantized from the original weights**, not a repack. The importance matrix keeps low-bit quants closer to the full-precision model.
@@ -59,24 +55,28 @@ tags:
59
  | Property | Value |
60
  |---|---|
61
  | Base model | `tencent/Hy3` |
62
- | Total / active parameters | 295B total / 21B active (plus a 3.8B MTP layer) |
63
- | Layers | 80 (plus 1 MTP layer) |
64
- | Experts | 192 experts, top-8 activated |
65
- | Context length | 256K |
66
- | Architecture | Mixture-of-Experts, GQA (8 KV heads, head dim 128), MTP speculative-decoding layer, reasoning modes |
67
- | This repo | GGUF quants (imatrix): `Q4_K_M` for near-reference quality, and a 1-bit `IQ1_M` (≈92GB) that makes this 295B model run locally. |
 
 
68
 
69
  <img src="https://huggingface.co/AtomicChat/Hy3-GGUF/resolve/main/benchmark.png" alt="Hy3 benchmark scores" style="width:100%; max-width:900px;"/>
70
 
71
- Scores are Tencent's published results for the base `tencent/Hy3`. Quantization preserves the large majority of this; `Q4_K_M` and up sit within a point or two of full precision.
72
-
73
 
74
  ## Choosing a quant
75
 
76
  | Quant | Size | Notes |
77
  |---|---|---|
78
- | **`IQ1_M`** | 91.8 GB | **Smallest. 1-bit imatrix build that makes the 295B model run locally (≈92GB, e.g. a 4-GPU box). Expect quality tradeoffs; reasoning still works.** |
79
- | **`Q4_K_M`** | 184.7 GB | **Recommended for quality. Near-reference; needs roughly 185GB of combined VRAM and RAM.** |
 
 
 
80
 
81
  ## Get started
82
 
@@ -93,31 +93,31 @@ Run Hy3 locally with:
93
  |---|---|
94
  | temperature | 0.9 |
95
  | top_p | 1.0 |
 
96
 
97
- **Reasoning is recommended for Hy3.** Pass `reasoning_effort` (`high` for full chain-of-thought, `low`, or `no_think` for direct answers). On hard tasks, running without reasoning can produce truncated or malformed output.
98
 
99
  ## Run in llama.cpp
100
 
101
  ```bash
102
- git clone https://github.com/ggerganov/llama.cpp
103
  cmake llama.cpp -B llama.cpp/build -DBUILD_SHARED_LIBS=OFF -DGGML_CUDA=ON
104
  cmake --build llama.cpp/build --config Release -j --target llama-cli llama-server
105
  ```
106
 
107
  ```bash
108
  ./llama.cpp/build/bin/llama-server \
109
- -hf AtomicChat/Hy3-GGUF:IQ1_M \
110
  --jinja -ngl 99 -c 8192 -fa on
111
  ```
112
 
113
  ## How these were made
114
 
115
  1. Download `tencent/Hy3` (original weights).
116
- 2. Convert to GGUF with a [llama.cpp](https://github.com/ggerganov/llama.cpp) build that supports the Hy3 (`hy_v3`) architecture and its MTP layer.
117
- 3. Build an importance matrix over `calibration_datav3`.
118
- 4. Quantize with `--imatrix`: `Q4_K_M` for quality and `IQ1_M` for the smallest footprint that keeps this 295B model coherent.
119
 
120
  ## License
121
 
122
- Released by Tencent under the Apache 2.0 license. Quantized by Atomic Chat.
123
-
 
1
  ---
2
  license: apache-2.0
3
  license_link: https://huggingface.co/tencent/Hy3/blob/main/LICENSE
4
+ thumbnail: https://huggingface.co/AtomicChat/Hy3-GGUF/resolve/main/hero.png
5
  base_model:
6
  - tencent/Hy3
7
  base_model_relation: quantized
 
10
  library_name: gguf
11
  tags:
12
  - atomic-chat
 
 
13
  - hy3
14
+ - tencent
15
  - gguf
16
+ - llama.cpp
17
  - imatrix
18
  - quantized
 
19
  ---
20
 
21
  <center>
 
28
 
29
  <br/>
30
 
31
+ <img src="https://huggingface.co/AtomicChat/Hy3-GGUF/resolve/main/hero.png" alt="Hy3" style="width:100%; max-width:100%; height:auto; margin-bottom:0.6em;"/>
32
 
33
  <div style="display:flex; justify-content:center; gap:0.5em;">
34
  <a href="https://huggingface.co/tencent/Hy3"><strong>Base model: tencent/Hy3</strong></a>
35
  </div>
36
  </center>
37
 
38
+ **Hy3**, self-quantized to GGUF by [Atomic Chat](https://atomic.chat). Built straight from Tencent's original weights with a per-tensor importance matrix, so this is not a repack of somebody else's files. Runs fully offline.
39
 
40
  ## Highlights
41
 
42
+ - **298.8B parameters**: the weights this repo quantizes.
43
+ - **Context length**: 262,144 tokens (256K), as published by Tencent.
44
+ - **80 layers**: Mixture-of-Experts.
45
+ - **Full imatrix ladder**: every quant is calibrated with an importance matrix, published here alongside the quants.
 
 
 
46
 
47
  > [!NOTE]
48
  > These GGUFs are **self-quantized from the original weights**, not a repack. The importance matrix keeps low-bit quants closer to the full-precision model.
 
55
  | Property | Value |
56
  |---|---|
57
  | Base model | `tencent/Hy3` |
58
+ | Parameters | 298.8B |
59
+ | Layers | 80 |
60
+ | Experts | 192 routed (top-8) |
61
+ | Context length | 262,144 tokens (256K) |
62
+ | Vocabulary | 120,832 |
63
+ | Modalities | Text |
64
+ | Architecture | Mixture-of-Experts, 192 experts (top-8), 64 attention heads over 8 KV heads, `HYV3ForCausalLM` |
65
+ | This repo | GGUF quants (imatrix); the importance matrix is published here as `imatrix-atomic.gguf`. Quants: `IQ1_M`, `Q4_K_M` |
66
 
67
  <img src="https://huggingface.co/AtomicChat/Hy3-GGUF/resolve/main/benchmark.png" alt="Hy3 benchmark scores" style="width:100%; max-width:900px;"/>
68
 
69
+ Scores are Tencent's published results for the base `tencent/Hy3`, not our own measurements. Quantization preserves the large majority of this; `Q4_K_M` and up stay close to full precision.
 
70
 
71
  ## Choosing a quant
72
 
73
  | Quant | Size | Notes |
74
  |---|---|---|
75
+ | `IQ1_M` | 91.8 GB | Last resort, only if nothing else fits. |
76
+ | **`Q4_K_M`** | 184.7 GB | **Recommended default. Best balance of size, speed and quality.** |
77
+
78
+ > [!TIP]
79
+ > Pick the largest file that fits your (V)RAM with room for context. `Q4_K_M` is the sweet spot for most setups; `Q6_K` or `Q8_0` for maximum fidelity.
80
 
81
  ## Get started
82
 
 
93
  |---|---|
94
  | temperature | 0.9 |
95
  | top_p | 1.0 |
96
+ | top_k | -1 |
97
 
98
+ Tencent's recommended sampling configuration for `tencent/Hy3`.
99
 
100
  ## Run in llama.cpp
101
 
102
  ```bash
103
+ git clone https://github.com/ggml-org/llama.cpp
104
  cmake llama.cpp -B llama.cpp/build -DBUILD_SHARED_LIBS=OFF -DGGML_CUDA=ON
105
  cmake --build llama.cpp/build --config Release -j --target llama-cli llama-server
106
  ```
107
 
108
  ```bash
109
  ./llama.cpp/build/bin/llama-server \
110
+ -hf AtomicChat/Hy3-GGUF:Q4_K_M \
111
  --jinja -ngl 99 -c 8192 -fa on
112
  ```
113
 
114
  ## How these were made
115
 
116
  1. Download `tencent/Hy3` (original weights).
117
+ 2. Convert to f16 GGUF with [llama.cpp](https://github.com/ggml-org/llama.cpp).
118
+ 3. Build an importance matrix over our calibration corpus, published here as `imatrix-atomic.gguf`.
119
+ 4. Quantize the ladder with `--imatrix`.
120
 
121
  ## License
122
 
123
+ Original model by Tencent, released under the Apache 2.0 license. Full terms: [Apache 2.0](https://huggingface.co/tencent/Hy3/blob/main/LICENSE). Quantized by Atomic Chat.