zeekay commited on
Commit
6728898
·
verified ·
1 Parent(s): a48413e

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

Browse files
Files changed (1) hide show
  1. README.md +6 -27
README.md CHANGED
@@ -1,14 +1,13 @@
1
  ---
2
- library_name: diffusers
3
  pipeline_tag: text-to-image
4
  tags:
5
- - diffusers
6
  - text-to-image
7
- - image-generation
8
  - zen
9
  - zen3
10
- - zenlm
11
  - hanzo
 
12
  license: apache-2.0
13
  ---
14
 
@@ -21,37 +20,17 @@ license: apache-2.0
21
  | Property | Value |
22
  |----------|-------|
23
  | Parameters | 12B |
24
- | Resolution | 1024x1024 |
25
  | Architecture | Zen MoDE (Mixture of Distilled Experts) |
26
  | Generation | Zen3 |
27
 
28
- ## Usage
29
-
30
- ```python
31
- from diffusers import AutoPipelineForText2Image
32
- import torch
33
-
34
- pipe = AutoPipelineForText2Image.from_pretrained(
35
- "zenlm/zen3-image",
36
- torch_dtype=torch.float16,
37
- )
38
- pipe = pipe.to("cuda")
39
-
40
- image = pipe(
41
- "A beautiful landscape at golden hour",
42
- num_inference_steps=50,
43
- guidance_scale=5.0,
44
- ).images[0]
45
- image.save("output.png")
46
- ```
47
-
48
  ## API Access
49
 
50
  ```bash
51
- curl https://api.hanzo.ai/v1/images/generations \
52
  -H "Authorization: Bearer $HANZO_API_KEY" \
53
  -H "Content-Type: application/json" \
54
- -d '{"model": "zen3-image", "prompt": "A beautiful landscape at golden hour"}'
55
  ```
56
 
57
  Get your API key at [console.hanzo.ai](https://console.hanzo.ai) — $5 free credit on signup.
 
1
  ---
2
+ library_name: transformers
3
  pipeline_tag: text-to-image
4
  tags:
 
5
  - text-to-image
6
+ - diffusion
7
  - zen
8
  - zen3
 
9
  - hanzo
10
+ - zenlm
11
  license: apache-2.0
12
  ---
13
 
 
20
  | Property | Value |
21
  |----------|-------|
22
  | Parameters | 12B |
23
+ | Context | 1024px |
24
  | Architecture | Zen MoDE (Mixture of Distilled Experts) |
25
  | Generation | Zen3 |
26
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
27
  ## API Access
28
 
29
  ```bash
30
+ curl https://api.hanzo.ai/v1/chat/completions \
31
  -H "Authorization: Bearer $HANZO_API_KEY" \
32
  -H "Content-Type: application/json" \
33
+ -d '{"model": "zen3-image", "messages": [{"role": "user", "content": "Hello"}]}'
34
  ```
35
 
36
  Get your API key at [console.hanzo.ai](https://console.hanzo.ai) — $5 free credit on signup.