Instructions to use AtomicChat/Hy3-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use AtomicChat/Hy3-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf AtomicChat/Hy3-GGUF:IQ1_M # Run inference directly in the terminal: llama cli -hf AtomicChat/Hy3-GGUF:IQ1_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf AtomicChat/Hy3-GGUF:IQ1_M # Run inference directly in the terminal: llama cli -hf AtomicChat/Hy3-GGUF:IQ1_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf AtomicChat/Hy3-GGUF:IQ1_M # Run inference directly in the terminal: ./llama-cli -hf AtomicChat/Hy3-GGUF:IQ1_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf AtomicChat/Hy3-GGUF:IQ1_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf AtomicChat/Hy3-GGUF:IQ1_M
Use Docker
docker model run hf.co/AtomicChat/Hy3-GGUF:IQ1_M
- LM Studio
- Jan
- vLLM
How to use AtomicChat/Hy3-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "AtomicChat/Hy3-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "AtomicChat/Hy3-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/AtomicChat/Hy3-GGUF:IQ1_M
- Ollama
How to use AtomicChat/Hy3-GGUF with Ollama:
ollama run hf.co/AtomicChat/Hy3-GGUF:IQ1_M
- Unsloth Desktop
- Pi
How to use AtomicChat/Hy3-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf AtomicChat/Hy3-GGUF:IQ1_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "AtomicChat/Hy3-GGUF:IQ1_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use AtomicChat/Hy3-GGUF with Docker Model Runner:
docker model run hf.co/AtomicChat/Hy3-GGUF:IQ1_M
- Lemonade
How to use AtomicChat/Hy3-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull AtomicChat/Hy3-GGUF:IQ1_M
Run and chat with the model
lemonade run user.Hy3-GGUF-IQ1_M
List all available models
lemonade list
- Hermes Agent
How to use AtomicChat/Hy3-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf AtomicChat/Hy3-GGUF:IQ1_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default AtomicChat/Hy3-GGUF:IQ1_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use AtomicChat/Hy3-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf AtomicChat/Hy3-GGUF:IQ1_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "AtomicChat/Hy3-GGUF:IQ1_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
forge: regenerate the model card
Browse files
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 |
-
-
|
| 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:
|
| 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**
|
| 40 |
|
| 41 |
## Highlights
|
| 42 |
|
| 43 |
-
- **
|
| 44 |
-
- **
|
| 45 |
-
- **
|
| 46 |
-
- **
|
| 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 |
-
|
|
| 63 |
-
| Layers | 80
|
| 64 |
-
| Experts | 192
|
| 65 |
-
| Context length | 256K |
|
| 66 |
-
|
|
| 67 |
-
|
|
|
|
|
|
|
|
| 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
|
| 72 |
-
|
| 73 |
|
| 74 |
## Choosing a quant
|
| 75 |
|
| 76 |
| Quant | Size | Notes |
|
| 77 |
|---|---|---|
|
| 78 |
-
|
|
| 79 |
-
| **`Q4_K_M`** | 184.7 GB | **Recommended
|
|
|
|
|
|
|
|
|
|
| 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 |
-
|
| 98 |
|
| 99 |
## Run in llama.cpp
|
| 100 |
|
| 101 |
```bash
|
| 102 |
-
git clone https://github.com/
|
| 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:
|
| 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
|
| 117 |
-
3. Build an importance matrix over `
|
| 118 |
-
4. Quantize with `--imatrix`
|
| 119 |
|
| 120 |
## License
|
| 121 |
|
| 122 |
-
|
| 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.
|
|
|