Kearm commited on
Commit
9d8e422
·
verified ·
1 Parent(s): 38fa652

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,179 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ - zh
5
+ library_name: transformers
6
+ license: mit
7
+ pipeline_tag: text-generation
8
+ base_model: zai-org/GLM-4.7-Flash
9
+ tags:
10
+ - trellis
11
+ - quantized
12
+ - moe
13
+ - 3-bit
14
+ - mixed-precision
15
+ - cuda
16
+ - glm
17
+ quantized_by: Metal Marlin
18
+ ---
19
+
20
+ # GLM-4.7-Flash-Trellis-3.8bpw
21
+
22
+ <div align="center">
23
+ <img src="https://raw.githubusercontent.com/zai-org/GLM-4.5/refs/heads/main/resources/logo.svg" width="15%"/>
24
+ </div>
25
+
26
+ **Trellis-quantized GLM-4.7-Flash** — a 30B-A3B MoE model compressed to **3.78 bits per weight** using sensitivity-aware mixed-precision quantization.
27
+
28
+ | Metric | Value |
29
+ |--------|-------|
30
+ | **Effective bits** | 3.78 bpw |
31
+ | **Compression** | 4.2× vs FP16 |
32
+ | **Model size** | ~14 GB (vs ~60 GB FP16) |
33
+ | **Parameters** | 29.3B |
34
+ | **Format** | HuggingFace sharded safetensors |
35
+
36
+ ## Model Description
37
+
38
+ This is a quantized version of [zai-org/GLM-4.7-Flash](https://huggingface.co/zai-org/GLM-4.7-Flash), the strongest model in the 30B class that balances performance and efficiency.
39
+
40
+ GLM-4.7-Flash features:
41
+ - **30B-A3B MoE architecture** (64 experts + shared expert, 2-4 active per token)
42
+ - **Multi-head Latent Attention (MLA)** for 8× KV cache compression
43
+ - **State-of-the-art reasoning** (91.6% on AIME 2025, 59.2% on SWE-bench Verified)
44
+ - **Bilingual** (English + Chinese)
45
+
46
+ ## Quantization Details
47
+
48
+ Quantized using **Trellis** (EXL3-style) with Metal Marlin acceleration:
49
+
50
+ ### Bit Allocation
51
+
52
+ | Bit Width | Tensors | Parameters | % of Model |
53
+ |-----------|---------|------------|------------|
54
+ | 6-bit | 3,037 | 9.4B | 32.2% |
55
+ | 3-bit | 2,710 | 8.6B | 29.3% |
56
+ | 2-bit | 2,736 | 8.6B | 29.3% |
57
+ | 4-bit | 575 | 2.1B | 7.2% |
58
+ | 5-bit | 196 | 591M | 2.0% |
59
+
60
+ ### Sensitivity-Aware Allocation
61
+
62
+ - **8-bit**: Router weights, embeddings, LM head, layer norms
63
+ - **6-bit**: Gate layers, attention projections with high outlier ratios
64
+ - **4-5 bit**: Standard attention layers (q/k/v/o projections)
65
+ - **2-3 bit**: MoE expert layers (lowest sensitivity)
66
+
67
+ ### Quantization Statistics
68
+
69
+ - **Average MSE**: 0.000223
70
+ - **Average RMSE**: 0.0149
71
+ - **Quantization time**: ~110 seconds (RTX 3090 Ti)
72
+ - **Method**: Trellis with Hadamard preprocessing, Viterbi nearest-neighbor, group-wise scales (g=128)
73
+
74
+ ## Files
75
+
76
+ ```
77
+ GLM-4.7-Flash-Trellis-MM/
78
+ ├── model-00001-of-00007.safetensors # ~2 GB each
79
+ ├── model-00002-of-00007.safetensors
80
+ ├── model-00003-of-00007.safetensors
81
+ ├── model-00004-of-00007.safetensors
82
+ ├── model-00005-of-00007.safetensors
83
+ ├── model-00006-of-00007.safetensors
84
+ ├── model-00007-of-00007.safetensors
85
+ ├── model.safetensors.index.json # Weight map
86
+ ├── base_weights.safetensors # Embeddings, norms (FP16)
87
+ ├── config.json # Model config
88
+ ├── tokenizer.json # Tokenizer
89
+ ├── tokenizer_config.json
90
+ └── quantization_index.json # Quantization metadata
91
+ ```
92
+
93
+ ## Usage
94
+
95
+ ### With Metal Marlin (Apple Silicon)
96
+
97
+ ```python
98
+ from metal_marlin.trellis import TrellisForCausalLM
99
+ from transformers import AutoTokenizer
100
+
101
+ model = TrellisForCausalLM.from_pretrained(
102
+ "RESMP-DEV/GLM-4.7-Flash-Trellis-3.8bpw",
103
+ device="mps"
104
+ )
105
+ tokenizer = AutoTokenizer.from_pretrained("zai-org/GLM-4.7-Flash")
106
+
107
+ prompt = "<|user|>\nExplain quantum computing in simple terms.\n<|assistant|>\n"
108
+ input_ids = tokenizer(prompt, return_tensors="pt").input_ids.to("mps")
109
+ output = model.generate(input_ids, max_new_tokens=256, temperature=0.7)
110
+ print(tokenizer.decode(output[0], skip_special_tokens=True))
111
+ ```
112
+
113
+
114
+ ### Tensor Format
115
+
116
+ Each quantized tensor has 4 components:
117
+ - `{name}__indices`: Packed uint8 Trellis indices
118
+ - `{name}__scales`: FP16 per-group scales (group_size=128)
119
+ - `{name}__su`: FP16 row scaling factors
120
+ - `{name}__sv`: FP16 column scaling factors
121
+
122
+ ## Hardware Requirements
123
+
124
+ | Device | VRAM | Notes |
125
+ |--------|------|-------|
126
+ | Apple M2 Ultra | 64 GB+ | Via Metal Marlin |
127
+ | Apple M4 Max | 36 GB+ | Via Metal Marlin |
128
+
129
+ ## Benchmarks
130
+
131
+ ### Original Model Performance (from Z.AI)
132
+
133
+ | Benchmark | GLM-4.7-Flash | Qwen3-30B-A3B | GPT-OSS-20B |
134
+ |-----------|---------------|---------------|-------------|
135
+ | AIME 2025 | **91.6** | 85.0 | 91.7 |
136
+ | GPQA | **75.2** | 73.4 | 71.5 |
137
+ | SWE-bench Verified | **59.2** | 22.0 | 34.0 |
138
+ | τ²-Bench | **79.5** | 49.0 | 47.7 |
139
+ | BrowseComp | **42.8** | 2.29 | 28.3 |
140
+
141
+ ### Quantized Model (Metal Marlin, M4 Max)
142
+
143
+ | Metric | Value |
144
+ |--------|-------|
145
+ | Decode | 5.4 tok/s |
146
+ | Prefill (2K) | 42 tok/s |
147
+ | Memory | 16.9 GB |
148
+
149
+ ## Limitations
150
+
151
+ - **Not compatible with standard transformers** — requires Trellis-aware inference code
152
+ - **No speculative decoding** yet
153
+ - **Quality loss**: ~1-2% on benchmarks vs FP16 (typical for 3-4 bit quantization)
154
+
155
+ ## Credits
156
+
157
+ - **Original model**: [Z.AI / GLM Team](https://huggingface.co/zai-org/GLM-4.7-Flash)
158
+ - **Quantization method**: [Trellis/EXL3](https://github.com/turboderp/exllamav3)
159
+ - **Quantization toolkit**: [Metal Marlin](https://github.com/RESMP-DEV/metal-marlin)
160
+
161
+ ## Citation
162
+
163
+ If you use this model, please cite the original GLM-4.5 paper:
164
+
165
+ ```bibtex
166
+ @misc{glm2025glm45,
167
+ title={GLM-4.5: Agentic, Reasoning, and Coding (ARC) Foundation Models},
168
+ author={GLM Team and Aohan Zeng and Xin Lv and others},
169
+ year={2025},
170
+ eprint={2508.06471},
171
+ archivePrefix={arXiv},
172
+ primaryClass={cs.CL},
173
+ url={https://arxiv.org/abs/2508.06471},
174
+ }
175
+ ```
176
+
177
+ ## License
178
+
179
+ This quantized model inherits the **MIT License** from the original GLM-4.7-Flash model.
base_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e2eba0bf7f0c7390f02258831b37e405f77acdf3c7d1dc2257566c94275329aa
3
+ size 1281372424
config.json ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Glm4MoeLiteForCausalLM"
4
+ ],
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "pad_token_id": 154820,
8
+ "eos_token_id": [
9
+ 154820,
10
+ 154827,
11
+ 154829
12
+ ],
13
+ "hidden_act": "silu",
14
+ "hidden_size": 2048,
15
+ "intermediate_size": 10240,
16
+ "max_position_embeddings": 202752,
17
+ "model_type": "glm4_moe_lite",
18
+ "moe_intermediate_size": 1536,
19
+ "topk_method": "noaux_tc",
20
+ "norm_topk_prob": true,
21
+ "num_attention_heads": 20,
22
+ "n_group": 1,
23
+ "topk_group": 1,
24
+ "n_routed_experts": 64,
25
+ "n_shared_experts": 1,
26
+ "routed_scaling_factor": 1.8,
27
+ "num_experts_per_tok": 4,
28
+ "first_k_dense_replace": 1,
29
+ "num_hidden_layers": 47,
30
+ "num_key_value_heads": 20,
31
+ "num_nextn_predict_layers": 1,
32
+ "partial_rotary_factor": 1.0,
33
+ "rms_norm_eps": 1e-05,
34
+ "rope_scaling": null,
35
+ "rope_theta": 1000000,
36
+ "tie_word_embeddings": false,
37
+ "dtype": "bfloat16",
38
+ "transformers_version": "5.0.0rc0",
39
+ "q_lora_rank": 768,
40
+ "kv_lora_rank": 512,
41
+ "qk_nope_head_dim": 192,
42
+ "qk_rope_head_dim": 64,
43
+ "v_head_dim": 256,
44
+ "vocab_size": 154880
45
+ }
model-00001-of-00007.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:00378dc267fde0efcf44d6dce0a62d781ab6c68959a7c5b548de7656756e6538
3
+ size 2147572838
model-00002-of-00007.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4644617fd9d47acdd4bdba6624c2c3ce13fce4f1bd334f2e93da0421643715a4
3
+ size 2146066344
model-00003-of-00007.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8d9eb56bda20452832e2a5361a68459f2b77beb9368d5b523b0a7e5ba280258a
3
+ size 2147438273
model-00004-of-00007.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:444bc6949759b73e1bcd8e66e874123f79e58dd3121291c6d9fd0044a6eb8fea
3
+ size 2147456636
model-00005-of-00007.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b3b883bb05d63495cf5883b1c9ef75a508aecbd0bb0720ec4e2791df642b3b69
3
+ size 2147436778
model-00006-of-00007.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9ca14e004d3d8f13ab7f5064d5a279f83fd8f4db9d7b070bebba63cb1cdbbb2e
3
+ size 2146626763
model-00007-of-00007.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:888f9d7dce7576fcf3ca29756273eba96541f30338d45dfcee88449481a88266
3
+ size 2038631358
model.safetensors.index.json ADDED
The diff for this file is too large to render. See raw diff
 
quantization_index.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:19e773648cb4e65de8660ea6365e10acca112d42a854923df93db4a6f333a82d
3
+ size 20217442
tokenizer_config.json ADDED
@@ -0,0 +1,321 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "154820": {
4
+ "content": "<|endoftext|>",
5
+ "single_word": false,
6
+ "lstrip": false,
7
+ "rstrip": false,
8
+ "normalized": false,
9
+ "special": true
10
+ },
11
+ "154821": {
12
+ "content": "[MASK]",
13
+ "single_word": false,
14
+ "lstrip": false,
15
+ "rstrip": false,
16
+ "normalized": false,
17
+ "special": true
18
+ },
19
+ "154822": {
20
+ "content": "[gMASK]",
21
+ "single_word": false,
22
+ "lstrip": false,
23
+ "rstrip": false,
24
+ "normalized": false,
25
+ "special": true
26
+ },
27
+ "154823": {
28
+ "content": "[sMASK]",
29
+ "single_word": false,
30
+ "lstrip": false,
31
+ "rstrip": false,
32
+ "normalized": false,
33
+ "special": true
34
+ },
35
+ "154824": {
36
+ "content": "<sop>",
37
+ "single_word": false,
38
+ "lstrip": false,
39
+ "rstrip": false,
40
+ "normalized": false,
41
+ "special": true
42
+ },
43
+ "154825": {
44
+ "content": "<eop>",
45
+ "single_word": false,
46
+ "lstrip": false,
47
+ "rstrip": false,
48
+ "normalized": false,
49
+ "special": true
50
+ },
51
+ "154826": {
52
+ "content": "<|system|>",
53
+ "single_word": false,
54
+ "lstrip": false,
55
+ "rstrip": false,
56
+ "normalized": false,
57
+ "special": true
58
+ },
59
+ "154827": {
60
+ "content": "<|user|>",
61
+ "single_word": false,
62
+ "lstrip": false,
63
+ "rstrip": false,
64
+ "normalized": false,
65
+ "special": true
66
+ },
67
+ "154828": {
68
+ "content": "<|assistant|>",
69
+ "single_word": false,
70
+ "lstrip": false,
71
+ "rstrip": false,
72
+ "normalized": false,
73
+ "special": true
74
+ },
75
+ "154829": {
76
+ "content": "<|observation|>",
77
+ "single_word": false,
78
+ "lstrip": false,
79
+ "rstrip": false,
80
+ "normalized": false,
81
+ "special": true
82
+ },
83
+ "154830": {
84
+ "content": "<|begin_of_image|>",
85
+ "single_word": false,
86
+ "lstrip": false,
87
+ "rstrip": false,
88
+ "normalized": false,
89
+ "special": true
90
+ },
91
+ "154831": {
92
+ "content": "<|end_of_image|>",
93
+ "single_word": false,
94
+ "lstrip": false,
95
+ "rstrip": false,
96
+ "normalized": false,
97
+ "special": true
98
+ },
99
+ "154832": {
100
+ "content": "<|begin_of_video|>",
101
+ "single_word": false,
102
+ "lstrip": false,
103
+ "rstrip": false,
104
+ "normalized": false,
105
+ "special": true
106
+ },
107
+ "154833": {
108
+ "content": "<|end_of_video|>",
109
+ "single_word": false,
110
+ "lstrip": false,
111
+ "rstrip": false,
112
+ "normalized": false,
113
+ "special": true
114
+ },
115
+ "154834": {
116
+ "content": "<|begin_of_audio|>",
117
+ "single_word": false,
118
+ "lstrip": false,
119
+ "rstrip": false,
120
+ "normalized": false,
121
+ "special": true
122
+ },
123
+ "154835": {
124
+ "content": "<|end_of_audio|>",
125
+ "single_word": false,
126
+ "lstrip": false,
127
+ "rstrip": false,
128
+ "normalized": false,
129
+ "special": true
130
+ },
131
+ "154836": {
132
+ "content": "<|begin_of_transcription|>",
133
+ "single_word": false,
134
+ "lstrip": false,
135
+ "rstrip": false,
136
+ "normalized": false,
137
+ "special": true
138
+ },
139
+ "154837": {
140
+ "content": "<|end_of_transcription|>",
141
+ "single_word": false,
142
+ "lstrip": false,
143
+ "rstrip": false,
144
+ "normalized": false,
145
+ "special": true
146
+ },
147
+ "154838": {
148
+ "content": "<|code_prefix|>",
149
+ "single_word": false,
150
+ "lstrip": false,
151
+ "rstrip": false,
152
+ "normalized": false,
153
+ "special": false
154
+ },
155
+ "154839": {
156
+ "content": "<|code_middle|>",
157
+ "single_word": false,
158
+ "lstrip": false,
159
+ "rstrip": false,
160
+ "normalized": false,
161
+ "special": false
162
+ },
163
+ "154840": {
164
+ "content": "<|code_suffix|>",
165
+ "single_word": false,
166
+ "lstrip": false,
167
+ "rstrip": false,
168
+ "normalized": false,
169
+ "special": false
170
+ },
171
+ "154841": {
172
+ "content": "<think>",
173
+ "single_word": false,
174
+ "lstrip": false,
175
+ "rstrip": false,
176
+ "normalized": false,
177
+ "special": false
178
+ },
179
+ "154842": {
180
+ "content": "</think>",
181
+ "single_word": false,
182
+ "lstrip": false,
183
+ "rstrip": false,
184
+ "normalized": false,
185
+ "special": false
186
+ },
187
+ "154843": {
188
+ "content": "<tool_call>",
189
+ "single_word": false,
190
+ "lstrip": false,
191
+ "rstrip": false,
192
+ "normalized": false,
193
+ "special": false
194
+ },
195
+ "154844": {
196
+ "content": "</tool_call>",
197
+ "single_word": false,
198
+ "lstrip": false,
199
+ "rstrip": false,
200
+ "normalized": false,
201
+ "special": false
202
+ },
203
+ "154845": {
204
+ "content": "<tool_response>",
205
+ "single_word": false,
206
+ "lstrip": false,
207
+ "rstrip": false,
208
+ "normalized": false,
209
+ "special": false
210
+ },
211
+ "154846": {
212
+ "content": "</tool_response>",
213
+ "single_word": false,
214
+ "lstrip": false,
215
+ "rstrip": false,
216
+ "normalized": false,
217
+ "special": false
218
+ },
219
+ "154847": {
220
+ "content": "<arg_key>",
221
+ "single_word": false,
222
+ "lstrip": false,
223
+ "rstrip": false,
224
+ "normalized": false,
225
+ "special": false
226
+ },
227
+ "154848": {
228
+ "content": "</arg_key>",
229
+ "single_word": false,
230
+ "lstrip": false,
231
+ "rstrip": false,
232
+ "normalized": false,
233
+ "special": false
234
+ },
235
+ "154849": {
236
+ "content": "<arg_value>",
237
+ "single_word": false,
238
+ "lstrip": false,
239
+ "rstrip": false,
240
+ "normalized": false,
241
+ "special": false
242
+ },
243
+ "154850": {
244
+ "content": "</arg_value>",
245
+ "single_word": false,
246
+ "lstrip": false,
247
+ "rstrip": false,
248
+ "normalized": false,
249
+ "special": false
250
+ },
251
+ "154851": {
252
+ "content": "/nothink",
253
+ "single_word": false,
254
+ "lstrip": false,
255
+ "rstrip": false,
256
+ "normalized": false,
257
+ "special": false
258
+ },
259
+ "154852": {
260
+ "content": "<|begin_of_box|>",
261
+ "single_word": false,
262
+ "lstrip": false,
263
+ "rstrip": false,
264
+ "normalized": false,
265
+ "special": false
266
+ },
267
+ "154853": {
268
+ "content": "<|end_of_box|>",
269
+ "single_word": false,
270
+ "lstrip": false,
271
+ "rstrip": false,
272
+ "normalized": false,
273
+ "special": false
274
+ },
275
+ "154854": {
276
+ "content": "<|image|>",
277
+ "single_word": false,
278
+ "lstrip": false,
279
+ "rstrip": false,
280
+ "normalized": false,
281
+ "special": false
282
+ },
283
+ "154855": {
284
+ "content": "<|video|>",
285
+ "single_word": false,
286
+ "lstrip": false,
287
+ "rstrip": false,
288
+ "normalized": false,
289
+ "special": false
290
+ }
291
+ },
292
+ "additional_special_tokens": [
293
+ "<|endoftext|>",
294
+ "[MASK]",
295
+ "[gMASK]",
296
+ "[sMASK]",
297
+ "<sop>",
298
+ "<eop>",
299
+ "<|system|>",
300
+ "<|user|>",
301
+ "<|assistant|>",
302
+ "<|observation|>",
303
+ "<|begin_of_image|>",
304
+ "<|end_of_image|>",
305
+ "<|begin_of_video|>",
306
+ "<|end_of_video|>",
307
+ "<|begin_of_audio|>",
308
+ "<|end_of_audio|>",
309
+ "<|begin_of_transcription|>",
310
+ "<|end_of_transcription|>"
311
+ ],
312
+ "clean_up_tokenization_spaces": false,
313
+ "do_lower_case": false,
314
+ "eos_token": "<|endoftext|>",
315
+ "extra_special_tokens": {},
316
+ "model_max_length": 128000,
317
+ "pad_token": "<|endoftext|>",
318
+ "padding_side": "left",
319
+ "remove_space": false,
320
+ "tokenizer_class": "PreTrainedTokenizer"
321
+ }