Update Zen4 Coder model card
Browse files
README.md
CHANGED
|
@@ -1,65 +1,43 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
language:
|
| 4 |
-
- en
|
| 5 |
-
- zh
|
| 6 |
-
tags:
|
| 7 |
-
- zen4
|
| 8 |
-
- zenlm
|
| 9 |
-
- hanzo
|
| 10 |
-
- abliterated
|
| 11 |
-
- uncensored
|
| 12 |
-
base_model: huihui-ai/Huihui-Qwen3-Coder-Next-abliterated
|
| 13 |
pipeline_tag: text-generation
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
---
|
| 15 |
|
| 16 |
# Zen4 Coder
|
| 17 |
|
| 18 |
-
**
|
| 19 |
-
|
| 20 |
-
Built on abliterated (uncensored) weights from Qwen3-Coder-Next for unrestricted, open-ended AI assistance.
|
| 21 |
|
| 22 |
-
##
|
| 23 |
|
| 24 |
| Property | Value |
|
| 25 |
|----------|-------|
|
| 26 |
-
|
|
| 27 |
-
|
|
| 28 |
-
|
|
| 29 |
-
|
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
| Zen4 Pro | 14B | 14B | 32K | [zenlm/zen4-pro](https://huggingface.co/zenlm/zen4-pro) |
|
| 40 |
-
| Zen4 Max | 30B MoE | 3B | 256K | [zenlm/zen4-max](https://huggingface.co/zenlm/zen4-max) |
|
| 41 |
-
| **Zen4 Pro Max** | **80B MoE** | **3B** | **256K** | [zenlm/zen4-pro-max](https://huggingface.co/zenlm/zen4-pro-max) |
|
| 42 |
-
| Zen4 Coder Flash | 31B MoE | 3B | 131K | [zenlm/zen4-coder-flash](https://huggingface.co/zenlm/zen4-coder-flash) |
|
| 43 |
-
| **Zen4 Coder** | **80B MoE** | **3B** | **256K** | [zenlm/zen4-coder](https://huggingface.co/zenlm/zen4-coder) |
|
| 44 |
-
| Zen4 Ultra | 1.04T MoE | 32B | 256K | [zenlm/zen4-ultra](https://huggingface.co/zenlm/zen4-ultra) |
|
| 45 |
|
| 46 |
-
|
| 47 |
|
| 48 |
-
|
| 49 |
-
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 50 |
|
| 51 |
-
|
| 52 |
-
tokenizer = AutoTokenizer.from_pretrained("zenlm/zen4-coder")
|
| 53 |
|
| 54 |
-
|
| 55 |
-
text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
|
| 56 |
-
inputs = tokenizer(text, return_tensors="pt")
|
| 57 |
-
outputs = model.generate(**inputs, max_new_tokens=512)
|
| 58 |
-
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
|
| 59 |
-
```
|
| 60 |
-
|
| 61 |
-
## Links
|
| 62 |
|
| 63 |
-
|
| 64 |
-
- [GitHub](https://github.com/zenlm/zen4-coder)
|
| 65 |
-
- [All Zen4 Models](https://huggingface.co/zenlm)
|
|
|
|
| 1 |
---
|
| 2 |
+
library_name: transformers
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
pipeline_tag: text-generation
|
| 4 |
+
tags:
|
| 5 |
+
- text-generation
|
| 6 |
+
- code
|
| 7 |
+
- zen
|
| 8 |
+
- zen4
|
| 9 |
+
- hanzo
|
| 10 |
+
license: apache-2.0
|
| 11 |
---
|
| 12 |
|
| 13 |
# Zen4 Coder
|
| 14 |
|
| 15 |
+
**Zen LM by Hanzo AI** — Code-specialized model for generation, review, debugging, and refactoring.
|
|
|
|
|
|
|
| 16 |
|
| 17 |
+
## Specs
|
| 18 |
|
| 19 |
| Property | Value |
|
| 20 |
|----------|-------|
|
| 21 |
+
| Parameters | 480B MoE |
|
| 22 |
+
| Context | 163K |
|
| 23 |
+
| Architecture | Zen MoDE (Mixture of Distilled Experts) |
|
| 24 |
+
| Generation | Zen4 |
|
| 25 |
+
|
| 26 |
+
## API Access
|
| 27 |
+
|
| 28 |
+
```bash
|
| 29 |
+
curl https://api.hanzo.ai/v1/chat/completions \
|
| 30 |
+
-H "Authorization: Bearer $HANZO_API_KEY" \
|
| 31 |
+
-H "Content-Type: application/json" \
|
| 32 |
+
-d '{"model": "zen4-coder", "messages": [{"role": "user", "content": "Hello"}]}'
|
| 33 |
+
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
|
| 35 |
+
Get your API key at [console.hanzo.ai](https://console.hanzo.ai) — $5 free credit on signup.
|
| 36 |
|
| 37 |
+
## License
|
|
|
|
| 38 |
|
| 39 |
+
Apache 2.0
|
|
|
|
| 40 |
|
| 41 |
+
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
|
| 43 |
+
*Zen LM is developed by [Hanzo AI](https://hanzo.ai) — Frontier AI infrastructure.*
|
|
|
|
|
|