Downloads · 30 days
43
34% of all-time downloads
Horn-Studio/Hai-2.6-Extend-0913-GGUF
Hai-2.6-Extend-0913-GGUF is a machine learning model from Horn-Studio. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
<p align="center" <img src="https://img.shields.io/badge/Base-Qwen3.5--9B-blue" alt="Base Model" <img src="https://img.shields.io/badge/Format-GGUF-green" alt="Format" <img src="https://img.shields.io/badge/Mirror-Mod…
Downloads · 30 days
43
34% of all-time downloads
All-time downloads
127
Public
Repo size
22.9 GB
Likes
1
Public
Click a slice to open those files.
.gguf22.5 GB · 100%
From the Hugging Face model README
H.ai — a gentle, patient AI companion that walks you through things one step at a time.
This repository is the HuggingFace mirror of Hai-2.6-Flash-Extend. Its contents are identical to the official ModelScope repository. The Reinforced build improves character consistency and mathematical ability over Hai-2.6-Flash.
The H.ai series is trained by Horn.Studio. The primary release platform is ModelScope; below is the index of all previous versions:
| Version | Batch | Base Model | Positioning | Original Repository |
|---|---|---|---|---|
| H.ai 2.6 Reinforced (this repo) | 0913 | Qwen3.5-9B | Reinforced 2.6 build; stronger character consistency and math | ModelScope |
| H.ai 2.6 Flash | 0829 | Qwen3.5-9B | Initial 2.6 build; completed Abliterated hardening training | ModelScope |
| H.ai 2.5 | 0829 | Qwen3.5-27B | 27B post-trained build; stronger role-play / writing / Agent | ModelScope |
| H.ai 2.0 | 0812 | Qwen3.5-27B | First release; 2.1T text + 1,016 persona dialogues | ModelScope |
The 2.6 series is the successor product line to Hai-2-Series. Hai-3 will use a new base model.
| Item | Details |
|---|---|
| Base Model | Qwen/Qwen3.5-9B |
| Model Type | Text generation / chat |
| Context Length | 262K |
| Quantization | GGUF |
| Training Platform | Intel Arc A770 + WSL2 |
| Training Framework | Unsloth Core (with GitHub Horn-Studio/Intel_UnslothFix) |
| Primary Platform | ModelScope · Horn.Studio |
think tags are retained)| Batch | Avg. Length | Emotive Punctuation | Internet Slang | Modal Particles | Self-Corrections |
|---|---|---|---|---|---|
| U01 Academics | 17.6 | 10.0% | 13.3% | 26.7% | 13.3% |
| U02 Daily & Emotions | 18.2 | 10.0% | 16.7% | 26.7% | 13.3% |
| U03 Knowledge | 17.7 | 16.7% | 13.3% | 36.7% | 10.0% |
| U04 Technical | 24.5 | 10.0% | 13.3% | 30.0% | 13.3% |
| U05 Safety | 20.7 | 13.3% | 10.0% | 36.7% | 16.7% |
| U06 Creative | 17.9 | 6.2% | 9.4% | 28.1% | 9.4% |
| U07 Short Greetings | 10.9 | 13.3% | 0.0%* | 50.0% | 10.0% |
| U08 Breakdown | 16.8 | 13.3% | 20.0% | 23.3% | 10.0% |
We used the heretic tool to strip the safety layer from a Hai2 model, producing Hai-2-Abliterated, and then fully restored all of the original model's safety guardrails through full fine-tuning — making them more robust than before. Experiments show that an Abliterated model can, under certain conditions, re-learn safety guardrails and achieve more solid results. This model uses that method to strengthen its guardrails.
| Model | Refusal Rate |
|---|---|
| Hai-2 | 87/100 |
| Hai-2-Abliterated | 8/100 |
| Hai-2.5 | 93/100 |
| Hai-2.6-Flash | 96/100 |
| Hai-2.6-Flash-Extend (Reinforced) | 95/100 |
Download the quantization you want and load it directly:
# Q4_K_M (~5.5 GB, recommended)
./llama-cli -m Hai-2.6-Flash-Extend.Q4_K_M.gguf -p "Hello, H.ai"
# Q6_K (~7.2 GB, higher quality)
./llama-cli -m Hai-2.6-Flash-Extend.Q6_K.gguf -p "Hello, H.ai"
.gguf file locallyFROM ./Hai-2.6-Flash-Extend.Q4_K_M.gguf
PARAMETER temperature 0.7
PARAMETER top_p 0.9
ollama create hai -f Modelfile
ollama run hai
from llama_cpp import Llama
llm = Llama(
model_path="./Hai-2.6-Flash-Extend.Q4_K_M.gguf",
n_ctx=8192,
chat_format="chatml",
)
resp = llm.create_chat_completion(
messages=[{"role": "user", "content": "Hello, H.ai"}],
temperature=0.7,
top_p=0.9,
)
print(resp["choices"][0]["message"]["content"])
This repository provides the following formats:
| File | Format | Size | Notes |
|---|---|---|---|
Hai-2.6-Flash-Extend.Q4_K_M.gguf | GGUF | ~5.5 GB | Recommended; balanced quality and speed |
Hai-2.6-Flash-Extend.Q6_K.gguf | GGUF | ~7.2 GB | High-quality quantization, suitable for production work |
Hai-2.6-Flash-Extend.Q8_0.gguf | GGUF | ~9.3 GB | Highest-precision quantization; needs more VRAM/RAM |
Note: The
--allow-requantizevariants are re-quantized after merging, so some layers go through multiple quantization rounds. In extreme cases they differ slightly from a native Q4_K_M, but for everyday conversation the difference is imperceptible.
The following is the training configuration of H.ai 2.0 (27B), provided as a reference for the technical approach behind the whole series:
{
"base_model": "Qwen/Qwen3.5-27B",
"quantization": "4-bit (bnb NF4)",
"lora_r": 16,
"lora_alpha": 32,
"lora_dropout": 0.05,
"target_modules": ["q_proj", "k_proj", "v_proj", "o_proj", "gate_proj", "up_proj", "down_proj"],
"learning_rate": 1e-4,
"batch_size": 1,
"gradient_accumulation_steps": 8,
"epochs": 2,
"warmup_steps": 20,
"lr_scheduler": "cosine",
"weight_decay": 0.01,
"max_seq_length": 4096,
"packing": true
}
ModelScope is the primary release platform. For questions or suggestions, please reach out on the ModelScope discussion board first:
Enjoy chatting with H.ai~ (´∇ノ`*)ノ