hermeschen-ezcon commited on
Commit
9656a92
·
verified ·
1 Parent(s): 425a90c

Upload folder using huggingface_hub

Browse files
Files changed (2) hide show
  1. README.md +2 -2
  2. config.json +11 -0
README.md CHANGED
@@ -10,16 +10,16 @@ language:
10
  - ja
11
  - ko
12
  library_name: mlx
13
- base_model: zai-org/GLM-OCR
14
  tags:
15
  - mlx
16
  pipeline_tag: image-text-to-text
 
17
  ---
18
 
19
  # EZCon/GLM-OCR-4bit-mlx
20
 
21
  This model was converted to MLX format from [`zai-org/GLM-OCR`](https://huggingface.co/zai-org/GLM-OCR)
22
- using mlx-vlm version **0.5.0**.
23
  Refer to the [original model card](https://huggingface.co/zai-org/GLM-OCR) for more details on the model.
24
 
25
  ## Use with mlx
 
10
  - ja
11
  - ko
12
  library_name: mlx
 
13
  tags:
14
  - mlx
15
  pipeline_tag: image-text-to-text
16
+ base_model: zai-org/GLM-OCR
17
  ---
18
 
19
  # EZCon/GLM-OCR-4bit-mlx
20
 
21
  This model was converted to MLX format from [`zai-org/GLM-OCR`](https://huggingface.co/zai-org/GLM-OCR)
22
+ using mlx-vlm version **0.6.4**.
23
  Refer to the [original model card](https://huggingface.co/zai-org/GLM-OCR) for more details on the model.
24
 
25
  ## Use with mlx
config.json CHANGED
@@ -2,10 +2,21 @@
2
  "architectures": [
3
  "GlmOcrForConditionalGeneration"
4
  ],
 
5
  "eos_token_id": [
6
  59246,
7
  59253
8
  ],
 
 
 
 
 
 
 
 
 
 
9
  "image_end_token_id": 59257,
10
  "image_start_token_id": 59256,
11
  "image_token_id": 59280,
 
2
  "architectures": [
3
  "GlmOcrForConditionalGeneration"
4
  ],
5
+ "do_sample": false,
6
  "eos_token_id": [
7
  59246,
8
  59253
9
  ],
10
+ "generation_config": {
11
+ "_from_model_config": true,
12
+ "do_sample": false,
13
+ "eos_token_id": [
14
+ 59246,
15
+ 59253
16
+ ],
17
+ "pad_token_id": 59246,
18
+ "transformers_version": "5.0.1dev0"
19
+ },
20
  "image_end_token_id": 59257,
21
  "image_start_token_id": 59256,
22
  "image_token_id": 59280,