turboderp commited on
Commit
ce5d82e
·
verified ·
1 Parent(s): 05a9896

Upload folder using huggingface_hub

Browse files
README.md CHANGED
@@ -1,22 +1,228 @@
1
  ---
2
  license: apache-2.0
3
- base_model: allenai/Olmo-Hybrid-Instruct-SFT-7B
4
- base_model_relation: quantized
5
- quantized_by: turboderp
6
- tags:
7
- - exl3
 
 
 
8
  ---
 
9
 
10
- EXL3 quants of [Olmo-Hybrid-Instruct-SFT-7B](https://huggingface.co/allenai/Olmo-Hybrid-Instruct-SFT-7B)
11
 
12
- ⚠️ Requires ExLlamaV3 v0.0.26 (or v0.0.25 `dev` branch)
13
 
14
- [2.00 bits per weight](https://huggingface.co/turboderp/Olmo-Hybrid-Instruct-SFT-7B-exl3/tree/2.00bpw)
15
- [2.50 bits per weight](https://huggingface.co/turboderp/Olmo-Hybrid-Instruct-SFT-7B-exl3/tree/2.50bpw)
16
- [3.00 bits per weight](https://huggingface.co/turboderp/Olmo-Hybrid-Instruct-SFT-7B-exl3/tree/3.00bpw)
17
- [3.50 bits per weight](https://huggingface.co/turboderp/Olmo-Hybrid-Instruct-SFT-7B-exl3/tree/3.50bpw)
18
- [4.00 bits per weight](https://huggingface.co/turboderp/Olmo-Hybrid-Instruct-SFT-7B-exl3/tree/4.00bpw)
19
- [5.00 bits per weight](https://huggingface.co/turboderp/Olmo-Hybrid-Instruct-SFT-7B-exl3/tree/5.00bpw)
20
- [6.00 bits per weight](https://huggingface.co/turboderp/Olmo-Hybrid-Instruct-SFT-7B-exl3/tree/6.00bpw)
21
 
22
- ![kld](https://cdn-uploads.huggingface.co/production/uploads/6383dc174c48969dcf1b4fce/uaFw4Q9IGpy2Xm52o46wB.png)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: apache-2.0
3
+ datasets:
4
+ - allenai/Dolci-Instruct-SFT-Tool-Use-SA
5
+ - allenai/Dolci-Instruct-SFT
6
+ language:
7
+ - en
8
+ base_model:
9
+ - allenai/Olmo-Hybrid-7B
10
+ library_name: transformers
11
  ---
12
+ ## Model Details
13
 
 
14
 
15
+ # Model Card for Olmo Hybrid Instruct SFT
16
 
17
+ We expand on our Olmo model series by introducing Olmo Hybrid, a new 7B hybrid RNN model in the Olmo family. Olmo Hybrid dramatically outperforms Olmo 3 in final performance, consistently showing roughly 2x data
18
+ efficiency on core evals over the course of our pretraining run. We also show gains in performance on long-context benchmarks, as well as improved inference efficiency
19
+ (throughput and memory) on long-context lengths by a factor of 75%.
 
 
 
 
20
 
21
+ The core models released in this batch include the following:
22
+
23
+ | **Stage** | **Olmo 3 7B Think** | **Olmo 3 32B Think** | **Olmo 3 7B Instruct** | **Olmo Hybrid Think 7B** | **Olmo Hybrid Instruct 7B** |
24
+ |--------------------------|-----------------------|------------------------|---------------------------|-------------------------------|----------------------------------|
25
+ | **Base Model** | [Olmo-3-7B](https://huggingface.co/allenai/Olmo-3-1025-7B) | [Olmo-3-32B](https://huggingface.co/allenai/Olmo-3-1125-32B) | [Olmo-3-7B](https://huggingface.co/allenai/Olmo-3-1025-7B) | [Olmo-Hybrid-7B](https://huggingface.co/allenai/Olmo-Hybrid-7B) | [Olmo-Hybrid-7B](https://huggingface.co/allenai/Olmo-Hybrid-7B) |
26
+ | **SFT** | [Olmo-3-7B-Think-SFT](https://huggingface.co/allenai/Olmo-3-7B-Think-SFT) | [Olmo-3-32B-Think-SFT](https://huggingface.co/allenai/Olmo-3-32B-Think-SFT) | [Olmo-3-7B-Instruct-SFT](https://huggingface.co/allenai/Olmo-3-7B-Instruct-SFT) | [Olmo-Hybrid-Think-SFT-7B](https://huggingface.co/allenai/Olmo-Hybrid-Think-SFT-7B) | [Olmo-Hybrid-Instruct-SFT-7B](https://huggingface.co/allenai/Olmo-Hybrid-Instruct-SFT-7B) |
27
+ | **DPO** | [Olmo-3-7B-Think-DPO](https://huggingface.co/allenai/Olmo-3-7B-Think-DPO) | [Olmo-3-32B-Think-DPO](https://huggingface.co/allenai/Olmo-3-32B-Think-DPO) | [Olmo-3-7B-Instruct-DPO](https://huggingface.co/allenai/Olmo-3-7B-Instruct-DPO) | -- | [Olmo-Hybrid-Instruct-DPO-7B](https://huggingface.co/allenai/Olmo-Hybrid-Instruct-DPO-7B) |
28
+ | **Final Models (RLVR)** | [Olmo-3-7B-Think](https://huggingface.co/allenai/Olmo-3-7B-Think) | [Olmo-3-32B-Think](https://huggingface.co/allenai/Olmo-3-32B-Think) | [Olmo-3-7B-Instruct](https://huggingface.co/allenai/Olmo-3-7B-Instruct) | -- | -- |
29
+
30
+
31
+ Olmo is a series of **O**pen **l**anguage **mo**dels designed to enable the science of language models.
32
+ These models are pre-trained on the Dolma 3 dataset and post-trained on the Dolci datasets. We are releasing all code, checkpoints, logs (coming soon), and associated training details.
33
+
34
+
35
+ ## Installation
36
+
37
+ Olmo Hybrid is supported in transformers 5.3.0 or higher:
38
+ ```bash
39
+ pip install transformers>=5.3.0
40
+ ```
41
+
42
+ ## Inference
43
+
44
+ You can use OLMo with the standard HuggingFace transformers library:
45
+ ```python
46
+ from transformers import AutoModelForCausalLM, AutoTokenizer
47
+ olmo = AutoModelForCausalLM.from_pretrained("allenai/Olmo-Hybrid-Instruct-SFT-7B")
48
+ tokenizer = AutoTokenizer.from_pretrained("allenai/Olmo-Hybrid-Instruct-SFT-7B")
49
+ message = ["Who would win in a fight - a dinosaur or a cow named Moo Moo?"]
50
+ inputs = tokenizer(message, return_tensors='pt', return_token_type_ids=False)
51
+ # optional verifying cuda
52
+ # inputs = {k: v.to('cuda') for k,v in inputs.items()}
53
+ # olmo = olmo.to('cuda')
54
+ response = olmo.generate(**inputs, max_new_tokens=100, do_sample=True, top_k=50, top_p=0.95)
55
+ print(tokenizer.batch_decode(response, skip_special_tokens=True)[0])
56
+ >> '<think>Okay, so the question is who would win in a fight...'
57
+ ```
58
+
59
+ For faster performance, you can quantize the model using the following method:
60
+ ```python
61
+ AutoModelForCausalLM.from_pretrained("allenai/Olmo-Hybrid-Instruct-SFT-7B",
62
+ torch_dtype=torch.float16,
63
+ load_in_8bit=True) # Requires bitsandbytes
64
+ ```
65
+ The quantized model is more sensitive to data types and CUDA operations. To avoid potential issues, it's recommended to pass the inputs directly to CUDA using:
66
+ ```python
67
+ inputs.input_ids.to('cuda')
68
+ ```
69
+
70
+ We have released checkpoints for these models. For post-training, the naming convention is `step_XXXX`.
71
+
72
+
73
+ To load a specific model revision with HuggingFace, simply add the argument `revision`:
74
+ ```bash
75
+ olmo = AutoModelForCausalLM.from_pretrained("allenai/Olmo-Hybrid-Instruct-SFT-7B", revision="step3000")
76
+ ```
77
+
78
+ Or, you can access all the revisions for the models via the following code snippet:
79
+ ```python
80
+ from huggingface_hub import list_repo_refs
81
+ out = list_repo_refs("allenai/Olmo-Hybrid-Instruct-SFT-7B")
82
+ branches = [b.name for b in out.branches]
83
+ ```
84
+
85
+ ### Chat template
86
+
87
+ ## Default System Message
88
+ The default system prompt for this model is:
89
+ ```
90
+ <|im_start|>system
91
+ You are a helpful function-calling AI assistant.
92
+ You do not currently have access to any functions. <functions></functions><|im_end|>
93
+ ```
94
+
95
+ ## Chat Format
96
+
97
+ The chat template for this model is formatted as:
98
+ ```
99
+ <|im_start|>system
100
+ You are a helpful function-calling AI assistant.
101
+ You do not currently have access to any functions. <functions></functions><|im_end|>
102
+ <|im_start|>user
103
+ Who would win in a fight - a dinosaur or a cow named Moo Moo?<|im_end|>
104
+ <|im_start|>assistant
105
+ This is a fun and imaginative question! Let’s break it down...
106
+ Moo Moo the cow would certinaly win.
107
+ <|endoftext|>
108
+ ```
109
+
110
+ ### Model Description
111
+
112
+ - **Developed by:** Allen Institute for AI (Ai2)
113
+ - **Model type:** a Transformer style autoregressive language model.
114
+ - **Language(s) (NLP):** English
115
+ - **License:** This model is licensed under Apache 2.0. It is intended for research and educational use in accordance with Ai2's [Responsible Use Guidelines](https://allenai.org/responsible-use).
116
+ - **Contact:** Technical inquiries: `olmo@allenai.org`. Press: `press@allenai.org`
117
+ - **Date cutoff:** Dec. 2024.
118
+
119
+
120
+ ### Model Sources
121
+
122
+ - **Project Page:** https://allenai.org/olmo
123
+ - **Repositories:**
124
+ - Open-Instruct for DPO and RLVR: https://github.com/allenai/open-instruct
125
+ - OLMo-Core for pre-training and SFT: https://github.com/allenai/OLMo-core
126
+ - OLMo-Eval for evaluation: https://github.com/allenai/OLMo-Eval
127
+ - **Olmo 3 Paper:** https://allenai.org/papers/olmo3
128
+ - **Olmo Hybrid Paper:** https://allenai.org/papers/olmo-hybrid
129
+
130
+ ## Evaluation
131
+
132
+ | Skill | Benchmark | **Olmo Hybrid Instruct SFT 7B** | **Olmo Hybrid Instruct DPO 7B** | Olmo 3 Instruct 7B SFT | Olmo 3 Instruct 7B DPO | Olmo3 Instruct 7B | Qwen 3 8B (no reasoning) | Qwen 3 VL 8B Instruct | Qwen 2.5 7B | Olmo 2 7B Instruct | Apertus 8B Instruct | Granite 3.3 8B Instruct |
133
+ |-------|-----------|--------------------------------|--------------------------------|------------------------|------------------------|-------------------|--------------------------|------------------------|-------------|-------------------|---------------------|------------------------|
134
+ | Math | MATH | 66.7 | 72.9 | 65.1 | 79.6 | 87.3 | 82.3 | 91.6 | 71.0 | 30.1 | 21.9 | 67.3 |
135
+ | | AIME 2024 | 6.7 | 10.1 | 6.7 | 23.5 | 44.3 | 26.2 | 55.1 | 11.3 | 1.3 | 0.5 | 7.3 |
136
+ | | AIME 2025 | 8.8 | 10.2 | 7.2 | 20.4 | 32.5 | 21.7 | 43.3 | 6.3 | 0.4 | 0.2 | 6.3 |
137
+ | | OMEGA | 16.0 | 19.5 | 14.4 | 22.8 | 28.9 | 20.5 | 32.3 | 13.7 | 5.2 | 5.0 | 10.7 |
138
+ | Reasoning | BigBenchHard | 47.3 | 57.3 | 51.0 | 69.3 | 71.2 | 73.7 | 85.6 | 68.8 | 43.8 | 42.2 | 61.2 |
139
+ | | ZebraLogic | 17.0 | 29.1 | 18.0 | 28.4 | 32.9 | 25.4 | 64.3 | 10.7 | 5.3 | 5.3 | 17.6 |
140
+ | | AGI Eval English | | | 59.2 | 64.0 | 64.4 | 76.0 | 84.5 | 69.8 | 56.1 | 50.8 | 64.0 |
141
+ | Coding | HumanEvalPlus | 69.2 | 75.1 | 69.8 | 72.9 | 77.2 | 79.8 | 82.9 | 74.9 | 25.8 | 34.4 | 64.0 |
142
+ | | MBPP+ | 55.3 | 56.9 | 56.5 | 55.9 | 60.2 | 64.4 | 66.3 | 62.6 | 40.7 | 42.1 | 54.0 |
143
+ | | LiveCodeBench v3 | 21.3 | 22.0 | 20.0 | 18.8 | 29.5 | 53.2 | 55.9 | 34.5 | 7.2 | 7.8 | 11.5 |
144
+ | IF | IFEval | 81.5 | 80.5 | 81.7 | 82.0 | 85.6 | 86.3 | 87.8 | 73.4 | 72.2 | 71.4 | 77.5 |
145
+ | | IFBench | 29.0 | 33.3 | 27.4 | 29.3 | 32.3 | 29.3 | 34.0 | 28.4 | 26.7 | 22.1 | 22.3 |
146
+ | Knowledge | MMLU | 71.9 | 73.6 | 67.1 | 69.1 | 69.1 | 80.4 | 83.6 | 77.2 | 61.6 | 62.7 | 63.5 |
147
+ | QA | PopQA | 16.8 | 21.0 | 16.5 | 20.7 | 14.1 | 20.4 | 26.5 | 21.5 | 25.5 | 25.5 | 28.9 |
148
+ | | GPQA | 36.8 | 38.0 | 30.0 | 37.9 | 40.4 | 44.6 | 51.1 | 35.6 | 31.3 | 28.8 | 33.0 |
149
+ | Chat | AlpacaEval 2 LC | 25.6 | 56.3 | 21.8 | 43.3 | 40.9 | 49.8 | 73.5 | 23.0 | 18.3 | 8.1 | 28.6 |
150
+ | Tool Use | SimpleQA | | | 74.2 | 79.8 | 79.3 | 79.0 | 90.3 | 78.0 | – | – | – |
151
+ | | LitQA2 | | | 38.0 | 43.3 | 38.2 | 39.6 | 30.7 | 29.8 | – | – | – |
152
+ | | BFCL | | | 48.9 | 49.6 | 49.8 | 60.2 | 66.2 | 55.8 | – | – | – |
153
+ | Safety | Safety | | | 89.2 | 90.2 | 87.3 | 78.0 | 80.2 | 73.4 | 93.1 | 72.2 | 73.7 |
154
+
155
+ ## Model Details
156
+
157
+ #### Stage 1: SFT
158
+ - supervised fine-tuning on the Dolci-Instruct-SFT-7B dataset. This dataset consits of math, code, chat, and general knowledge queries.
159
+ - Datasets: [Dolci-Instruct-SFT-7B](https://huggingface.co/datasets/allenai/dolci-instruct-sft)
160
+
161
+ #### Stage 2:DPO
162
+ - direct preference optimization on the Dolci-Instruct-DPO-7B dataset. This dataset consits of math, code, chat, and general knowledge queries.
163
+ - Datasets: [Dolci-Instruct-DPO-7B](https://huggingface.co/datasets/allenai/dolci-3-instruct-dpo-with-metadata)
164
+
165
+ ## Inference & Recommended Settings
166
+ We evaluated our models on the following settings. We also recommend using them for generation:
167
+ - **temperature:** `0.6`
168
+ - **top_p:** `0.95`
169
+ - **max_tokens:** `32768`
170
+
171
+ ### transformers Example
172
+ ```python
173
+ from transformers import AutoModelForCausalLM, AutoTokenizer
174
+
175
+ model_id = "allenai/Olmo-Hybrid-Instruct-SFT-7B"
176
+ tokenizer = AutoTokenizer.from_pretrained(model_id)
177
+ model = AutoModelForCausalLM.from_pretrained(
178
+ model_id,
179
+ device_map="auto",
180
+ )
181
+
182
+ prompt = "Who would win in a fight - a dinosaur or a cow named MooMoo?"
183
+ inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
184
+
185
+ outputs = model.generate(
186
+ **inputs,
187
+ temperature=0.6,
188
+ top_p=0.95,
189
+ max_new_tokens=32768,
190
+ )
191
+
192
+ print(tokenizer.decode(outputs[0], skip_special_tokens=True))
193
+ ```
194
+
195
+ ### vllm Example
196
+ ```python
197
+ from vllm import LLM, SamplingParams
198
+
199
+ model_id = "allenai/Olmo-Hybrid-Instruct-SFT-7B"
200
+ llm = LLM(
201
+ model=model_id,
202
+ mamba_ssm_cache_dtype="float32",
203
+ )
204
+
205
+ sampling_params = SamplingParams(
206
+ temperature=0.6,
207
+ top_p=0.95,
208
+ max_tokens=32768,
209
+ )
210
+
211
+ prompt = "Who would win in a fight - a dinosaur or a cow named MooMoo?"
212
+ outputs = llm.generate(prompt, sampling_params)
213
+ print(outputs[0].outputs[0].text)
214
+ ```
215
+
216
+ ## Bias, Risks, and Limitations
217
+ Like any base language model or fine-tuned model without safety filtering, these models can easily be prompted by users to generate harmful and sensitive content. Such content may also be produced unintentionally, especially in cases involving bias, so we recommend that users consider the risks when applying this technology. Additionally, many statements from OLMo or any LLM are often inaccurate, so facts should be verified.
218
+
219
+ ## License
220
+ This model is licensed under Apache 2.0. It is intended for research and educational use in accordance with [Ai2's Responsible Use Guidelines](https://allenai.org/responsible-use).
221
+
222
+
223
+
224
+ ## Citation
225
+ Coming Soon!
226
+
227
+ ## Model Card Contact
228
+ For errors in this model card, contact `olmo@allenai.org`.
chat_template.jinja ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- set has_system = messages|selectattr('role', 'equalto', 'system')|list|length > 0 -%}{%- if not has_system -%}{{- '<|im_start|>system
2
+ You are a helpful function-calling AI assistant. ' -}}{%- if tools is none or (tools | length) == 0 -%}{{- 'You do not currently have access to any functions. <functions></functions><|im_end|>
3
+ ' -}}{%- else -%}{{- 'You are provided with function signatures within <functions></functions> XML tags. You may call one or more functions to assist with the user query. Output any function calls within <function_calls></function_calls> XML tags. Do not make assumptions about what values to plug into functions.' -}}{{- '<functions>' -}}{{- tools | tojson -}}{{- '</functions><|im_end|>
4
+ ' -}}{%- endif -%}{%- endif -%}{%- for message in messages -%}{%- if message['role'] == 'system' -%}{{- '<|im_start|>system
5
+ ' + message['content'] -}}{%- if tools is not none -%}{{- '<functions>' -}}{{- tools | tojson -}}{{- '</functions>' -}}{%- elif message.get('functions', none) is not none -%}{{- ' <functions>' + message['functions'] + '</functions>' -}}{%- endif -%}{{- '<|im_end|>
6
+ ' -}}{%- elif message['role'] == 'user' -%}{{- '<|im_start|>user
7
+ ' + message['content'] + '<|im_end|>
8
+ ' -}}{%- elif message['role'] == 'assistant' -%}{{- '<|im_start|>assistant
9
+ ' -}}{%- if message.get('content', none) is not none -%}{{- message['content'] -}}{%- endif -%}{%- if message.get('function_calls', none) is not none and (message['function_calls'] | length) > 0 -%}{{- '<function_calls>' + message['function_calls'] + '</function_calls>' -}}{%- elif message.get('tool_calls', none) is not none and (message['tool_calls'] | length) > 0 -%}{{- '<function_calls>' -}}{%- for tool_call in message['tool_calls'] %}{%- if tool_call is mapping and tool_call.get('function', none) is not none %}{%- set args = tool_call['function']['arguments'] -%}{%- set ns = namespace(arguments_list=[]) -%}{%- for key, value in args.items() -%}{%- set ns.arguments_list = ns.arguments_list + [key ~ '=' ~ (value | tojson)] -%}{%- endfor -%}{%- set arguments = ns.arguments_list | join(', ') -%}{{- tool_call['function']['name'] + '(' + arguments + ')' -}}{%- if not loop.last -%}{{ '
10
+ ' }}{%- endif -%}{% else %}{{- tool_call -}}{%- endif %}{%- endfor %}{{- '</function_calls>' -}}{%- endif -%}{%- if not loop.last -%}{{- '<|im_end|>' + '
11
+ ' -}}{%- else -%}{{- eos_token -}}{%- endif -%}{%- elif message['role'] == 'environment' -%}{{- '<|im_start|>environment
12
+ ' + message['content'] + '<|im_end|>
13
+ ' -}}{%- elif message['role'] == 'tool' -%}{{- '<|im_start|>environment
14
+ ' + message['content'] + '<|im_end|>
15
+ ' -}}{%- endif -%}{%- if loop.last and add_generation_prompt -%}{{- '<|im_start|>assistant
16
+ ' -}}{%- endif -%}{%- endfor -%}
config.json ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_type": "olmo_hybrid",
3
+ "architectures": [
4
+ "OlmoHybridForCausalLM"
5
+ ],
6
+ "vocab_size": 100352,
7
+ "hidden_size": 3840,
8
+ "intermediate_size": 11008,
9
+ "num_hidden_layers": 32,
10
+ "num_attention_heads": 30,
11
+ "num_key_value_heads": 30,
12
+ "hidden_act": "silu",
13
+ "max_position_embeddings": 32768,
14
+ "initializer_range": 0.02,
15
+ "use_cache": true,
16
+ "attention_bias": false,
17
+ "attention_dropout": 0.0,
18
+ "rms_norm_eps": 1e-06,
19
+ "tie_word_embeddings": false,
20
+ "layer_types": [
21
+ "linear_attention",
22
+ "linear_attention",
23
+ "linear_attention",
24
+ "full_attention",
25
+ "linear_attention",
26
+ "linear_attention",
27
+ "linear_attention",
28
+ "full_attention",
29
+ "linear_attention",
30
+ "linear_attention",
31
+ "linear_attention",
32
+ "full_attention",
33
+ "linear_attention",
34
+ "linear_attention",
35
+ "linear_attention",
36
+ "full_attention",
37
+ "linear_attention",
38
+ "linear_attention",
39
+ "linear_attention",
40
+ "full_attention",
41
+ "linear_attention",
42
+ "linear_attention",
43
+ "linear_attention",
44
+ "full_attention",
45
+ "linear_attention",
46
+ "linear_attention",
47
+ "linear_attention",
48
+ "full_attention",
49
+ "linear_attention",
50
+ "linear_attention",
51
+ "linear_attention",
52
+ "full_attention"
53
+ ],
54
+ "linear_num_key_heads": 30,
55
+ "linear_num_value_heads": 30,
56
+ "linear_key_head_dim": 96,
57
+ "linear_value_head_dim": 192,
58
+ "linear_conv_kernel_dim": 4,
59
+ "linear_allow_neg_eigval": true,
60
+ "pad_token_id": 100277,
61
+ "bos_token_id": null,
62
+ "eos_token_id": 100257,
63
+ "transformers_version": "4.52.0",
64
+ "rope_parameters": null,
65
+ "quantization_config": {
66
+ "quant_method": "exl3",
67
+ "version": "0.0.25",
68
+ "bits": 3.0,
69
+ "head_bits": 6,
70
+ "calibration": {
71
+ "rows": 250,
72
+ "cols": 2048
73
+ },
74
+ "out_scales": "always",
75
+ "codebook": "mcg"
76
+ }
77
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e525d566f13ac323b72e5b4e880978a3f9c9fea2e719dcb44b8e93f52b5fbe9
3
+ size 3573902085
quantization_config.json ADDED
The diff for this file is too large to render. See raw diff
 
special_tokens_map.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "eos_token": "<|endoftext|>",
3
+ "pad_token": "<|pad|>",
4
+ "unk_token": {
5
+ "content": "<|endoftext|>",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false
10
+ }
11
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,189 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "100256": {
5
+ "content": "<|extra_id_0|>",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": false
11
+ },
12
+ "100257": {
13
+ "content": "<|endoftext|>",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "100258": {
21
+ "content": "<|fim_prefix|>",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "100259": {
29
+ "content": "<|fim_middle|>",
30
+ "lstrip": false,
31
+ "normalized": false,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": true
35
+ },
36
+ "100260": {
37
+ "content": "<|fim_suffix|>",
38
+ "lstrip": false,
39
+ "normalized": false,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": true
43
+ },
44
+ "100261": {
45
+ "content": "|||PHONE_NUMBER|||",
46
+ "lstrip": false,
47
+ "normalized": false,
48
+ "rstrip": false,
49
+ "single_word": false,
50
+ "special": false
51
+ },
52
+ "100262": {
53
+ "content": "|||EMAIL_ADDRESS|||",
54
+ "lstrip": false,
55
+ "normalized": false,
56
+ "rstrip": false,
57
+ "single_word": false,
58
+ "special": false
59
+ },
60
+ "100263": {
61
+ "content": "|||IP_ADDRESS|||",
62
+ "lstrip": false,
63
+ "normalized": false,
64
+ "rstrip": false,
65
+ "single_word": false,
66
+ "special": false
67
+ },
68
+ "100264": {
69
+ "content": "<|im_start|>",
70
+ "lstrip": false,
71
+ "normalized": false,
72
+ "rstrip": false,
73
+ "single_word": false,
74
+ "special": true
75
+ },
76
+ "100265": {
77
+ "content": "<|im_end|>",
78
+ "lstrip": false,
79
+ "normalized": false,
80
+ "rstrip": false,
81
+ "single_word": false,
82
+ "special": true
83
+ },
84
+ "100266": {
85
+ "content": "<functions>",
86
+ "lstrip": false,
87
+ "normalized": false,
88
+ "rstrip": false,
89
+ "single_word": false,
90
+ "special": false
91
+ },
92
+ "100267": {
93
+ "content": "</functions>",
94
+ "lstrip": false,
95
+ "normalized": false,
96
+ "rstrip": false,
97
+ "single_word": false,
98
+ "special": false
99
+ },
100
+ "100268": {
101
+ "content": "<function_calls>",
102
+ "lstrip": false,
103
+ "normalized": false,
104
+ "rstrip": false,
105
+ "single_word": false,
106
+ "special": false
107
+ },
108
+ "100269": {
109
+ "content": "</function_calls>",
110
+ "lstrip": false,
111
+ "normalized": false,
112
+ "rstrip": false,
113
+ "single_word": false,
114
+ "special": false
115
+ },
116
+ "100270": {
117
+ "content": "<|extra_id_1|>",
118
+ "lstrip": false,
119
+ "normalized": false,
120
+ "rstrip": false,
121
+ "single_word": false,
122
+ "special": false
123
+ },
124
+ "100271": {
125
+ "content": "<|extra_id_2|>",
126
+ "lstrip": false,
127
+ "normalized": false,
128
+ "rstrip": false,
129
+ "single_word": false,
130
+ "special": false
131
+ },
132
+ "100272": {
133
+ "content": "<|extra_id_3|>",
134
+ "lstrip": false,
135
+ "normalized": false,
136
+ "rstrip": false,
137
+ "single_word": false,
138
+ "special": false
139
+ },
140
+ "100273": {
141
+ "content": "<|extra_id_4|>",
142
+ "lstrip": false,
143
+ "normalized": false,
144
+ "rstrip": false,
145
+ "single_word": false,
146
+ "special": false
147
+ },
148
+ "100274": {
149
+ "content": "<|extra_id_5|>",
150
+ "lstrip": false,
151
+ "normalized": false,
152
+ "rstrip": false,
153
+ "single_word": false,
154
+ "special": false
155
+ },
156
+ "100275": {
157
+ "content": "<|extra_id_6|>",
158
+ "lstrip": false,
159
+ "normalized": false,
160
+ "rstrip": false,
161
+ "single_word": false,
162
+ "special": false
163
+ },
164
+ "100276": {
165
+ "content": "<|endofprompt|>",
166
+ "lstrip": false,
167
+ "normalized": false,
168
+ "rstrip": false,
169
+ "single_word": false,
170
+ "special": true
171
+ },
172
+ "100277": {
173
+ "content": "<|pad|>",
174
+ "lstrip": false,
175
+ "normalized": false,
176
+ "rstrip": false,
177
+ "single_word": false,
178
+ "special": true
179
+ }
180
+ },
181
+ "bos_token": null,
182
+ "clean_up_tokenization_spaces": false,
183
+ "eos_token": "<|endoftext|>",
184
+ "extra_special_tokens": {},
185
+ "model_max_length": 32768,
186
+ "pad_token": "<|pad|>",
187
+ "tokenizer_class": "GPT2Tokenizer",
188
+ "unk_token": "<|endoftext|>"
189
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff