alibayram commited on
Commit
f957e8d
·
verified ·
1 Parent(s): a7b8bf8

Publish Magibu AI Altus tokenizer

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
LICENSE ADDED
@@ -0,0 +1,201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
NOTICE ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Altus Tokenizer
2
+ Copyright 2026 Magibu AI Research
3
+
4
+ This distribution contains tokenizer and processor artifacts derived from
5
+ google/gemma-4-31B-it, distributed under the Apache License, Version 2.0:
6
+ https://huggingface.co/google/gemma-4-31B-it
7
+
8
+ Magibu AI Research modified the vocabulary and merge rules by integrating the
9
+ Magibu Turkish-focused BPE vocabulary, added an ID mapping artifact, localized
10
+ the chat template, and applied the Altus product identity.
11
+
12
+ This distribution contains no model weights from the upstream repository.
README.md ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ library_name: transformers
4
+ base_model: google/gemma-4-31B-it
5
+ language:
6
+ - tr
7
+ tags:
8
+ - tokenizer
9
+ - bpe
10
+ - turkish
11
+ - multimodal
12
+ - magibu-ai
13
+ ---
14
+
15
+ # Altus — Magibu AI Türkçe Odaklı Tokenizer
16
+
17
+ Altus, Magibu AI Research tarafından Türkçe ve diğer düşük kaynaklı dillerde daha verimli çalışacak modellerin eğitiminde kullanılmak üzere hazırlanmış çok modlu bir BPE tokenizer/processor paketidir.
18
+
19
+ Bu repo model ağırlıkları içermez. Yalnızca tokenizer, processor, sohbet şablonu ve birleştirilmiş token ID'lerini kaynak tokenizer ID'lerine eşleyen dosyaları içerir.
20
+
21
+ ## Temel özellikler
22
+
23
+ - Magibu AI kimliğiyle markalanmış, varsayılan yanıt dili Türkçe olan sohbet şablonu
24
+ - Metin, görsel, video, ses, düşünme ve araç çağırma akışlarıyla uyumlu processor yapısı
25
+ - Kaynak tokenizer'ın boşluk işareti (`▁`) gösterimine dönüştürülmüş Magibu BPE söz varlığı
26
+ - Eğitim sırasında embedding aktarımı için `merged-to-original-token-ids.json`
27
+
28
+ ## Birleşim ayrıntıları
29
+
30
+ | Alan | Değer |
31
+ |---|---:|
32
+ | Kaynak hedef tokenizer model söz varlığı | 262.144 |
33
+ | Magibu kaynak model söz varlığı | 65.536 |
34
+ | Enjekte edilen yeni token | 42.484 |
35
+ | Sınır nedeniyle kaldırılan hedef token | 42.484 |
36
+ | Son model ve toplam söz varlığı | 262.144 |
37
+ | Kaynak merge kuralı eklemesi | 147.769 |
38
+ | Korunan hedef merge kuralı | 373.163 |
39
+
40
+ Birleştirme işlemi toplam söz varlığını `2^18` token ile sınırlar. Teknik sınıf adları ve özel token protokolü Hugging Face Transformers uyumluluğunu korumak için değiştirilmemiştir.
41
+
42
+ ## Kullanım
43
+
44
+ ```python
45
+ from transformers import AutoProcessor
46
+
47
+ processor = AutoProcessor.from_pretrained("magibu/Altus")
48
+ messages = [
49
+ {"role": "user", "content": "Türkçe için verimli tokenizasyon neden önemlidir?"}
50
+ ]
51
+
52
+ prompt = processor.apply_chat_template(
53
+ messages,
54
+ tokenize=False,
55
+ add_generation_prompt=True,
56
+ )
57
+ print(prompt)
58
+ ```
59
+
60
+ Doğrudan tokenizasyon:
61
+
62
+ ```python
63
+ from transformers import AutoTokenizer
64
+
65
+ tokenizer = AutoTokenizer.from_pretrained("magibu/Altus")
66
+ encoded = tokenizer("Türkçe doğal dil işleme")
67
+ print(encoded.input_ids)
68
+ ```
69
+
70
+ ## Token ID eşlemesi
71
+
72
+ `merged-to-original-token-ids.json`, birleştirilmiş tokenizer'daki her ID'yi kaynak hedef tokenizer'daki bir veya daha fazla ID ile eşler. Bu dosya, genişletilmiş söz varlığıyla model eğitimine başlarken embedding'leri kaynak modelden başlatmak için kullanılabilir.
73
+
74
+ ## Kaynak ve provenans
75
+
76
+ Altus, Magibu AI tarafından geliştirilen 65.536 birimlik BPE söz varlığının [google/gemma-4-31B-it](https://huggingface.co/google/gemma-4-31B-it) tokenizer altyapısıyla birleştirilmesiyle hazırlanmıştır. Bu paket Magibu AI tarafından değiştirilmiş ve yeniden markalanmış bir tokenizer/processor dağıtımıdır; kaynak model ağırlıklarını içermez.
77
+
78
+ Kaynak artifact'ler ve bu dağıtım Apache License 2.0 kapsamındadır. Ayrıntılar için `LICENSE` ve `NOTICE` dosyalarına bakın.
79
+
80
+ ## Magibu AI Research
81
+
82
+ Magibu AI, Türkçe ve diğer düşük kaynaklı diller için doğal dil işleme ve yapay zekâ teknolojileri geliştiren, Türkiye merkezli disiplinler arası bir araştırma grubudur.
83
+
84
+ - Web: [magibu.ai](https://magibu.ai)
85
+ - Hugging Face: [huggingface.co/magibu](https://huggingface.co/magibu)
86
+ - E-posta: info@magibu.ai
87
+
88
+ > Türkçe ve düşük kaynaklı diller için yapay zekâyı teoriden gerçek dünya uygulamalarına taşıyoruz.
chat_template.jinja ADDED
@@ -0,0 +1,399 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {#
2
+ Magibu AI Altus Sohbet Şablonu
3
+ Türkçe varsayılan yanıt, çok modlu içerik ve araç çağırma desteği.
4
+ #}
5
+ {%- set magibu_brand = 'Sen, Magibu AI tarafından geliştirilen Altus adlı bir yapay zekâ asistanısın.' -%}
6
+ {%- set magibu_language = 'Varsayılan olarak Türkçe yanıt ver; kullanıcı açıkça başka bir dil isterse istenen dili kullan.' -%}
7
+ {%- set magibu_identity = magibu_brand + ' ' + magibu_language -%}
8
+ {%- macro format_parameters(properties, required, filter_keys=false) -%}
9
+ {%- set standard_keys = ['description', 'type', 'properties', 'required', 'nullable'] -%}
10
+ {%- set ns = namespace(found_first=false) -%}
11
+ {%- for key, value in properties | dictsort -%}
12
+ {%- set add_comma = false -%}
13
+ {%- if not filter_keys or key not in standard_keys -%}
14
+ {%- if ns.found_first %},{% endif -%}
15
+ {%- set ns.found_first = true -%}
16
+ {{ key }}:{
17
+ {%- if value['description'] -%}
18
+ description:<|"|>{{ value['description'] }}<|"|>
19
+ {%- set add_comma = true -%}
20
+ {%- endif -%}
21
+ {%- if value['type'] | upper == 'STRING' -%}
22
+ {%- if value['enum'] -%}
23
+ {%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}
24
+ enum:{{ format_argument(value['enum']) }}
25
+ {%- endif -%}
26
+ {%- elif value['type'] | upper == 'ARRAY' -%}
27
+ {%- if value['items'] is mapping and value['items'] -%}
28
+ {%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}
29
+ items:{
30
+ {%- set ns_items = namespace(found_first=false) -%}
31
+ {%- for item_key, item_value in value['items'] | dictsort -%}
32
+ {%- if item_value is not none -%}
33
+ {%- if ns_items.found_first %},{% endif -%}
34
+ {%- set ns_items.found_first = true -%}
35
+ {%- if item_key == 'properties' -%}
36
+ properties:{
37
+ {%- if item_value is mapping -%}
38
+ {{- format_parameters(item_value, value['items']['required'] | default([])) -}}
39
+ {%- endif -%}
40
+ }
41
+ {%- elif item_key == 'required' -%}
42
+ required:[
43
+ {%- for req_item in item_value -%}
44
+ <|"|>{{- req_item -}}<|"|>
45
+ {%- if not loop.last %},{% endif -%}
46
+ {%- endfor -%}
47
+ ]
48
+ {%- elif item_key == 'type' -%}
49
+ {%- if item_value is string -%}
50
+ type:{{ format_argument(item_value | upper) }}
51
+ {%- else -%}
52
+ type:{{ format_argument(item_value | map('upper') | list) }}
53
+ {%- endif -%}
54
+ {%- else -%}
55
+ {{ item_key }}:{{ format_argument(item_value) }}
56
+ {%- endif -%}
57
+ {%- endif -%}
58
+ {%- endfor -%}
59
+ }
60
+ {%- endif -%}
61
+ {%- endif -%}
62
+ {%- if value['nullable'] %}
63
+ {%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}
64
+ nullable:true
65
+ {%- endif -%}
66
+ {%- if value['type'] | upper == 'OBJECT' -%}
67
+ {%- if value['properties'] is defined and value['properties'] is mapping -%}
68
+ {%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}
69
+ properties:{
70
+ {{- format_parameters(value['properties'], value['required'] | default([])) -}}
71
+ }
72
+ {%- elif value is mapping -%}
73
+ {%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}
74
+ properties:{
75
+ {{- format_parameters(value, value['required'] | default([]), filter_keys=true) -}}
76
+ }
77
+ {%- endif -%}
78
+ {%- if value['required'] -%}
79
+ {%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}
80
+ required:[
81
+ {%- for item in value['required'] | default([]) -%}
82
+ <|"|>{{- item -}}<|"|>
83
+ {%- if not loop.last %},{% endif -%}
84
+ {%- endfor -%}
85
+ ]
86
+ {%- endif -%}
87
+ {%- endif -%}
88
+ {%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}
89
+ type:<|"|>{{ value['type'] | upper }}<|"|>}
90
+ {%- endif -%}
91
+ {%- endfor -%}
92
+ {%- endmacro -%}
93
+ {%- macro format_function_declaration(tool_data) -%}
94
+ declaration:{{- tool_data['function']['name'] -}}{description:<|"|>{{- tool_data['function']['description'] -}}<|"|>
95
+ {%- set params = tool_data['function']['parameters'] -%}
96
+ {%- if params -%}
97
+ ,parameters:{
98
+ {%- if params['properties'] -%}
99
+ properties:{ {{- format_parameters(params['properties'], params['required']) -}} },
100
+ {%- endif -%}
101
+ {%- if params['required'] -%}
102
+ required:[
103
+ {%- for item in params['required'] -%}
104
+ <|"|>{{- item -}}<|"|>
105
+ {{- ',' if not loop.last -}}
106
+ {%- endfor -%}
107
+ ],
108
+ {%- endif -%}
109
+ {%- if params['type'] -%}
110
+ type:<|"|>{{- params['type'] | upper -}}<|"|>}
111
+ {%- endif -%}
112
+ {%- endif -%}
113
+ {%- if 'response' in tool_data['function'] -%}
114
+ {%- set response_declaration = tool_data['function']['response'] -%}
115
+ ,response:{
116
+ {%- if response_declaration['description'] -%}
117
+ description:<|"|>{{- response_declaration['description'] -}}<|"|>,
118
+ {%- endif -%}
119
+ {%- if response_declaration['type'] | upper == 'OBJECT' -%}
120
+ type:<|"|>{{- response_declaration['type'] | upper -}}<|"|>}
121
+ {%- endif -%}
122
+ {%- endif -%}
123
+ }
124
+ {%- endmacro -%}
125
+ {%- macro format_argument(argument, escape_keys=True) -%}
126
+ {%- if argument is none -%}
127
+ {{- 'null' -}}
128
+ {%- elif argument is string -%}
129
+ {{- '<|"|>' + argument + '<|"|>' -}}
130
+ {%- elif argument is boolean -%}
131
+ {{- 'true' if argument else 'false' -}}
132
+ {%- elif argument is mapping -%}
133
+ {{- '{' -}}
134
+ {%- set ns = namespace(found_first=false) -%}
135
+ {%- for key, value in argument | dictsort -%}
136
+ {%- if ns.found_first %},{% endif -%}
137
+ {%- set ns.found_first = true -%}
138
+ {%- if escape_keys -%}
139
+ {{- '<|"|>' + key + '<|"|>' -}}
140
+ {%- else -%}
141
+ {{- key -}}
142
+ {%- endif -%}
143
+ :{{- format_argument(value, escape_keys=escape_keys) -}}
144
+ {%- endfor -%}
145
+ {{- '}' -}}
146
+ {%- elif argument is sequence -%}
147
+ {{- '[' -}}
148
+ {%- for item in argument -%}
149
+ {{- format_argument(item, escape_keys=escape_keys) -}}
150
+ {%- if not loop.last %},{% endif -%}
151
+ {%- endfor -%}
152
+ {{- ']' -}}
153
+ {%- else -%}
154
+ {{- argument -}}
155
+ {%- endif -%}
156
+ {%- endmacro -%}
157
+ {%- macro strip_thinking(text) -%}
158
+ {%- set ns = namespace(result='') -%}
159
+ {%- for part in text.split('<channel|>') -%}
160
+ {%- if '<|channel>' in part -%}
161
+ {%- set ns.result = ns.result + part.split('<|channel>')[0] -%}
162
+ {%- else -%}
163
+ {%- set ns.result = ns.result + part -%}
164
+ {%- endif -%}
165
+ {%- endfor -%}
166
+ {{- ns.result | trim -}}
167
+ {%- endmacro -%}
168
+
169
+ {%- macro format_tool_response_block(tool_name, response) -%}
170
+ {{- '<|tool_response>' -}}
171
+ {%- if response is mapping -%}
172
+ {{- 'response:' + tool_name + '{' -}}
173
+ {%- for key, value in response | dictsort -%}
174
+ {{- key -}}:{{- format_argument(value, escape_keys=False) -}}
175
+ {%- if not loop.last %},{% endif -%}
176
+ {%- endfor -%}
177
+ {{- '}' -}}
178
+ {%- else -%}
179
+ {{- 'response:' + tool_name + '{value:' + format_argument(response, escape_keys=False) + '}' -}}
180
+ {%- endif -%}
181
+ {{- '<tool_response|>' -}}
182
+ {%- endmacro -%}
183
+
184
+ {#- ===== KURULUM ===== -#}
185
+ {%- set ns = namespace(prev_message_type=None, prev_non_tool_role=None) -%}
186
+ {%- set loop_messages = messages -%}
187
+ {%- set enable_thinking = enable_thinking | default(false) -%}
188
+ {%- set preserve_thinking = preserve_thinking | default(false) -%}
189
+ {{- bos_token -}}
190
+ {#- Sistem ve araç tanımları bloğu -#}
191
+ {%- set supplied_system_content -%}
192
+ {%- if messages and messages[0]['role'] in ['system', 'developer'] -%}
193
+ {%- if messages[0]['content'] is string -%}
194
+ {{- messages[0]['content'] | trim -}}
195
+ {%- elif messages[0]['content'] is sequence -%}
196
+ {%- for item in messages[0]['content'] -%}
197
+ {{- item['text'] | trim + ' ' -}}
198
+ {%- endfor -%}
199
+ {%- endif -%}
200
+ {%- endif -%}
201
+ {%- endset -%}
202
+ {%- if messages and messages[0]['role'] in ['system', 'developer'] -%}
203
+ {%- set loop_messages = messages[1:] -%}
204
+ {%- endif -%}
205
+ {{- '<|turn>system\n' -}}
206
+ {#- Düşünme tokenı yerel protokol gereği ilk sırada kalır. -#}
207
+ {%- if enable_thinking -%}
208
+ {{- '<|think|>\n' -}}
209
+ {%- set ns.prev_message_type = 'think' -%}
210
+ {%- endif -%}
211
+ {{- magibu_identity -}}
212
+ {%- set supplied_system_content = supplied_system_content | replace(magibu_identity, '') | replace(magibu_brand, '') | replace(magibu_language, '') | trim -%}
213
+ {%- if supplied_system_content -%}
214
+ {{- '\n\n' + supplied_system_content -}}
215
+ {%- endif -%}
216
+ {%- if tools -%}
217
+ {{- '\n\n' -}}
218
+ {%- for tool in tools %}
219
+ {{- '<|tool>' -}}
220
+ {{- format_function_declaration(tool) | trim -}}
221
+ {{- '<tool|>' -}}
222
+ {%- endfor %}
223
+ {%- set ns.prev_message_type = 'tool' -%}
224
+ {%- endif -%}
225
+ {{- '<turn|>\n' -}}
226
+
227
+ {#- Pre-scan: find last user message index for reasoning guard -#}
228
+ {%- set ns_turn = namespace(last_user_idx=-1) -%}
229
+ {%- for i in range(loop_messages | length) -%}
230
+ {%- if loop_messages[i]['role'] == 'user' -%}
231
+ {%- set ns_turn.last_user_idx = i -%}
232
+ {%- endif -%}
233
+ {%- endfor -%}
234
+
235
+ {#- Loop through messages -#}
236
+ {%- for message in loop_messages -%}
237
+ {%- if message['role'] != 'tool' -%}
238
+ {%- set ns.prev_message_type = None -%}
239
+ {%- set role = 'model' if message['role'] == 'assistant' else message['role'] -%}
240
+ {#- Detect continuation using tracked state — O(1) instead of O(n) backward scan -#}
241
+ {%- set continue_same_model_turn = (role == 'model' and ns.prev_non_tool_role == 'assistant') -%}
242
+ {%- if not continue_same_model_turn -%}
243
+ {{- '<|turn>' + role + '\n' }}
244
+
245
+ {%- endif -%}
246
+
247
+ {#- Render reasoning/reasoning_content as thinking channel -#}
248
+ {%- set thinking_text = message.get('reasoning') or message.get('reasoning_content') -%}
249
+ {%- set thinking_gate = (loop.index0 > ns_turn.last_user_idx) or (preserve_thinking and message.get('tool_calls')) -%}
250
+ {%- if thinking_text and thinking_gate -%}
251
+ {{- '<|channel>thought\n' + thinking_text + '\n<channel|>' -}}
252
+ {%- endif -%}
253
+
254
+ {%- if message.get('tool_calls') -%}
255
+ {%- for tool_call in message.get('tool_calls') -%}
256
+ {%- set function = tool_call['function'] -%}
257
+ {{- '<|tool_call>call:' + function['name'] + '{' -}}
258
+ {%- if function['arguments'] is mapping -%}
259
+ {%- set ns_args = namespace(found_first=false) -%}
260
+ {%- for key, value in function['arguments'] | dictsort -%}
261
+ {%- if ns_args.found_first %},{% endif -%}
262
+ {%- set ns_args.found_first = true -%}
263
+ {{- key -}}:{{- format_argument(value, escape_keys=False) -}}
264
+ {%- endfor -%}
265
+ {%- elif function['arguments'] is none -%}
266
+ {%- else -%}
267
+ {{- raise_exception(
268
+ "chat_template: tool_calls[].function.arguments bir dize değil, "
269
+ "JSON nesnesi (mapping) olmalıdır. Argümanları şablona "
270
+ "aktarmadan önce ayrıştırın."
271
+ ) -}}
272
+ {%- endif -%}
273
+ {{- '}<tool_call|>' -}}
274
+ {%- endfor -%}
275
+ {%- set ns.prev_message_type = 'tool_call' -%}
276
+ {%- endif -%}
277
+
278
+ {%- set ns_tr_out = namespace(flag=false) -%}
279
+ {%- if message.get('tool_responses') -%}
280
+ {#- Legacy: tool_responses embedded on the assistant message (Google/Gemma native) -#}
281
+ {%- for tool_response in message.get('tool_responses') -%}
282
+ {{- format_tool_response_block(tool_response['name'] | default('unknown', true), tool_response['response']) -}}
283
+ {%- set ns_tr_out.flag = true -%}
284
+ {%- set ns.prev_message_type = 'tool_response' -%}
285
+ {%- endfor -%}
286
+ {%- elif message.get('tool_calls') -%}
287
+ {#- OpenAI Chat Completions: forward-scan consecutive role:tool messages -#}
288
+ {%- set ns_tool_scan = namespace(stopped=false) -%}
289
+ {%- for k in range(loop.index0 + 1, loop_messages | length) -%}
290
+ {%- if ns_tool_scan.stopped -%}
291
+ {%- elif loop_messages[k]['role'] != 'tool' -%}
292
+ {%- set ns_tool_scan.stopped = true -%}
293
+ {%- else -%}
294
+ {%- set follow = loop_messages[k] -%}
295
+ {#- Resolve tool_call_id to function name -#}
296
+ {%- set ns_tname = namespace(name=follow.get('name') or 'unknown') -%}
297
+ {%- for tc in message.get('tool_calls') -%}
298
+ {%- if tc.get('id') == follow.get('tool_call_id') -%}
299
+ {%- set ns_tname.name = tc['function']['name'] -%}
300
+ {%- endif -%}
301
+ {%- endfor -%}
302
+ {#- Handle content as string or content-parts array -#}
303
+ {%- set tool_body = follow.get('content') -%}
304
+ {%- if tool_body is string -%}
305
+ {{- format_tool_response_block(ns_tname.name, tool_body) -}}
306
+ {%- elif tool_body is sequence and tool_body is not string -%}
307
+ {%- set ns_txt = namespace(s='') -%}
308
+ {%- for part in tool_body -%}
309
+ {%- if part.get('type') == 'text' -%}
310
+ {%- set ns_txt.s = ns_txt.s + (part.get('text') | default('')) -%}
311
+ {%- endif -%}
312
+ {%- endfor -%}
313
+ {{- format_tool_response_block(ns_tname.name, ns_txt.s) -}}
314
+ {%- for part in tool_body -%}
315
+ {%- if part.get('type') in ['image', 'image_url'] -%}
316
+ {{- '<|image|>' -}}
317
+ {%- elif part.get('type') in ['audio', 'input_audio'] -%}
318
+ {{- '<|audio|>' -}}
319
+ {%- elif part.get('type') == 'video' -%}
320
+ {{- '<|video|>' -}}
321
+ {%- endif -%}
322
+ {%- endfor -%}
323
+ {%- else -%}
324
+ {{- format_tool_response_block(ns_tname.name, tool_body) -}}
325
+ {%- endif -%}
326
+ {%- set ns_tr_out.flag = true -%}
327
+ {%- set ns.prev_message_type = 'tool_response' -%}
328
+ {%- endif -%}
329
+ {%- endfor -%}
330
+ {%- endif -%}
331
+
332
+ {%- set captured_content -%}
333
+ {%- if message.get('content') is string -%}
334
+ {%- if role == 'model' -%}
335
+ {{- strip_thinking(message['content']) -}}
336
+ {%- else -%}
337
+ {{- message['content'] | trim -}}
338
+ {%- endif -%}
339
+ {%- elif message.get('content') is sequence -%}
340
+ {%- for item in message['content'] -%}
341
+ {%- if item.get('type') == 'text' -%}
342
+ {%- if role == 'model' -%}
343
+ {{- strip_thinking(item['text']) -}}
344
+ {%- else -%}
345
+ {{- item['text'] | trim -}}
346
+ {%- endif -%}
347
+ {%- elif item.get('type') in ['image', 'image_url'] -%}
348
+ {{- '<|image|>' -}}
349
+ {%- elif item.get('type') in ['audio', 'input_audio'] -%}
350
+ {{- '<|audio|>' -}}
351
+ {%- elif item.get('type') == 'video' -%}
352
+ {{- '<|video|>' -}}
353
+ {%- endif -%}
354
+ {%- endfor -%}
355
+ {%- endif -%}
356
+ {%- endset -%}
357
+
358
+ {{- captured_content -}}
359
+ {%- set has_content = captured_content | trim | length > 0 -%}
360
+
361
+ {#- Forward-scan: find next non-tool message role for continuation detection -#}
362
+ {%- set next_nt = namespace(role=None, found=false) -%}
363
+ {%- for j in range(loop.index0 + 1, loop_messages | length) -%}
364
+ {%- if not next_nt.found -%}
365
+ {%- if loop_messages[j]['role'] != 'tool' -%}
366
+ {%- set next_nt.role = loop_messages[j]['role'] -%}
367
+ {%- set next_nt.found = true -%}
368
+ {%- endif -%}
369
+ {%- endif -%}
370
+ {%- endfor -%}
371
+
372
+ {%- set continues_into_next = (
373
+ role == 'model'
374
+ and next_nt.role == 'assistant'
375
+ and (not message.get('tool_calls') or ns_tr_out.flag)
376
+ ) -%}
377
+
378
+ {%- if ns.prev_message_type == 'tool_call' and not ns_tr_out.flag -%}
379
+ {{- '<|tool_response>' -}}
380
+ {%- elif continues_into_next -%}
381
+ {%- elif not (ns_tr_out.flag and not has_content and not next_nt.found) -%}
382
+ {{- '<turn|>\n' -}}
383
+ {%- endif -%}
384
+
385
+ {#- Track previous non-tool role for next iteration (avoids O(n) backward scan) -#}
386
+ {%- set ns.prev_non_tool_role = message['role'] -%}
387
+ {%- endif -%}
388
+ {%- endfor -%}
389
+
390
+ {%- if add_generation_prompt -%}
391
+ {%- if ns.prev_message_type != 'tool_response' and ns.prev_message_type != 'tool_call' -%}
392
+ {{- '<|turn>model\n' -}}
393
+ {%- if not enable_thinking -%}
394
+ {{- '<|channel>thought\n<channel|>' -}}
395
+ {%- endif -%}
396
+ {%- elif ns.prev_message_type == 'tool_response' and enable_thinking -%}
397
+ {{- '<|channel>thought\n' -}}
398
+ {%- endif -%}
399
+ {%- endif -%}
merged-to-original-token-ids.json ADDED
The diff for this file is too large to render. See raw diff
 
processor_config.json ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "audio_ms_per_token": 40,
3
+ "audio_seq_length": 750,
4
+ "feature_extractor": {
5
+ "dither": 0.0,
6
+ "feature_extractor_type": "Gemma4AudioFeatureExtractor",
7
+ "feature_size": 128,
8
+ "fft_length": 512,
9
+ "fft_overdrive": false,
10
+ "frame_length": 320,
11
+ "hop_length": 160,
12
+ "input_scale_factor": 1.0,
13
+ "max_frequency": 8000.0,
14
+ "mel_floor": 0.001,
15
+ "min_frequency": 0.0,
16
+ "padding_side": "right",
17
+ "padding_value": 0.0,
18
+ "per_bin_mean": null,
19
+ "per_bin_stddev": null,
20
+ "preemphasis": 0.0,
21
+ "preemphasis_htk_flavor": true,
22
+ "return_attention_mask": true,
23
+ "sampling_rate": 16000
24
+ },
25
+ "image_processor": {
26
+ "do_convert_rgb": true,
27
+ "do_normalize": false,
28
+ "do_rescale": true,
29
+ "do_resize": true,
30
+ "image_mean": [
31
+ 0.0,
32
+ 0.0,
33
+ 0.0
34
+ ],
35
+ "image_processor_type": "Gemma4ImageProcessor",
36
+ "image_seq_length": 280,
37
+ "image_std": [
38
+ 1.0,
39
+ 1.0,
40
+ 1.0
41
+ ],
42
+ "max_soft_tokens": 280,
43
+ "patch_size": 16,
44
+ "pooling_kernel_size": 3,
45
+ "resample": 3,
46
+ "rescale_factor": 0.00392156862745098
47
+ },
48
+ "image_seq_length": 280,
49
+ "processor_class": "Gemma4Processor",
50
+ "video_processor": {
51
+ "do_convert_rgb": true,
52
+ "do_normalize": true,
53
+ "do_rescale": true,
54
+ "do_resize": true,
55
+ "do_sample_frames": true,
56
+ "image_mean": [
57
+ 0.0,
58
+ 0.0,
59
+ 0.0
60
+ ],
61
+ "image_std": [
62
+ 1.0,
63
+ 1.0,
64
+ 1.0
65
+ ],
66
+ "max_soft_tokens": 70,
67
+ "num_frames": 32,
68
+ "patch_size": 16,
69
+ "pooling_kernel_size": 3,
70
+ "resample": 3,
71
+ "rescale_factor": 0.00392156862745098,
72
+ "return_metadata": false,
73
+ "video_processor_type": "Gemma4VideoProcessor"
74
+ }
75
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f4296c62688769aabed925390a1144a6b9619bb3fb085385db272a74809e0cb3
3
+ size 32520261
tokenizer_config.json ADDED
@@ -0,0 +1,142 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "audio_token": "<|audio|>",
3
+ "backend": "tokenizers",
4
+ "boa_token": "<|audio>",
5
+ "boi_token": "<|image>",
6
+ "bos_token": "<bos>",
7
+ "eoa_token": "<audio|>",
8
+ "eoc_token": "<channel|>",
9
+ "eoi_token": "<image|>",
10
+ "eos_token": "<eos>",
11
+ "eot_token": "<turn|>",
12
+ "escape_token": "<|\"|>",
13
+ "etc_token": "<tool_call|>",
14
+ "etd_token": "<tool|>",
15
+ "etr_token": "<tool_response|>",
16
+ "extra_special_tokens": [
17
+ "<|video|>"
18
+ ],
19
+ "image_token": "<|image|>",
20
+ "is_local": false,
21
+ "local_files_only": false,
22
+ "mask_token": "<mask>",
23
+ "model_max_length": 1000000000000000019884624838656,
24
+ "model_specific_special_tokens": {
25
+ "audio_token": "<|audio|>",
26
+ "boa_token": "<|audio>",
27
+ "boi_token": "<|image>",
28
+ "eoa_token": "<audio|>",
29
+ "eoc_token": "<channel|>",
30
+ "eoi_token": "<image|>",
31
+ "eot_token": "<turn|>",
32
+ "escape_token": "<|\"|>",
33
+ "etc_token": "<tool_call|>",
34
+ "etd_token": "<tool|>",
35
+ "etr_token": "<tool_response|>",
36
+ "image_token": "<|image|>",
37
+ "soc_token": "<|channel>",
38
+ "sot_token": "<|turn>",
39
+ "stc_token": "<|tool_call>",
40
+ "std_token": "<|tool>",
41
+ "str_token": "<|tool_response>",
42
+ "think_token": "<|think|>"
43
+ },
44
+ "pad_token": "<pad>",
45
+ "padding_side": "left",
46
+ "processor_class": "Gemma4Processor",
47
+ "response_schema": {
48
+ "properties": {
49
+ "content": {
50
+ "type": "string"
51
+ },
52
+ "role": {
53
+ "const": "assistant"
54
+ },
55
+ "thinking": {
56
+ "type": "string"
57
+ },
58
+ "tool_calls": {
59
+ "items": {
60
+ "properties": {
61
+ "function": {
62
+ "properties": {
63
+ "arguments": {
64
+ "additionalProperties": {},
65
+ "type": "object",
66
+ "x-parser": "gemma4-tool-call"
67
+ },
68
+ "name": {
69
+ "type": "string"
70
+ }
71
+ },
72
+ "type": "object",
73
+ "x-regex": "call\\:(?P<name>\\w+)(?P<arguments>\\{.*\\})"
74
+ },
75
+ "type": {
76
+ "const": "function"
77
+ }
78
+ },
79
+ "type": "object"
80
+ },
81
+ "type": "array",
82
+ "x-regex-iterator": "<\\|tool_call>(.*?)<tool_call\\|>"
83
+ }
84
+ },
85
+ "type": "object",
86
+ "x-regex": "(\\<\\|channel\\>thought\\n(?P<thinking>.*?)\\<channel\\|\\>)?(?P<tool_calls>\\<\\|tool_call\\>.*\\<tool_call\\|\\>)?(?P<content>(?:(?!\\<turn\\|\\>)(?!\\<\\|tool_response\\>).)+)?(?:\\<turn\\|\\>|\\<\\|tool_response\\>)?"
87
+ },
88
+ "response_template": {
89
+ "defaults": {
90
+ "role": "assistant"
91
+ },
92
+ "fields": {
93
+ "content": {
94
+ "close": [
95
+ "<turn|>",
96
+ "<|tool_response>",
97
+ "<eos>"
98
+ ],
99
+ "content": "text"
100
+ },
101
+ "thinking": {
102
+ "close": "<channel|>",
103
+ "content": "text",
104
+ "open": "<|channel>thought\n"
105
+ },
106
+ "tool_calls": {
107
+ "close": "<tool_call|>",
108
+ "content": "json",
109
+ "content_args": {
110
+ "string_delims": [
111
+ [
112
+ "<|\"|>",
113
+ "<|\"|>"
114
+ ]
115
+ ],
116
+ "unquoted_keys": true
117
+ },
118
+ "open_pattern": "<\\|tool_call>call:(?P<name>\\w+)",
119
+ "repeats": true,
120
+ "transform": {
121
+ "function": {
122
+ "arguments": "{content}",
123
+ "name": "{name}"
124
+ },
125
+ "type": "function"
126
+ }
127
+ }
128
+ },
129
+ "start_anchor": [
130
+ "<|turn>model\n",
131
+ "<tool_response|>"
132
+ ]
133
+ },
134
+ "soc_token": "<|channel>",
135
+ "sot_token": "<|turn>",
136
+ "stc_token": "<|tool_call>",
137
+ "std_token": "<|tool>",
138
+ "str_token": "<|tool_response>",
139
+ "think_token": "<|think|>",
140
+ "tokenizer_class": "GemmaTokenizer",
141
+ "unk_token": "<unk>"
142
+ }