zeekay commited on
Commit
12b6bd9
·
verified ·
1 Parent(s): 284729b

Update model card: add zen/zenlm tags, fix branding

Browse files
Files changed (1) hide show
  1. README.md +37 -17
README.md CHANGED
@@ -1,27 +1,42 @@
1
  ---
2
- library_name: transformers
3
- pipeline_tag: text-generation
4
  tags:
5
  - text-generation
6
- - reasoning
7
  - zen
8
- - zen4
9
  - hanzo
10
- license: apache-2.0
 
 
 
11
  ---
12
 
13
  # Zen4 Pro Max
14
 
15
- **Zen LM by Hanzo AI** High-performance model balancing capability and efficiency.
 
 
16
 
17
- ## Specs
18
 
19
- | Property | Value |
20
- |----------|-------|
21
- | Parameters | 744B MoE |
22
- | Context | 262K |
23
- | Architecture | Zen MoDE (Mixture of Distilled Experts) |
24
- | Generation | Zen4 |
 
 
 
 
 
 
 
 
 
 
 
25
 
26
  ## API Access
27
 
@@ -34,10 +49,15 @@ curl https://api.hanzo.ai/v1/chat/completions \
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.*
 
1
  ---
2
+ language: en
3
+ license: apache-2.0
4
  tags:
5
  - text-generation
 
6
  - zen
7
+ - zenlm
8
  - hanzo
9
+ - zen4
10
+ - reasoning
11
+ pipeline_tag: text-generation
12
+ library_name: transformers
13
  ---
14
 
15
  # Zen4 Pro Max
16
 
17
+ Extended Zen4 Pro model for maximum reasoning depth on professional tasks.
18
+
19
+ ## Overview
20
 
21
+ Built on **Zen MoDE (Mixture of Distilled Experts)** architecture with 235B MoE parameters and 128K context window.
22
 
23
+ Developed by [Hanzo AI](https://hanzo.ai) and the [Zoo Labs Foundation](https://zoo.ngo).
24
+
25
+ ## Quick Start
26
+
27
+ ```python
28
+ from transformers import AutoModelForCausalLM, AutoTokenizer
29
+
30
+ model_id = "zenlm/zen4-pro-max"
31
+ tokenizer = AutoTokenizer.from_pretrained(model_id)
32
+ model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype="auto", device_map="auto")
33
+
34
+ messages = [{"role": "user", "content": "Hello!"}]
35
+ text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
36
+ inputs = tokenizer([text], return_tensors="pt").to(model.device)
37
+ outputs = model.generate(**inputs, max_new_tokens=512)
38
+ print(tokenizer.decode(outputs[0][inputs.input_ids.shape[1]:], skip_special_tokens=True))
39
+ ```
40
 
41
  ## API Access
42
 
 
49
 
50
  Get your API key at [console.hanzo.ai](https://console.hanzo.ai) — $5 free credit on signup.
51
 
52
+ ## Model Details
53
 
54
+ | Attribute | Value |
55
+ |-----------|-------|
56
+ | Parameters | 235B MoE |
57
+ | Architecture | Zen MoDE |
58
+ | Context | 128K tokens |
59
+ | License | Apache 2.0 |
60
 
61
+ ## License
62
 
63
+ Apache 2.0