Upload task output c08fd258-a4d3-438c-a1aa-a39a294c3c3c
Browse files- chat_template.jinja +0 -1
- config.json +6 -9
- configuration_qwen3_5.py +0 -311
- generation_config.json +1 -4
- loss.txt +1 -0
- model-00001-of-00004.safetensors +2 -2
- model-00002-of-00004.safetensors +2 -2
- model-00003-of-00004.safetensors +2 -2
- model-00004-of-00004.safetensors +2 -2
- model.safetensors.index.json +209 -210
- modeling_qwen3_5.py +0 -0
- special_tokens_map.json +15 -3
- tokenizer_config.json +271 -4
chat_template.jinja
DELETED
|
@@ -1 +0,0 @@
|
|
| 1 |
-
{% for message in messages %}{% set role = message['role'] | lower %}{% if role == 'user' %}{% set role = 'HUMAN' %}{% endif %}{% set role = role | upper %}{{ '<role>' + role + '</role>' + message['content'] }}{% if role == 'ASSISTANT' %}{{ '<|endoftext|>' }}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '<role>ASSISTANT</role>' }}{% endif %}
|
|
|
|
|
|
config.json
CHANGED
|
@@ -5,17 +5,15 @@
|
|
| 5 |
"attention_bias": false,
|
| 6 |
"attention_dropout": 0.0,
|
| 7 |
"attn_output_gate": true,
|
| 8 |
-
"auto_map": {
|
| 9 |
-
"AutoConfig": "configuration_qwen3_5.QuasarConfig",
|
| 10 |
-
"AutoModelForCausalLM": "modeling_qwen3_5.QuasarForCausalLM"
|
| 11 |
-
},
|
| 12 |
-
"bos_token_id": null,
|
| 13 |
"dtype": "bfloat16",
|
| 14 |
-
"eos_token_id": 248044,
|
| 15 |
"full_attention_interval": 4,
|
| 16 |
"head_dim": 256,
|
| 17 |
"hidden_act": "silu",
|
| 18 |
"hidden_size": 4096,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
"initializer_range": 0.02,
|
| 20 |
"intermediate_size": 12288,
|
| 21 |
"layer_types": [
|
|
@@ -66,7 +64,6 @@
|
|
| 66 |
"num_attention_heads": 16,
|
| 67 |
"num_hidden_layers": 32,
|
| 68 |
"num_key_value_heads": 4,
|
| 69 |
-
"pad_token_id": 248044,
|
| 70 |
"partial_rotary_factor": 0.25,
|
| 71 |
"rms_norm_eps": 1e-06,
|
| 72 |
"rope_parameters": {
|
|
@@ -80,8 +77,8 @@
|
|
| 80 |
"rope_theta": 10000000,
|
| 81 |
"rope_type": "default"
|
| 82 |
},
|
| 83 |
-
"
|
| 84 |
-
"transformers_version": "
|
| 85 |
"use_cache": false,
|
| 86 |
"use_gla": true,
|
| 87 |
"use_nope": true,
|
|
|
|
| 5 |
"attention_bias": false,
|
| 6 |
"attention_dropout": 0.0,
|
| 7 |
"attn_output_gate": true,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
"dtype": "bfloat16",
|
|
|
|
| 9 |
"full_attention_interval": 4,
|
| 10 |
"head_dim": 256,
|
| 11 |
"hidden_act": "silu",
|
| 12 |
"hidden_size": 4096,
|
| 13 |
+
"ignore_keys_at_rope_validation": [
|
| 14 |
+
"mrope_interleaved",
|
| 15 |
+
"mrope_section"
|
| 16 |
+
],
|
| 17 |
"initializer_range": 0.02,
|
| 18 |
"intermediate_size": 12288,
|
| 19 |
"layer_types": [
|
|
|
|
| 64 |
"num_attention_heads": 16,
|
| 65 |
"num_hidden_layers": 32,
|
| 66 |
"num_key_value_heads": 4,
|
|
|
|
| 67 |
"partial_rotary_factor": 0.25,
|
| 68 |
"rms_norm_eps": 1e-06,
|
| 69 |
"rope_parameters": {
|
|
|
|
| 77 |
"rope_theta": 10000000,
|
| 78 |
"rope_type": "default"
|
| 79 |
},
|
| 80 |
+
"torch_dtype": "bfloat16",
|
| 81 |
+
"transformers_version": "4.51.3",
|
| 82 |
"use_cache": false,
|
| 83 |
"use_gla": true,
|
| 84 |
"use_nope": true,
|
configuration_qwen3_5.py
DELETED
|
@@ -1,311 +0,0 @@
|
|
| 1 |
-
# 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨
|
| 2 |
-
# This file was automatically generated from src/transformers/models/quasar/modular_quasar.py.
|
| 3 |
-
# Do NOT edit this file manually as any edits will be overwritten by the generation of
|
| 4 |
-
# the file from the modular. If any change should be done, please apply the change to the
|
| 5 |
-
# modular_quasar.py file directly. One of our CI enforces this.
|
| 6 |
-
# 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨
|
| 7 |
-
# Copyright 2025 The Qwen Team and The HuggingFace Inc. team. All rights reserved.
|
| 8 |
-
#
|
| 9 |
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
| 10 |
-
# you may not use this file except in compliance with the License.
|
| 11 |
-
# You may obtain a copy of the License at
|
| 12 |
-
#
|
| 13 |
-
# http://www.apache.org/licenses/LICENSE-2.0
|
| 14 |
-
#
|
| 15 |
-
# Unless required by applicable law or agreed to in writing, software
|
| 16 |
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
| 17 |
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 18 |
-
# See the License for the specific language governing permissions and
|
| 19 |
-
# limitations under the License.
|
| 20 |
-
from transformers.configuration_utils import PreTrainedConfig, layer_type_validation
|
| 21 |
-
from transformers.modeling_rope_utils import RopeParameters
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
class QuasarTextConfig(PreTrainedConfig):
|
| 25 |
-
r"""
|
| 26 |
-
This is the configuration class to store the configuration of a [`QuasarTextModel`]. It is used to instantiate a
|
| 27 |
-
Quasar model according to the specified arguments, defining the model architecture.
|
| 28 |
-
Instantiating a configuration with the defaults will yield a similar configuration to that of
|
| 29 |
-
Qwen3.5-9B-Instruct [Qwen/Qwen3.5-9B-Instruct](https://huggingface.co/Qwen/Qwen3.5-9B-Instruct).
|
| 30 |
-
|
| 31 |
-
Configuration objects inherit from [`PreTrainedConfig`] and can be used to control the model outputs. Read the
|
| 32 |
-
documentation from [`PreTrainedConfig`] for more information.
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
Args:
|
| 36 |
-
vocab_size (`int`, *optional*, defaults to 248320):
|
| 37 |
-
Vocabulary size of the model. Defines the number of different tokens that can be represented by the
|
| 38 |
-
`inputs_ids`.
|
| 39 |
-
hidden_size (`int`, *optional*, defaults to 4096):
|
| 40 |
-
Dimension of the hidden representations.
|
| 41 |
-
intermediate_size (`int`, *optional*, defaults to 12288):
|
| 42 |
-
Dimension of the MLP representations.
|
| 43 |
-
num_hidden_layers (`int`, *optional*, defaults to 32):
|
| 44 |
-
Number of hidden layers in the Transformer encoder.
|
| 45 |
-
num_attention_heads (`int`, *optional*, defaults to 16):
|
| 46 |
-
Number of attention heads for each attention layer in the Transformer encoder.
|
| 47 |
-
num_key_value_heads (`int`, *optional*, defaults to 4):
|
| 48 |
-
This is the number of key_value heads that should be used to implement Grouped Query Attention. If
|
| 49 |
-
`num_key_value_heads=num_attention_heads`, the model will use Multi Head Attention (MHA), if
|
| 50 |
-
`num_key_value_heads=1` the model will use Multi Query Attention (MQA) otherwise GQA is used. When
|
| 51 |
-
converting a multi-head checkpoint to a GQA checkpoint, each group key and value head should be constructed
|
| 52 |
-
by meanpooling all the original heads within that group. For more details checkout [this
|
| 53 |
-
paper](https://arxiv.org/pdf/2305.13245.pdf). If it is not specified, will default to `32`.
|
| 54 |
-
hidden_act (`str`, *optional*, defaults to `"silu"`):
|
| 55 |
-
The non-linear activation function in the decoder.
|
| 56 |
-
max_position_embeddings (`int`, *optional*, defaults to 32768):
|
| 57 |
-
The maximum sequence length that this model might ever be used with.
|
| 58 |
-
initializer_range (`float`, *optional*, defaults to 0.02):
|
| 59 |
-
The standard deviation of the truncated_normal_initializer for initializing all weight matrices.
|
| 60 |
-
rms_norm_eps (`float`, *optional*, defaults to 1e-06):
|
| 61 |
-
The epsilon used by the rms normalization layers.
|
| 62 |
-
use_cache (`bool`, *optional*, defaults to `True`):
|
| 63 |
-
Whether or not the model should return the last key/values attentions (not used by all models). Only
|
| 64 |
-
relevant if `config.is_decoder=True`.
|
| 65 |
-
tie_word_embeddings (`bool`, *optional*, defaults to `False`):
|
| 66 |
-
Whether the model's input and output word embeddings should be tied.
|
| 67 |
-
rope_parameters (`RopeParameters`, *optional*):
|
| 68 |
-
Dictionary containing the configuration parameters for the RoPE embeddings. The dictionary should contain
|
| 69 |
-
a value for `rope_theta` and optionally parameters used for scaling in case you want to use RoPE
|
| 70 |
-
with longer `max_position_embeddings`.
|
| 71 |
-
attention_bias (`bool`, *optional*, defaults to `False`):
|
| 72 |
-
Whether to use a bias in the query, key, value and output projection layers during self-attention.
|
| 73 |
-
attention_dropout (`float`, *optional*, defaults to 0.0):
|
| 74 |
-
The dropout ratio for the attention probabilities.
|
| 75 |
-
head_dim (`int`, *optional*, defaults to 256):
|
| 76 |
-
Projection weights dimension in multi-head attention.
|
| 77 |
-
linear_conv_kernel_dim (`int`, *optional*, defaults to 4):
|
| 78 |
-
Kernel size of the convolution used in linear attention layers.
|
| 79 |
-
linear_key_head_dim (`int`, *optional*, defaults to 128):
|
| 80 |
-
Dimension of each key head in linear attention.
|
| 81 |
-
linear_value_head_dim (`int`, *optional*, defaults to 128):
|
| 82 |
-
Dimension of each value head in linear attention.
|
| 83 |
-
linear_num_key_heads (`int`, *optional*, defaults to 16):
|
| 84 |
-
Number of key heads used in linear attention layers.
|
| 85 |
-
linear_num_value_heads (`int`, *optional*, defaults to 32):
|
| 86 |
-
Number of value heads used in linear attention layers.
|
| 87 |
-
layer_types (`list[str]`, *optional*):
|
| 88 |
-
Types of each layer (attention or linear).
|
| 89 |
-
pad_token_id (`int`, *optional*):
|
| 90 |
-
Padding token id.
|
| 91 |
-
bos_token_id (`int`, *optional*):
|
| 92 |
-
Beginning of stream token id.
|
| 93 |
-
eos_token_id (`int`, *optional*):
|
| 94 |
-
End of stream token id.
|
| 95 |
-
|
| 96 |
-
```python
|
| 97 |
-
>>> from transformers import QuasarTextModel, QuasarTextConfig
|
| 98 |
-
|
| 99 |
-
>>> # Initializing a Qwen3.5 style configuration
|
| 100 |
-
>>> configuration = QuasarTextConfig()
|
| 101 |
-
|
| 102 |
-
>>> # Initializing a model from the Qwen3.5-9B style configuration
|
| 103 |
-
>>> model = QuasarTextModel(configuration)
|
| 104 |
-
|
| 105 |
-
>>> # Accessing the model configuration
|
| 106 |
-
>>> configuration = model.config
|
| 107 |
-
```
|
| 108 |
-
"""
|
| 109 |
-
|
| 110 |
-
model_type = "quasar_text"
|
| 111 |
-
keys_to_ignore_at_inference = ["past_key_values"]
|
| 112 |
-
|
| 113 |
-
base_model_tp_plan = {
|
| 114 |
-
"layers.*.self_attn.q_proj": "colwise",
|
| 115 |
-
"layers.*.self_attn.k_proj": "colwise",
|
| 116 |
-
"layers.*.self_attn.v_proj": "colwise",
|
| 117 |
-
"layers.*.self_attn.o_proj": "rowwise",
|
| 118 |
-
"layers.*.mlp.gate_proj": "colwise",
|
| 119 |
-
"layers.*.mlp.up_proj": "colwise",
|
| 120 |
-
"layers.*.mlp.down_proj": "rowwise",
|
| 121 |
-
}
|
| 122 |
-
base_model_pp_plan = {
|
| 123 |
-
"embed_tokens": (["input_ids"], ["inputs_embeds"]),
|
| 124 |
-
"layers": (["hidden_states", "attention_mask"], ["hidden_states"]),
|
| 125 |
-
"norm": (["hidden_states"], ["hidden_states"]),
|
| 126 |
-
}
|
| 127 |
-
base_config_key = "text_config"
|
| 128 |
-
|
| 129 |
-
def __init__(
|
| 130 |
-
self,
|
| 131 |
-
vocab_size=248320,
|
| 132 |
-
hidden_size=4096,
|
| 133 |
-
intermediate_size=12288,
|
| 134 |
-
num_hidden_layers=32,
|
| 135 |
-
num_attention_heads=16,
|
| 136 |
-
num_key_value_heads=4,
|
| 137 |
-
hidden_act="silu",
|
| 138 |
-
max_position_embeddings=32768,
|
| 139 |
-
initializer_range=0.02,
|
| 140 |
-
rms_norm_eps=1e-6,
|
| 141 |
-
use_cache=True,
|
| 142 |
-
tie_word_embeddings=False,
|
| 143 |
-
rope_parameters: RopeParameters | dict[str, RopeParameters] | None = None,
|
| 144 |
-
attention_bias=False,
|
| 145 |
-
attention_dropout=0.0,
|
| 146 |
-
head_dim=256,
|
| 147 |
-
linear_conv_kernel_dim=4,
|
| 148 |
-
linear_key_head_dim=128,
|
| 149 |
-
linear_value_head_dim=128,
|
| 150 |
-
linear_num_key_heads=16,
|
| 151 |
-
linear_num_value_heads=32,
|
| 152 |
-
layer_types=None,
|
| 153 |
-
pad_token_id: int | None = None,
|
| 154 |
-
bos_token_id: int | None = None,
|
| 155 |
-
eos_token_id: int | None = None,
|
| 156 |
-
use_gla: bool = False,
|
| 157 |
-
use_nope: bool = False,
|
| 158 |
-
**kwargs,
|
| 159 |
-
):
|
| 160 |
-
kwargs["ignore_keys_at_rope_validation"] = {"mrope_section", "mrope_interleaved"}
|
| 161 |
-
self.pad_token_id = pad_token_id
|
| 162 |
-
self.bos_token_id = bos_token_id
|
| 163 |
-
self.eos_token_id = eos_token_id
|
| 164 |
-
self.tie_word_embeddings = tie_word_embeddings
|
| 165 |
-
self.vocab_size = vocab_size
|
| 166 |
-
self.max_position_embeddings = max_position_embeddings
|
| 167 |
-
self.hidden_size = hidden_size
|
| 168 |
-
self.intermediate_size = intermediate_size
|
| 169 |
-
self.num_hidden_layers = num_hidden_layers
|
| 170 |
-
self.num_attention_heads = num_attention_heads
|
| 171 |
-
self.num_key_value_heads = num_key_value_heads
|
| 172 |
-
self.hidden_act = hidden_act
|
| 173 |
-
self.initializer_range = initializer_range
|
| 174 |
-
self.rms_norm_eps = rms_norm_eps
|
| 175 |
-
self.use_cache = use_cache
|
| 176 |
-
self.attention_bias = attention_bias
|
| 177 |
-
self.attention_dropout = attention_dropout
|
| 178 |
-
self.head_dim = head_dim
|
| 179 |
-
self.rope_parameters = rope_parameters
|
| 180 |
-
self.use_gla = use_gla
|
| 181 |
-
self.use_nope = use_nope
|
| 182 |
-
kwargs.setdefault("partial_rotary_factor", 0.25) # assign default for BC
|
| 183 |
-
|
| 184 |
-
self.layer_types = layer_types
|
| 185 |
-
if self.layer_types is None:
|
| 186 |
-
interval_pattern = kwargs.get("full_attention_interval", 4)
|
| 187 |
-
self.layer_types = [
|
| 188 |
-
"linear_attention" if bool((i + 1) % interval_pattern) else "full_attention"
|
| 189 |
-
for i in range(self.num_hidden_layers)
|
| 190 |
-
]
|
| 191 |
-
layer_type_validation(self.layer_types, self.num_hidden_layers)
|
| 192 |
-
|
| 193 |
-
# linear attention part
|
| 194 |
-
self.linear_conv_kernel_dim = linear_conv_kernel_dim
|
| 195 |
-
self.linear_key_head_dim = linear_key_head_dim
|
| 196 |
-
self.linear_value_head_dim = linear_value_head_dim
|
| 197 |
-
self.linear_num_key_heads = linear_num_key_heads
|
| 198 |
-
self.linear_num_value_heads = linear_num_value_heads
|
| 199 |
-
super().__init__(**kwargs)
|
| 200 |
-
|
| 201 |
-
|
| 202 |
-
class QuasarVisionConfig(PreTrainedConfig):
|
| 203 |
-
model_type = "quasar"
|
| 204 |
-
base_config_key = "vision_config"
|
| 205 |
-
|
| 206 |
-
def __init__(
|
| 207 |
-
self,
|
| 208 |
-
depth=27,
|
| 209 |
-
hidden_size=1152,
|
| 210 |
-
hidden_act="gelu_pytorch_tanh",
|
| 211 |
-
intermediate_size=4304,
|
| 212 |
-
num_heads=16,
|
| 213 |
-
in_channels=3,
|
| 214 |
-
patch_size=16,
|
| 215 |
-
spatial_merge_size=2,
|
| 216 |
-
temporal_patch_size=2,
|
| 217 |
-
out_hidden_size=3584,
|
| 218 |
-
num_position_embeddings=2304,
|
| 219 |
-
initializer_range=0.02,
|
| 220 |
-
**kwargs,
|
| 221 |
-
):
|
| 222 |
-
super().__init__(**kwargs)
|
| 223 |
-
|
| 224 |
-
self.depth = depth
|
| 225 |
-
self.hidden_size = hidden_size
|
| 226 |
-
self.hidden_act = hidden_act
|
| 227 |
-
self.intermediate_size = intermediate_size
|
| 228 |
-
self.num_heads = num_heads
|
| 229 |
-
self.in_channels = in_channels
|
| 230 |
-
self.patch_size = patch_size
|
| 231 |
-
self.spatial_merge_size = spatial_merge_size
|
| 232 |
-
self.temporal_patch_size = temporal_patch_size
|
| 233 |
-
self.out_hidden_size = out_hidden_size
|
| 234 |
-
self.num_position_embeddings = num_position_embeddings
|
| 235 |
-
self.initializer_range = initializer_range
|
| 236 |
-
|
| 237 |
-
|
| 238 |
-
class QuasarConfig(PreTrainedConfig):
|
| 239 |
-
r"""
|
| 240 |
-
This is the configuration class to store the configuration of a [`QuasarModel`]. It is used to instantiate a
|
| 241 |
-
Qwen3.5 model according to the specified arguments, defining the model architecture. Instantiating a configuration
|
| 242 |
-
with the defaults will yield a similar configuration to that of
|
| 243 |
-
Qwen3.5-9B-Instruct [Qwen/Qwen3.5-9B-Instruct](https://huggingface.co/Qwen/Qwen3.5-9B-Instruct).
|
| 244 |
-
|
| 245 |
-
Configuration objects inherit from [`PreTrainedConfig`] and can be used to control the model outputs. Read the
|
| 246 |
-
documentation from [`PreTrainedConfig`] for more information.
|
| 247 |
-
|
| 248 |
-
|
| 249 |
-
Args:
|
| 250 |
-
text_config (`Union[PreTrainedConfig, dict]`, *optional*, defaults to `QuasarTextConfig`):
|
| 251 |
-
The config object or dictionary of the text backbone.
|
| 252 |
-
vision_config (`Union[PreTrainedConfig, dict]`, *optional*, defaults to `QuasarVisionConfig`):
|
| 253 |
-
The config object or dictionary of the vision backbone.
|
| 254 |
-
image_token_id (`int`, *optional*, defaults to 248056):
|
| 255 |
-
The image token index to encode the image prompt.
|
| 256 |
-
video_token_id (`int`, *optional*, defaults to 248057):
|
| 257 |
-
The video token index to encode the image prompt.
|
| 258 |
-
vision_start_token_id (`int`, *optional*, defaults to 248053):
|
| 259 |
-
The start token index to encode the image prompt.
|
| 260 |
-
vision_end_token_id (`int`, *optional*, defaults to 248054):
|
| 261 |
-
The end token index to encode the image prompt.
|
| 262 |
-
tie_word_embeddings (`bool`, *optional*, defaults to `False`):
|
| 263 |
-
Whether to tie the word embeddings.
|
| 264 |
-
|
| 265 |
-
```python
|
| 266 |
-
>>> from transformers import QuasarForConditionalGeneration, QuasarConfig
|
| 267 |
-
|
| 268 |
-
>>> # Initializing a Qwen3.5 style configuration
|
| 269 |
-
>>> configuration = QuasarConfig()
|
| 270 |
-
|
| 271 |
-
>>> # Initializing a model from the Qwen3.5-9B style configuration
|
| 272 |
-
>>> model = QuasarForConditionalGeneration(configuration)
|
| 273 |
-
|
| 274 |
-
>>> # Accessing the model configuration
|
| 275 |
-
>>> configuration = model.config
|
| 276 |
-
```"""
|
| 277 |
-
|
| 278 |
-
model_type = "quasar"
|
| 279 |
-
sub_configs = {"vision_config": QuasarVisionConfig, "text_config": QuasarTextConfig}
|
| 280 |
-
keys_to_ignore_at_inference = ["past_key_values"]
|
| 281 |
-
|
| 282 |
-
def __init__(
|
| 283 |
-
self,
|
| 284 |
-
text_config=None,
|
| 285 |
-
vision_config=None,
|
| 286 |
-
image_token_id=248056,
|
| 287 |
-
video_token_id=248057,
|
| 288 |
-
vision_start_token_id=248053,
|
| 289 |
-
vision_end_token_id=248054,
|
| 290 |
-
tie_word_embeddings=False,
|
| 291 |
-
**kwargs,
|
| 292 |
-
):
|
| 293 |
-
if isinstance(vision_config, dict):
|
| 294 |
-
self.vision_config = self.sub_configs["vision_config"](**vision_config)
|
| 295 |
-
elif vision_config is None:
|
| 296 |
-
self.vision_config = self.sub_configs["vision_config"]()
|
| 297 |
-
|
| 298 |
-
if isinstance(text_config, dict):
|
| 299 |
-
self.text_config = self.sub_configs["text_config"](**text_config)
|
| 300 |
-
elif text_config is None:
|
| 301 |
-
self.text_config = self.sub_configs["text_config"]()
|
| 302 |
-
|
| 303 |
-
self.image_token_id = image_token_id
|
| 304 |
-
self.video_token_id = video_token_id
|
| 305 |
-
self.vision_start_token_id = vision_start_token_id
|
| 306 |
-
self.vision_end_token_id = vision_end_token_id
|
| 307 |
-
self.tie_word_embeddings = tie_word_embeddings
|
| 308 |
-
super().__init__(**kwargs)
|
| 309 |
-
|
| 310 |
-
|
| 311 |
-
__all__ = ["QuasarConfig", "QuasarTextConfig"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
generation_config.json
CHANGED
|
@@ -3,9 +3,6 @@
|
|
| 3 |
"eos_token_id": [
|
| 4 |
248044
|
| 5 |
],
|
| 6 |
-
"output_attentions": false,
|
| 7 |
-
"output_hidden_states": false,
|
| 8 |
"pad_token_id": 248044,
|
| 9 |
-
"transformers_version": "
|
| 10 |
-
"use_cache": true
|
| 11 |
}
|
|
|
|
| 3 |
"eos_token_id": [
|
| 4 |
248044
|
| 5 |
],
|
|
|
|
|
|
|
| 6 |
"pad_token_id": 248044,
|
| 7 |
+
"transformers_version": "4.51.3"
|
|
|
|
| 8 |
}
|
loss.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
624,1.4197497367858887
|
model-00001-of-00004.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5f68af5bf61dd775b4a09bfb84e2c23fad6e6dbc251e12e5984b51e692635ef5
|
| 3 |
+
size 4999223784
|
model-00002-of-00004.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:361ad3efb23feba3b04643d6b15aea69ec4e8c9ac788d5a4625b32d1c18f7eb9
|
| 3 |
+
size 4942784240
|
model-00003-of-00004.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dd46008c9ee7ee681180894acd1c405e1841738e440cbc35105b444bd13c8140
|
| 3 |
+
size 4925866480
|
model-00004-of-00004.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a3a93a50cb6c2bde5ddb36143d9e273d6d30afff887b3ab08f51a078c524a07e
|
| 3 |
+
size 2336252704
|
model.safetensors.index.json
CHANGED
|
@@ -1,10 +1,9 @@
|
|
| 1 |
{
|
| 2 |
"metadata": {
|
| 3 |
-
"total_parameters": 8602037248,
|
| 4 |
"total_size": 17204074496
|
| 5 |
},
|
| 6 |
"weight_map": {
|
| 7 |
-
"lm_head.weight": "model-
|
| 8 |
"model.embed_tokens.weight": "model-00001-of-00004.safetensors",
|
| 9 |
"model.layers.0.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 10 |
"model.layers.0.linear_attn.A_log": "model-00001-of-00004.safetensors",
|
|
@@ -97,97 +96,97 @@
|
|
| 97 |
"model.layers.14.linear_attn.in_proj_a.weight": "model-00002-of-00004.safetensors",
|
| 98 |
"model.layers.14.linear_attn.in_proj_b.weight": "model-00002-of-00004.safetensors",
|
| 99 |
"model.layers.14.linear_attn.in_proj_qkv.weight": "model-00002-of-00004.safetensors",
|
| 100 |
-
"model.layers.14.linear_attn.in_proj_z.weight": "model-
|
| 101 |
-
"model.layers.14.linear_attn.norm.weight": "model-
|
| 102 |
-
"model.layers.14.linear_attn.out_proj.weight": "model-
|
| 103 |
-
"model.layers.14.mlp.down_proj.weight": "model-
|
| 104 |
-
"model.layers.14.mlp.gate_proj.weight": "model-
|
| 105 |
-
"model.layers.14.mlp.up_proj.weight": "model-
|
| 106 |
-
"model.layers.14.post_attention_layernorm.weight": "model-
|
| 107 |
-
"model.layers.15.input_layernorm.weight": "model-
|
| 108 |
-
"model.layers.15.mlp.down_proj.weight": "model-
|
| 109 |
-
"model.layers.15.mlp.gate_proj.weight": "model-
|
| 110 |
-
"model.layers.15.mlp.up_proj.weight": "model-
|
| 111 |
-
"model.layers.15.post_attention_layernorm.weight": "model-
|
| 112 |
-
"model.layers.15.self_attn.gla.g_norm_swish_gate.weight": "model-
|
| 113 |
-
"model.layers.15.self_attn.gla.g_proj.weight": "model-
|
| 114 |
-
"model.layers.15.self_attn.gla.gk_proj.0.weight": "model-
|
| 115 |
-
"model.layers.15.self_attn.gla.gk_proj.1.bias": "model-
|
| 116 |
-
"model.layers.15.self_attn.gla.gk_proj.1.weight": "model-
|
| 117 |
-
"model.layers.15.self_attn.gla.k_proj.weight": "model-
|
| 118 |
-
"model.layers.15.self_attn.gla.o_proj.weight": "model-
|
| 119 |
-
"model.layers.15.self_attn.gla.q_proj.weight": "model-
|
| 120 |
-
"model.layers.15.self_attn.gla.v_proj.weight": "model-
|
| 121 |
-
"model.layers.16.input_layernorm.weight": "model-
|
| 122 |
-
"model.layers.16.linear_attn.A_log": "model-
|
| 123 |
-
"model.layers.16.linear_attn.conv1d.weight": "model-
|
| 124 |
-
"model.layers.16.linear_attn.dt_bias": "model-
|
| 125 |
-
"model.layers.16.linear_attn.in_proj_a.weight": "model-
|
| 126 |
-
"model.layers.16.linear_attn.in_proj_b.weight": "model-
|
| 127 |
-
"model.layers.16.linear_attn.in_proj_qkv.weight": "model-
|
| 128 |
-
"model.layers.16.linear_attn.in_proj_z.weight": "model-
|
| 129 |
-
"model.layers.16.linear_attn.norm.weight": "model-
|
| 130 |
-
"model.layers.16.linear_attn.out_proj.weight": "model-
|
| 131 |
-
"model.layers.16.mlp.down_proj.weight": "model-
|
| 132 |
-
"model.layers.16.mlp.gate_proj.weight": "model-
|
| 133 |
-
"model.layers.16.mlp.up_proj.weight": "model-
|
| 134 |
-
"model.layers.16.post_attention_layernorm.weight": "model-
|
| 135 |
-
"model.layers.17.input_layernorm.weight": "model-
|
| 136 |
-
"model.layers.17.linear_attn.A_log": "model-
|
| 137 |
-
"model.layers.17.linear_attn.conv1d.weight": "model-
|
| 138 |
-
"model.layers.17.linear_attn.dt_bias": "model-
|
| 139 |
-
"model.layers.17.linear_attn.in_proj_a.weight": "model-
|
| 140 |
-
"model.layers.17.linear_attn.in_proj_b.weight": "model-
|
| 141 |
-
"model.layers.17.linear_attn.in_proj_qkv.weight": "model-
|
| 142 |
-
"model.layers.17.linear_attn.in_proj_z.weight": "model-
|
| 143 |
-
"model.layers.17.linear_attn.norm.weight": "model-
|
| 144 |
-
"model.layers.17.linear_attn.out_proj.weight": "model-
|
| 145 |
-
"model.layers.17.mlp.down_proj.weight": "model-
|
| 146 |
-
"model.layers.17.mlp.gate_proj.weight": "model-
|
| 147 |
-
"model.layers.17.mlp.up_proj.weight": "model-
|
| 148 |
-
"model.layers.17.post_attention_layernorm.weight": "model-
|
| 149 |
-
"model.layers.18.input_layernorm.weight": "model-
|
| 150 |
-
"model.layers.18.linear_attn.A_log": "model-
|
| 151 |
-
"model.layers.18.linear_attn.conv1d.weight": "model-
|
| 152 |
-
"model.layers.18.linear_attn.dt_bias": "model-
|
| 153 |
-
"model.layers.18.linear_attn.in_proj_a.weight": "model-
|
| 154 |
-
"model.layers.18.linear_attn.in_proj_b.weight": "model-
|
| 155 |
-
"model.layers.18.linear_attn.in_proj_qkv.weight": "model-
|
| 156 |
-
"model.layers.18.linear_attn.in_proj_z.weight": "model-
|
| 157 |
-
"model.layers.18.linear_attn.norm.weight": "model-
|
| 158 |
-
"model.layers.18.linear_attn.out_proj.weight": "model-
|
| 159 |
-
"model.layers.18.mlp.down_proj.weight": "model-
|
| 160 |
-
"model.layers.18.mlp.gate_proj.weight": "model-
|
| 161 |
-
"model.layers.18.mlp.up_proj.weight": "model-
|
| 162 |
-
"model.layers.18.post_attention_layernorm.weight": "model-
|
| 163 |
"model.layers.19.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 164 |
"model.layers.19.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 165 |
"model.layers.19.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 166 |
"model.layers.19.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 167 |
"model.layers.19.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 168 |
-
"model.layers.19.self_attn.gla.g_norm_swish_gate.weight": "model-
|
| 169 |
-
"model.layers.19.self_attn.gla.g_proj.weight": "model-
|
| 170 |
-
"model.layers.19.self_attn.gla.gk_proj.0.weight": "model-
|
| 171 |
-
"model.layers.19.self_attn.gla.gk_proj.1.bias": "model-
|
| 172 |
-
"model.layers.19.self_attn.gla.gk_proj.1.weight": "model-
|
| 173 |
-
"model.layers.19.self_attn.gla.k_proj.weight": "model-
|
| 174 |
-
"model.layers.19.self_attn.gla.o_proj.weight": "model-
|
| 175 |
-
"model.layers.19.self_attn.gla.q_proj.weight": "model-
|
| 176 |
-
"model.layers.19.self_attn.gla.v_proj.weight": "model-
|
| 177 |
"model.layers.2.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 178 |
"model.layers.2.linear_attn.A_log": "model-00001-of-00004.safetensors",
|
| 179 |
"model.layers.2.linear_attn.conv1d.weight": "model-00001-of-00004.safetensors",
|
| 180 |
"model.layers.2.linear_attn.dt_bias": "model-00001-of-00004.safetensors",
|
| 181 |
"model.layers.2.linear_attn.in_proj_a.weight": "model-00001-of-00004.safetensors",
|
| 182 |
"model.layers.2.linear_attn.in_proj_b.weight": "model-00001-of-00004.safetensors",
|
| 183 |
-
"model.layers.2.linear_attn.in_proj_qkv.weight": "model-
|
| 184 |
-
"model.layers.2.linear_attn.in_proj_z.weight": "model-
|
| 185 |
-
"model.layers.2.linear_attn.norm.weight": "model-
|
| 186 |
-
"model.layers.2.linear_attn.out_proj.weight": "model-
|
| 187 |
-
"model.layers.2.mlp.down_proj.weight": "model-
|
| 188 |
-
"model.layers.2.mlp.gate_proj.weight": "model-
|
| 189 |
-
"model.layers.2.mlp.up_proj.weight": "model-
|
| 190 |
-
"model.layers.2.post_attention_layernorm.weight": "model-
|
| 191 |
"model.layers.20.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 192 |
"model.layers.20.linear_attn.A_log": "model-00003-of-00004.safetensors",
|
| 193 |
"model.layers.20.linear_attn.conv1d.weight": "model-00003-of-00004.safetensors",
|
|
@@ -282,136 +281,136 @@
|
|
| 282 |
"model.layers.26.linear_attn.in_proj_z.weight": "model-00003-of-00004.safetensors",
|
| 283 |
"model.layers.26.linear_attn.norm.weight": "model-00003-of-00004.safetensors",
|
| 284 |
"model.layers.26.linear_attn.out_proj.weight": "model-00003-of-00004.safetensors",
|
| 285 |
-
"model.layers.26.mlp.down_proj.weight": "model-
|
| 286 |
-
"model.layers.26.mlp.gate_proj.weight": "model-
|
| 287 |
-
"model.layers.26.mlp.up_proj.weight": "model-
|
| 288 |
-
"model.layers.26.post_attention_layernorm.weight": "model-
|
| 289 |
-
"model.layers.27.input_layernorm.weight": "model-
|
| 290 |
-
"model.layers.27.mlp.down_proj.weight": "model-
|
| 291 |
-
"model.layers.27.mlp.gate_proj.weight": "model-
|
| 292 |
-
"model.layers.27.mlp.up_proj.weight": "model-
|
| 293 |
-
"model.layers.27.post_attention_layernorm.weight": "model-
|
| 294 |
-
"model.layers.27.self_attn.gla.g_norm_swish_gate.weight": "model-
|
| 295 |
-
"model.layers.27.self_attn.gla.g_proj.weight": "model-
|
| 296 |
-
"model.layers.27.self_attn.gla.gk_proj.0.weight": "model-
|
| 297 |
-
"model.layers.27.self_attn.gla.gk_proj.1.bias": "model-
|
| 298 |
-
"model.layers.27.self_attn.gla.gk_proj.1.weight": "model-
|
| 299 |
-
"model.layers.27.self_attn.gla.k_proj.weight": "model-
|
| 300 |
-
"model.layers.27.self_attn.gla.o_proj.weight": "model-
|
| 301 |
-
"model.layers.27.self_attn.gla.q_proj.weight": "model-
|
| 302 |
-
"model.layers.27.self_attn.gla.v_proj.weight": "model-
|
| 303 |
-
"model.layers.28.input_layernorm.weight": "model-
|
| 304 |
-
"model.layers.28.linear_attn.A_log": "model-
|
| 305 |
-
"model.layers.28.linear_attn.conv1d.weight": "model-
|
| 306 |
-
"model.layers.28.linear_attn.dt_bias": "model-
|
| 307 |
-
"model.layers.28.linear_attn.in_proj_a.weight": "model-
|
| 308 |
-
"model.layers.28.linear_attn.in_proj_b.weight": "model-
|
| 309 |
-
"model.layers.28.linear_attn.in_proj_qkv.weight": "model-
|
| 310 |
-
"model.layers.28.linear_attn.in_proj_z.weight": "model-
|
| 311 |
-
"model.layers.28.linear_attn.norm.weight": "model-
|
| 312 |
-
"model.layers.28.linear_attn.out_proj.weight": "model-
|
| 313 |
-
"model.layers.28.mlp.down_proj.weight": "model-
|
| 314 |
-
"model.layers.28.mlp.gate_proj.weight": "model-
|
| 315 |
-
"model.layers.28.mlp.up_proj.weight": "model-
|
| 316 |
-
"model.layers.28.post_attention_layernorm.weight": "model-
|
| 317 |
-
"model.layers.29.input_layernorm.weight": "model-
|
| 318 |
-
"model.layers.29.linear_attn.A_log": "model-
|
| 319 |
-
"model.layers.29.linear_attn.conv1d.weight": "model-
|
| 320 |
-
"model.layers.29.linear_attn.dt_bias": "model-
|
| 321 |
-
"model.layers.29.linear_attn.in_proj_a.weight": "model-
|
| 322 |
-
"model.layers.29.linear_attn.in_proj_b.weight": "model-
|
| 323 |
-
"model.layers.29.linear_attn.in_proj_qkv.weight": "model-
|
| 324 |
-
"model.layers.29.linear_attn.in_proj_z.weight": "model-
|
| 325 |
-
"model.layers.29.linear_attn.norm.weight": "model-
|
| 326 |
-
"model.layers.29.linear_attn.out_proj.weight": "model-
|
| 327 |
-
"model.layers.29.mlp.down_proj.weight": "model-
|
| 328 |
-
"model.layers.29.mlp.gate_proj.weight": "model-
|
| 329 |
-
"model.layers.29.mlp.up_proj.weight": "model-
|
| 330 |
-
"model.layers.29.post_attention_layernorm.weight": "model-
|
| 331 |
-
"model.layers.3.input_layernorm.weight": "model-
|
| 332 |
-
"model.layers.3.mlp.down_proj.weight": "model-
|
| 333 |
-
"model.layers.3.mlp.gate_proj.weight": "model-
|
| 334 |
-
"model.layers.3.mlp.up_proj.weight": "model-
|
| 335 |
-
"model.layers.3.post_attention_layernorm.weight": "model-
|
| 336 |
-
"model.layers.3.self_attn.gla.g_norm_swish_gate.weight": "model-
|
| 337 |
-
"model.layers.3.self_attn.gla.g_proj.weight": "model-
|
| 338 |
-
"model.layers.3.self_attn.gla.gk_proj.0.weight": "model-
|
| 339 |
-
"model.layers.3.self_attn.gla.gk_proj.1.bias": "model-
|
| 340 |
-
"model.layers.3.self_attn.gla.gk_proj.1.weight": "model-
|
| 341 |
-
"model.layers.3.self_attn.gla.k_proj.weight": "model-
|
| 342 |
-
"model.layers.3.self_attn.gla.o_proj.weight": "model-
|
| 343 |
-
"model.layers.3.self_attn.gla.q_proj.weight": "model-
|
| 344 |
-
"model.layers.3.self_attn.gla.v_proj.weight": "model-
|
| 345 |
-
"model.layers.30.input_layernorm.weight": "model-
|
| 346 |
-
"model.layers.30.linear_attn.A_log": "model-
|
| 347 |
-
"model.layers.30.linear_attn.conv1d.weight": "model-
|
| 348 |
-
"model.layers.30.linear_attn.dt_bias": "model-
|
| 349 |
-
"model.layers.30.linear_attn.in_proj_a.weight": "model-
|
| 350 |
-
"model.layers.30.linear_attn.in_proj_b.weight": "model-
|
| 351 |
-
"model.layers.30.linear_attn.in_proj_qkv.weight": "model-
|
| 352 |
-
"model.layers.30.linear_attn.in_proj_z.weight": "model-
|
| 353 |
-
"model.layers.30.linear_attn.norm.weight": "model-
|
| 354 |
-
"model.layers.30.linear_attn.out_proj.weight": "model-
|
| 355 |
-
"model.layers.30.mlp.down_proj.weight": "model-
|
| 356 |
-
"model.layers.30.mlp.gate_proj.weight": "model-
|
| 357 |
-
"model.layers.30.mlp.up_proj.weight": "model-
|
| 358 |
-
"model.layers.30.post_attention_layernorm.weight": "model-
|
| 359 |
"model.layers.31.input_layernorm.weight": "model-00004-of-00004.safetensors",
|
| 360 |
"model.layers.31.mlp.down_proj.weight": "model-00004-of-00004.safetensors",
|
| 361 |
"model.layers.31.mlp.gate_proj.weight": "model-00004-of-00004.safetensors",
|
| 362 |
"model.layers.31.mlp.up_proj.weight": "model-00004-of-00004.safetensors",
|
| 363 |
"model.layers.31.post_attention_layernorm.weight": "model-00004-of-00004.safetensors",
|
| 364 |
-
"model.layers.31.self_attn.gla.g_norm_swish_gate.weight": "model-
|
| 365 |
-
"model.layers.31.self_attn.gla.g_proj.weight": "model-
|
| 366 |
-
"model.layers.31.self_attn.gla.gk_proj.0.weight": "model-
|
| 367 |
-
"model.layers.31.self_attn.gla.gk_proj.1.bias": "model-
|
| 368 |
-
"model.layers.31.self_attn.gla.gk_proj.1.weight": "model-
|
| 369 |
-
"model.layers.31.self_attn.gla.k_proj.weight": "model-
|
| 370 |
-
"model.layers.31.self_attn.gla.o_proj.weight": "model-
|
| 371 |
-
"model.layers.31.self_attn.gla.q_proj.weight": "model-
|
| 372 |
-
"model.layers.31.self_attn.gla.v_proj.weight": "model-
|
| 373 |
-
"model.layers.4.input_layernorm.weight": "model-
|
| 374 |
-
"model.layers.4.linear_attn.A_log": "model-
|
| 375 |
-
"model.layers.4.linear_attn.conv1d.weight": "model-
|
| 376 |
-
"model.layers.4.linear_attn.dt_bias": "model-
|
| 377 |
-
"model.layers.4.linear_attn.in_proj_a.weight": "model-
|
| 378 |
-
"model.layers.4.linear_attn.in_proj_b.weight": "model-
|
| 379 |
-
"model.layers.4.linear_attn.in_proj_qkv.weight": "model-
|
| 380 |
-
"model.layers.4.linear_attn.in_proj_z.weight": "model-
|
| 381 |
-
"model.layers.4.linear_attn.norm.weight": "model-
|
| 382 |
-
"model.layers.4.linear_attn.out_proj.weight": "model-
|
| 383 |
-
"model.layers.4.mlp.down_proj.weight": "model-
|
| 384 |
-
"model.layers.4.mlp.gate_proj.weight": "model-
|
| 385 |
-
"model.layers.4.mlp.up_proj.weight": "model-
|
| 386 |
-
"model.layers.4.post_attention_layernorm.weight": "model-
|
| 387 |
-
"model.layers.5.input_layernorm.weight": "model-
|
| 388 |
-
"model.layers.5.linear_attn.A_log": "model-
|
| 389 |
-
"model.layers.5.linear_attn.conv1d.weight": "model-
|
| 390 |
-
"model.layers.5.linear_attn.dt_bias": "model-
|
| 391 |
-
"model.layers.5.linear_attn.in_proj_a.weight": "model-
|
| 392 |
-
"model.layers.5.linear_attn.in_proj_b.weight": "model-
|
| 393 |
-
"model.layers.5.linear_attn.in_proj_qkv.weight": "model-
|
| 394 |
-
"model.layers.5.linear_attn.in_proj_z.weight": "model-
|
| 395 |
-
"model.layers.5.linear_attn.norm.weight": "model-
|
| 396 |
-
"model.layers.5.linear_attn.out_proj.weight": "model-
|
| 397 |
-
"model.layers.5.mlp.down_proj.weight": "model-
|
| 398 |
-
"model.layers.5.mlp.gate_proj.weight": "model-
|
| 399 |
-
"model.layers.5.mlp.up_proj.weight": "model-
|
| 400 |
-
"model.layers.5.post_attention_layernorm.weight": "model-
|
| 401 |
-
"model.layers.6.input_layernorm.weight": "model-
|
| 402 |
-
"model.layers.6.linear_attn.A_log": "model-
|
| 403 |
-
"model.layers.6.linear_attn.conv1d.weight": "model-
|
| 404 |
-
"model.layers.6.linear_attn.dt_bias": "model-
|
| 405 |
-
"model.layers.6.linear_attn.in_proj_a.weight": "model-
|
| 406 |
-
"model.layers.6.linear_attn.in_proj_b.weight": "model-
|
| 407 |
-
"model.layers.6.linear_attn.in_proj_qkv.weight": "model-
|
| 408 |
-
"model.layers.6.linear_attn.in_proj_z.weight": "model-
|
| 409 |
-
"model.layers.6.linear_attn.norm.weight": "model-
|
| 410 |
-
"model.layers.6.linear_attn.out_proj.weight": "model-
|
| 411 |
-
"model.layers.6.mlp.down_proj.weight": "model-
|
| 412 |
-
"model.layers.6.mlp.gate_proj.weight": "model-
|
| 413 |
-
"model.layers.6.mlp.up_proj.weight": "model-
|
| 414 |
-
"model.layers.6.post_attention_layernorm.weight": "model-
|
| 415 |
"model.layers.7.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 416 |
"model.layers.7.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 417 |
"model.layers.7.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
|
@@ -422,10 +421,10 @@
|
|
| 422 |
"model.layers.7.self_attn.gla.gk_proj.0.weight": "model-00002-of-00004.safetensors",
|
| 423 |
"model.layers.7.self_attn.gla.gk_proj.1.bias": "model-00002-of-00004.safetensors",
|
| 424 |
"model.layers.7.self_attn.gla.gk_proj.1.weight": "model-00002-of-00004.safetensors",
|
| 425 |
-
"model.layers.7.self_attn.gla.k_proj.weight": "model-
|
| 426 |
"model.layers.7.self_attn.gla.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 427 |
-
"model.layers.7.self_attn.gla.q_proj.weight": "model-
|
| 428 |
-
"model.layers.7.self_attn.gla.v_proj.weight": "model-
|
| 429 |
"model.layers.8.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 430 |
"model.layers.8.linear_attn.A_log": "model-00002-of-00004.safetensors",
|
| 431 |
"model.layers.8.linear_attn.conv1d.weight": "model-00002-of-00004.safetensors",
|
|
|
|
| 1 |
{
|
| 2 |
"metadata": {
|
|
|
|
| 3 |
"total_size": 17204074496
|
| 4 |
},
|
| 5 |
"weight_map": {
|
| 6 |
+
"lm_head.weight": "model-00004-of-00004.safetensors",
|
| 7 |
"model.embed_tokens.weight": "model-00001-of-00004.safetensors",
|
| 8 |
"model.layers.0.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 9 |
"model.layers.0.linear_attn.A_log": "model-00001-of-00004.safetensors",
|
|
|
|
| 96 |
"model.layers.14.linear_attn.in_proj_a.weight": "model-00002-of-00004.safetensors",
|
| 97 |
"model.layers.14.linear_attn.in_proj_b.weight": "model-00002-of-00004.safetensors",
|
| 98 |
"model.layers.14.linear_attn.in_proj_qkv.weight": "model-00002-of-00004.safetensors",
|
| 99 |
+
"model.layers.14.linear_attn.in_proj_z.weight": "model-00002-of-00004.safetensors",
|
| 100 |
+
"model.layers.14.linear_attn.norm.weight": "model-00002-of-00004.safetensors",
|
| 101 |
+
"model.layers.14.linear_attn.out_proj.weight": "model-00002-of-00004.safetensors",
|
| 102 |
+
"model.layers.14.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 103 |
+
"model.layers.14.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 104 |
+
"model.layers.14.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 105 |
+
"model.layers.14.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 106 |
+
"model.layers.15.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 107 |
+
"model.layers.15.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 108 |
+
"model.layers.15.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 109 |
+
"model.layers.15.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 110 |
+
"model.layers.15.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 111 |
+
"model.layers.15.self_attn.gla.g_norm_swish_gate.weight": "model-00002-of-00004.safetensors",
|
| 112 |
+
"model.layers.15.self_attn.gla.g_proj.weight": "model-00002-of-00004.safetensors",
|
| 113 |
+
"model.layers.15.self_attn.gla.gk_proj.0.weight": "model-00002-of-00004.safetensors",
|
| 114 |
+
"model.layers.15.self_attn.gla.gk_proj.1.bias": "model-00002-of-00004.safetensors",
|
| 115 |
+
"model.layers.15.self_attn.gla.gk_proj.1.weight": "model-00002-of-00004.safetensors",
|
| 116 |
+
"model.layers.15.self_attn.gla.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 117 |
+
"model.layers.15.self_attn.gla.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 118 |
+
"model.layers.15.self_attn.gla.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 119 |
+
"model.layers.15.self_attn.gla.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 120 |
+
"model.layers.16.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 121 |
+
"model.layers.16.linear_attn.A_log": "model-00002-of-00004.safetensors",
|
| 122 |
+
"model.layers.16.linear_attn.conv1d.weight": "model-00002-of-00004.safetensors",
|
| 123 |
+
"model.layers.16.linear_attn.dt_bias": "model-00002-of-00004.safetensors",
|
| 124 |
+
"model.layers.16.linear_attn.in_proj_a.weight": "model-00002-of-00004.safetensors",
|
| 125 |
+
"model.layers.16.linear_attn.in_proj_b.weight": "model-00002-of-00004.safetensors",
|
| 126 |
+
"model.layers.16.linear_attn.in_proj_qkv.weight": "model-00002-of-00004.safetensors",
|
| 127 |
+
"model.layers.16.linear_attn.in_proj_z.weight": "model-00002-of-00004.safetensors",
|
| 128 |
+
"model.layers.16.linear_attn.norm.weight": "model-00002-of-00004.safetensors",
|
| 129 |
+
"model.layers.16.linear_attn.out_proj.weight": "model-00002-of-00004.safetensors",
|
| 130 |
+
"model.layers.16.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 131 |
+
"model.layers.16.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 132 |
+
"model.layers.16.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 133 |
+
"model.layers.16.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 134 |
+
"model.layers.17.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 135 |
+
"model.layers.17.linear_attn.A_log": "model-00002-of-00004.safetensors",
|
| 136 |
+
"model.layers.17.linear_attn.conv1d.weight": "model-00002-of-00004.safetensors",
|
| 137 |
+
"model.layers.17.linear_attn.dt_bias": "model-00002-of-00004.safetensors",
|
| 138 |
+
"model.layers.17.linear_attn.in_proj_a.weight": "model-00002-of-00004.safetensors",
|
| 139 |
+
"model.layers.17.linear_attn.in_proj_b.weight": "model-00002-of-00004.safetensors",
|
| 140 |
+
"model.layers.17.linear_attn.in_proj_qkv.weight": "model-00002-of-00004.safetensors",
|
| 141 |
+
"model.layers.17.linear_attn.in_proj_z.weight": "model-00002-of-00004.safetensors",
|
| 142 |
+
"model.layers.17.linear_attn.norm.weight": "model-00002-of-00004.safetensors",
|
| 143 |
+
"model.layers.17.linear_attn.out_proj.weight": "model-00002-of-00004.safetensors",
|
| 144 |
+
"model.layers.17.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 145 |
+
"model.layers.17.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 146 |
+
"model.layers.17.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 147 |
+
"model.layers.17.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 148 |
+
"model.layers.18.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 149 |
+
"model.layers.18.linear_attn.A_log": "model-00002-of-00004.safetensors",
|
| 150 |
+
"model.layers.18.linear_attn.conv1d.weight": "model-00002-of-00004.safetensors",
|
| 151 |
+
"model.layers.18.linear_attn.dt_bias": "model-00002-of-00004.safetensors",
|
| 152 |
+
"model.layers.18.linear_attn.in_proj_a.weight": "model-00002-of-00004.safetensors",
|
| 153 |
+
"model.layers.18.linear_attn.in_proj_b.weight": "model-00002-of-00004.safetensors",
|
| 154 |
+
"model.layers.18.linear_attn.in_proj_qkv.weight": "model-00002-of-00004.safetensors",
|
| 155 |
+
"model.layers.18.linear_attn.in_proj_z.weight": "model-00002-of-00004.safetensors",
|
| 156 |
+
"model.layers.18.linear_attn.norm.weight": "model-00002-of-00004.safetensors",
|
| 157 |
+
"model.layers.18.linear_attn.out_proj.weight": "model-00002-of-00004.safetensors",
|
| 158 |
+
"model.layers.18.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 159 |
+
"model.layers.18.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 160 |
+
"model.layers.18.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 161 |
+
"model.layers.18.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 162 |
"model.layers.19.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 163 |
"model.layers.19.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 164 |
"model.layers.19.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 165 |
"model.layers.19.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 166 |
"model.layers.19.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 167 |
+
"model.layers.19.self_attn.gla.g_norm_swish_gate.weight": "model-00002-of-00004.safetensors",
|
| 168 |
+
"model.layers.19.self_attn.gla.g_proj.weight": "model-00002-of-00004.safetensors",
|
| 169 |
+
"model.layers.19.self_attn.gla.gk_proj.0.weight": "model-00002-of-00004.safetensors",
|
| 170 |
+
"model.layers.19.self_attn.gla.gk_proj.1.bias": "model-00002-of-00004.safetensors",
|
| 171 |
+
"model.layers.19.self_attn.gla.gk_proj.1.weight": "model-00002-of-00004.safetensors",
|
| 172 |
+
"model.layers.19.self_attn.gla.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 173 |
+
"model.layers.19.self_attn.gla.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 174 |
+
"model.layers.19.self_attn.gla.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 175 |
+
"model.layers.19.self_attn.gla.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 176 |
"model.layers.2.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 177 |
"model.layers.2.linear_attn.A_log": "model-00001-of-00004.safetensors",
|
| 178 |
"model.layers.2.linear_attn.conv1d.weight": "model-00001-of-00004.safetensors",
|
| 179 |
"model.layers.2.linear_attn.dt_bias": "model-00001-of-00004.safetensors",
|
| 180 |
"model.layers.2.linear_attn.in_proj_a.weight": "model-00001-of-00004.safetensors",
|
| 181 |
"model.layers.2.linear_attn.in_proj_b.weight": "model-00001-of-00004.safetensors",
|
| 182 |
+
"model.layers.2.linear_attn.in_proj_qkv.weight": "model-00001-of-00004.safetensors",
|
| 183 |
+
"model.layers.2.linear_attn.in_proj_z.weight": "model-00001-of-00004.safetensors",
|
| 184 |
+
"model.layers.2.linear_attn.norm.weight": "model-00001-of-00004.safetensors",
|
| 185 |
+
"model.layers.2.linear_attn.out_proj.weight": "model-00001-of-00004.safetensors",
|
| 186 |
+
"model.layers.2.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 187 |
+
"model.layers.2.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 188 |
+
"model.layers.2.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 189 |
+
"model.layers.2.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 190 |
"model.layers.20.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 191 |
"model.layers.20.linear_attn.A_log": "model-00003-of-00004.safetensors",
|
| 192 |
"model.layers.20.linear_attn.conv1d.weight": "model-00003-of-00004.safetensors",
|
|
|
|
| 281 |
"model.layers.26.linear_attn.in_proj_z.weight": "model-00003-of-00004.safetensors",
|
| 282 |
"model.layers.26.linear_attn.norm.weight": "model-00003-of-00004.safetensors",
|
| 283 |
"model.layers.26.linear_attn.out_proj.weight": "model-00003-of-00004.safetensors",
|
| 284 |
+
"model.layers.26.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 285 |
+
"model.layers.26.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 286 |
+
"model.layers.26.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 287 |
+
"model.layers.26.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 288 |
+
"model.layers.27.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 289 |
+
"model.layers.27.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 290 |
+
"model.layers.27.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 291 |
+
"model.layers.27.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 292 |
+
"model.layers.27.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 293 |
+
"model.layers.27.self_attn.gla.g_norm_swish_gate.weight": "model-00003-of-00004.safetensors",
|
| 294 |
+
"model.layers.27.self_attn.gla.g_proj.weight": "model-00003-of-00004.safetensors",
|
| 295 |
+
"model.layers.27.self_attn.gla.gk_proj.0.weight": "model-00003-of-00004.safetensors",
|
| 296 |
+
"model.layers.27.self_attn.gla.gk_proj.1.bias": "model-00003-of-00004.safetensors",
|
| 297 |
+
"model.layers.27.self_attn.gla.gk_proj.1.weight": "model-00003-of-00004.safetensors",
|
| 298 |
+
"model.layers.27.self_attn.gla.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 299 |
+
"model.layers.27.self_attn.gla.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 300 |
+
"model.layers.27.self_attn.gla.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 301 |
+
"model.layers.27.self_attn.gla.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 302 |
+
"model.layers.28.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 303 |
+
"model.layers.28.linear_attn.A_log": "model-00003-of-00004.safetensors",
|
| 304 |
+
"model.layers.28.linear_attn.conv1d.weight": "model-00003-of-00004.safetensors",
|
| 305 |
+
"model.layers.28.linear_attn.dt_bias": "model-00003-of-00004.safetensors",
|
| 306 |
+
"model.layers.28.linear_attn.in_proj_a.weight": "model-00003-of-00004.safetensors",
|
| 307 |
+
"model.layers.28.linear_attn.in_proj_b.weight": "model-00003-of-00004.safetensors",
|
| 308 |
+
"model.layers.28.linear_attn.in_proj_qkv.weight": "model-00003-of-00004.safetensors",
|
| 309 |
+
"model.layers.28.linear_attn.in_proj_z.weight": "model-00003-of-00004.safetensors",
|
| 310 |
+
"model.layers.28.linear_attn.norm.weight": "model-00003-of-00004.safetensors",
|
| 311 |
+
"model.layers.28.linear_attn.out_proj.weight": "model-00003-of-00004.safetensors",
|
| 312 |
+
"model.layers.28.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 313 |
+
"model.layers.28.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 314 |
+
"model.layers.28.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 315 |
+
"model.layers.28.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 316 |
+
"model.layers.29.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 317 |
+
"model.layers.29.linear_attn.A_log": "model-00003-of-00004.safetensors",
|
| 318 |
+
"model.layers.29.linear_attn.conv1d.weight": "model-00003-of-00004.safetensors",
|
| 319 |
+
"model.layers.29.linear_attn.dt_bias": "model-00003-of-00004.safetensors",
|
| 320 |
+
"model.layers.29.linear_attn.in_proj_a.weight": "model-00003-of-00004.safetensors",
|
| 321 |
+
"model.layers.29.linear_attn.in_proj_b.weight": "model-00003-of-00004.safetensors",
|
| 322 |
+
"model.layers.29.linear_attn.in_proj_qkv.weight": "model-00003-of-00004.safetensors",
|
| 323 |
+
"model.layers.29.linear_attn.in_proj_z.weight": "model-00003-of-00004.safetensors",
|
| 324 |
+
"model.layers.29.linear_attn.norm.weight": "model-00003-of-00004.safetensors",
|
| 325 |
+
"model.layers.29.linear_attn.out_proj.weight": "model-00003-of-00004.safetensors",
|
| 326 |
+
"model.layers.29.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 327 |
+
"model.layers.29.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 328 |
+
"model.layers.29.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 329 |
+
"model.layers.29.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 330 |
+
"model.layers.3.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 331 |
+
"model.layers.3.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 332 |
+
"model.layers.3.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 333 |
+
"model.layers.3.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 334 |
+
"model.layers.3.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 335 |
+
"model.layers.3.self_attn.gla.g_norm_swish_gate.weight": "model-00001-of-00004.safetensors",
|
| 336 |
+
"model.layers.3.self_attn.gla.g_proj.weight": "model-00001-of-00004.safetensors",
|
| 337 |
+
"model.layers.3.self_attn.gla.gk_proj.0.weight": "model-00001-of-00004.safetensors",
|
| 338 |
+
"model.layers.3.self_attn.gla.gk_proj.1.bias": "model-00001-of-00004.safetensors",
|
| 339 |
+
"model.layers.3.self_attn.gla.gk_proj.1.weight": "model-00001-of-00004.safetensors",
|
| 340 |
+
"model.layers.3.self_attn.gla.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 341 |
+
"model.layers.3.self_attn.gla.o_proj.weight": "model-00001-of-00004.safetensors",
|
| 342 |
+
"model.layers.3.self_attn.gla.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 343 |
+
"model.layers.3.self_attn.gla.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 344 |
+
"model.layers.30.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 345 |
+
"model.layers.30.linear_attn.A_log": "model-00003-of-00004.safetensors",
|
| 346 |
+
"model.layers.30.linear_attn.conv1d.weight": "model-00003-of-00004.safetensors",
|
| 347 |
+
"model.layers.30.linear_attn.dt_bias": "model-00003-of-00004.safetensors",
|
| 348 |
+
"model.layers.30.linear_attn.in_proj_a.weight": "model-00003-of-00004.safetensors",
|
| 349 |
+
"model.layers.30.linear_attn.in_proj_b.weight": "model-00003-of-00004.safetensors",
|
| 350 |
+
"model.layers.30.linear_attn.in_proj_qkv.weight": "model-00003-of-00004.safetensors",
|
| 351 |
+
"model.layers.30.linear_attn.in_proj_z.weight": "model-00003-of-00004.safetensors",
|
| 352 |
+
"model.layers.30.linear_attn.norm.weight": "model-00003-of-00004.safetensors",
|
| 353 |
+
"model.layers.30.linear_attn.out_proj.weight": "model-00003-of-00004.safetensors",
|
| 354 |
+
"model.layers.30.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 355 |
+
"model.layers.30.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 356 |
+
"model.layers.30.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 357 |
+
"model.layers.30.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 358 |
"model.layers.31.input_layernorm.weight": "model-00004-of-00004.safetensors",
|
| 359 |
"model.layers.31.mlp.down_proj.weight": "model-00004-of-00004.safetensors",
|
| 360 |
"model.layers.31.mlp.gate_proj.weight": "model-00004-of-00004.safetensors",
|
| 361 |
"model.layers.31.mlp.up_proj.weight": "model-00004-of-00004.safetensors",
|
| 362 |
"model.layers.31.post_attention_layernorm.weight": "model-00004-of-00004.safetensors",
|
| 363 |
+
"model.layers.31.self_attn.gla.g_norm_swish_gate.weight": "model-00003-of-00004.safetensors",
|
| 364 |
+
"model.layers.31.self_attn.gla.g_proj.weight": "model-00003-of-00004.safetensors",
|
| 365 |
+
"model.layers.31.self_attn.gla.gk_proj.0.weight": "model-00003-of-00004.safetensors",
|
| 366 |
+
"model.layers.31.self_attn.gla.gk_proj.1.bias": "model-00003-of-00004.safetensors",
|
| 367 |
+
"model.layers.31.self_attn.gla.gk_proj.1.weight": "model-00003-of-00004.safetensors",
|
| 368 |
+
"model.layers.31.self_attn.gla.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 369 |
+
"model.layers.31.self_attn.gla.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 370 |
+
"model.layers.31.self_attn.gla.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 371 |
+
"model.layers.31.self_attn.gla.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 372 |
+
"model.layers.4.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 373 |
+
"model.layers.4.linear_attn.A_log": "model-00001-of-00004.safetensors",
|
| 374 |
+
"model.layers.4.linear_attn.conv1d.weight": "model-00001-of-00004.safetensors",
|
| 375 |
+
"model.layers.4.linear_attn.dt_bias": "model-00001-of-00004.safetensors",
|
| 376 |
+
"model.layers.4.linear_attn.in_proj_a.weight": "model-00001-of-00004.safetensors",
|
| 377 |
+
"model.layers.4.linear_attn.in_proj_b.weight": "model-00001-of-00004.safetensors",
|
| 378 |
+
"model.layers.4.linear_attn.in_proj_qkv.weight": "model-00001-of-00004.safetensors",
|
| 379 |
+
"model.layers.4.linear_attn.in_proj_z.weight": "model-00001-of-00004.safetensors",
|
| 380 |
+
"model.layers.4.linear_attn.norm.weight": "model-00001-of-00004.safetensors",
|
| 381 |
+
"model.layers.4.linear_attn.out_proj.weight": "model-00001-of-00004.safetensors",
|
| 382 |
+
"model.layers.4.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 383 |
+
"model.layers.4.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 384 |
+
"model.layers.4.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 385 |
+
"model.layers.4.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 386 |
+
"model.layers.5.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 387 |
+
"model.layers.5.linear_attn.A_log": "model-00001-of-00004.safetensors",
|
| 388 |
+
"model.layers.5.linear_attn.conv1d.weight": "model-00001-of-00004.safetensors",
|
| 389 |
+
"model.layers.5.linear_attn.dt_bias": "model-00001-of-00004.safetensors",
|
| 390 |
+
"model.layers.5.linear_attn.in_proj_a.weight": "model-00001-of-00004.safetensors",
|
| 391 |
+
"model.layers.5.linear_attn.in_proj_b.weight": "model-00001-of-00004.safetensors",
|
| 392 |
+
"model.layers.5.linear_attn.in_proj_qkv.weight": "model-00001-of-00004.safetensors",
|
| 393 |
+
"model.layers.5.linear_attn.in_proj_z.weight": "model-00001-of-00004.safetensors",
|
| 394 |
+
"model.layers.5.linear_attn.norm.weight": "model-00001-of-00004.safetensors",
|
| 395 |
+
"model.layers.5.linear_attn.out_proj.weight": "model-00001-of-00004.safetensors",
|
| 396 |
+
"model.layers.5.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 397 |
+
"model.layers.5.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 398 |
+
"model.layers.5.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 399 |
+
"model.layers.5.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 400 |
+
"model.layers.6.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 401 |
+
"model.layers.6.linear_attn.A_log": "model-00001-of-00004.safetensors",
|
| 402 |
+
"model.layers.6.linear_attn.conv1d.weight": "model-00001-of-00004.safetensors",
|
| 403 |
+
"model.layers.6.linear_attn.dt_bias": "model-00001-of-00004.safetensors",
|
| 404 |
+
"model.layers.6.linear_attn.in_proj_a.weight": "model-00001-of-00004.safetensors",
|
| 405 |
+
"model.layers.6.linear_attn.in_proj_b.weight": "model-00001-of-00004.safetensors",
|
| 406 |
+
"model.layers.6.linear_attn.in_proj_qkv.weight": "model-00001-of-00004.safetensors",
|
| 407 |
+
"model.layers.6.linear_attn.in_proj_z.weight": "model-00001-of-00004.safetensors",
|
| 408 |
+
"model.layers.6.linear_attn.norm.weight": "model-00001-of-00004.safetensors",
|
| 409 |
+
"model.layers.6.linear_attn.out_proj.weight": "model-00001-of-00004.safetensors",
|
| 410 |
+
"model.layers.6.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 411 |
+
"model.layers.6.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 412 |
+
"model.layers.6.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 413 |
+
"model.layers.6.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 414 |
"model.layers.7.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 415 |
"model.layers.7.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 416 |
"model.layers.7.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
|
|
|
| 421 |
"model.layers.7.self_attn.gla.gk_proj.0.weight": "model-00002-of-00004.safetensors",
|
| 422 |
"model.layers.7.self_attn.gla.gk_proj.1.bias": "model-00002-of-00004.safetensors",
|
| 423 |
"model.layers.7.self_attn.gla.gk_proj.1.weight": "model-00002-of-00004.safetensors",
|
| 424 |
+
"model.layers.7.self_attn.gla.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 425 |
"model.layers.7.self_attn.gla.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 426 |
+
"model.layers.7.self_attn.gla.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 427 |
+
"model.layers.7.self_attn.gla.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 428 |
"model.layers.8.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 429 |
"model.layers.8.linear_attn.A_log": "model-00002-of-00004.safetensors",
|
| 430 |
"model.layers.8.linear_attn.conv1d.weight": "model-00002-of-00004.safetensors",
|
modeling_qwen3_5.py
DELETED
|
The diff for this file is too large to render.
See raw diff
|
|
|
special_tokens_map.json
CHANGED
|
@@ -1,4 +1,16 @@
|
|
| 1 |
{
|
| 2 |
-
"eos_token":
|
| 3 |
-
|
| 4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
{
|
| 2 |
+
"eos_token": {
|
| 3 |
+
"content": "<|endoftext|>",
|
| 4 |
+
"lstrip": false,
|
| 5 |
+
"normalized": false,
|
| 6 |
+
"rstrip": false,
|
| 7 |
+
"single_word": false
|
| 8 |
+
},
|
| 9 |
+
"pad_token": {
|
| 10 |
+
"content": "<|endoftext|>",
|
| 11 |
+
"lstrip": false,
|
| 12 |
+
"normalized": false,
|
| 13 |
+
"rstrip": false,
|
| 14 |
+
"single_word": false
|
| 15 |
+
}
|
| 16 |
+
}
|
tokenizer_config.json
CHANGED
|
@@ -1,13 +1,281 @@
|
|
| 1 |
{
|
| 2 |
"add_prefix_space": false,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
"audio_bos_token": "<|audio_start|>",
|
| 4 |
"audio_eos_token": "<|audio_end|>",
|
| 5 |
"audio_token": "<|audio_pad|>",
|
| 6 |
"backend": "tokenizers",
|
| 7 |
"bos_token": null,
|
|
|
|
| 8 |
"clean_up_tokenization_spaces": false,
|
| 9 |
"eos_token": "<|endoftext|>",
|
| 10 |
"errors": "replace",
|
|
|
|
| 11 |
"image_token": "<|image_pad|>",
|
| 12 |
"is_local": false,
|
| 13 |
"model_max_length": 262144,
|
|
@@ -23,10 +291,9 @@
|
|
| 23 |
"pad_token": "<|endoftext|>",
|
| 24 |
"pretokenize_regex": "(?i:'s|'t|'re|'ve|'m|'ll|'d)|[^\\r\\n\\p{L}\\p{N}]?[\\p{L}\\p{M}]+|\\p{N}| ?[^\\s\\p{L}\\p{M}\\p{N}]+[\\r\\n]*|\\s*[\\r\\n]+|\\s+(?!\\S)|\\s+",
|
| 25 |
"split_special_tokens": false,
|
| 26 |
-
"tokenizer_class": "
|
| 27 |
"unk_token": null,
|
| 28 |
"video_token": "<|video_pad|>",
|
| 29 |
"vision_bos_token": "<|vision_start|>",
|
| 30 |
-
"vision_eos_token": "<|vision_end|>"
|
| 31 |
-
|
| 32 |
-
}
|
|
|
|
| 1 |
{
|
| 2 |
"add_prefix_space": false,
|
| 3 |
+
"added_tokens_decoder": {
|
| 4 |
+
"248044": {
|
| 5 |
+
"content": "<|endoftext|>",
|
| 6 |
+
"lstrip": false,
|
| 7 |
+
"normalized": false,
|
| 8 |
+
"rstrip": false,
|
| 9 |
+
"single_word": false,
|
| 10 |
+
"special": true
|
| 11 |
+
},
|
| 12 |
+
"248045": {
|
| 13 |
+
"content": "<|im_start|>",
|
| 14 |
+
"lstrip": false,
|
| 15 |
+
"normalized": false,
|
| 16 |
+
"rstrip": false,
|
| 17 |
+
"single_word": false,
|
| 18 |
+
"special": true
|
| 19 |
+
},
|
| 20 |
+
"248046": {
|
| 21 |
+
"content": "<|im_end|>",
|
| 22 |
+
"lstrip": false,
|
| 23 |
+
"normalized": false,
|
| 24 |
+
"rstrip": false,
|
| 25 |
+
"single_word": false,
|
| 26 |
+
"special": true
|
| 27 |
+
},
|
| 28 |
+
"248047": {
|
| 29 |
+
"content": "<|object_ref_start|>",
|
| 30 |
+
"lstrip": false,
|
| 31 |
+
"normalized": false,
|
| 32 |
+
"rstrip": false,
|
| 33 |
+
"single_word": false,
|
| 34 |
+
"special": true
|
| 35 |
+
},
|
| 36 |
+
"248048": {
|
| 37 |
+
"content": "<|object_ref_end|>",
|
| 38 |
+
"lstrip": false,
|
| 39 |
+
"normalized": false,
|
| 40 |
+
"rstrip": false,
|
| 41 |
+
"single_word": false,
|
| 42 |
+
"special": true
|
| 43 |
+
},
|
| 44 |
+
"248049": {
|
| 45 |
+
"content": "<|box_start|>",
|
| 46 |
+
"lstrip": false,
|
| 47 |
+
"normalized": false,
|
| 48 |
+
"rstrip": false,
|
| 49 |
+
"single_word": false,
|
| 50 |
+
"special": true
|
| 51 |
+
},
|
| 52 |
+
"248050": {
|
| 53 |
+
"content": "<|box_end|>",
|
| 54 |
+
"lstrip": false,
|
| 55 |
+
"normalized": false,
|
| 56 |
+
"rstrip": false,
|
| 57 |
+
"single_word": false,
|
| 58 |
+
"special": true
|
| 59 |
+
},
|
| 60 |
+
"248051": {
|
| 61 |
+
"content": "<|quad_start|>",
|
| 62 |
+
"lstrip": false,
|
| 63 |
+
"normalized": false,
|
| 64 |
+
"rstrip": false,
|
| 65 |
+
"single_word": false,
|
| 66 |
+
"special": true
|
| 67 |
+
},
|
| 68 |
+
"248052": {
|
| 69 |
+
"content": "<|quad_end|>",
|
| 70 |
+
"lstrip": false,
|
| 71 |
+
"normalized": false,
|
| 72 |
+
"rstrip": false,
|
| 73 |
+
"single_word": false,
|
| 74 |
+
"special": true
|
| 75 |
+
},
|
| 76 |
+
"248053": {
|
| 77 |
+
"content": "<|vision_start|>",
|
| 78 |
+
"lstrip": false,
|
| 79 |
+
"normalized": false,
|
| 80 |
+
"rstrip": false,
|
| 81 |
+
"single_word": false,
|
| 82 |
+
"special": true
|
| 83 |
+
},
|
| 84 |
+
"248054": {
|
| 85 |
+
"content": "<|vision_end|>",
|
| 86 |
+
"lstrip": false,
|
| 87 |
+
"normalized": false,
|
| 88 |
+
"rstrip": false,
|
| 89 |
+
"single_word": false,
|
| 90 |
+
"special": true
|
| 91 |
+
},
|
| 92 |
+
"248055": {
|
| 93 |
+
"content": "<|vision_pad|>",
|
| 94 |
+
"lstrip": false,
|
| 95 |
+
"normalized": false,
|
| 96 |
+
"rstrip": false,
|
| 97 |
+
"single_word": false,
|
| 98 |
+
"special": true
|
| 99 |
+
},
|
| 100 |
+
"248056": {
|
| 101 |
+
"content": "<|image_pad|>",
|
| 102 |
+
"lstrip": false,
|
| 103 |
+
"normalized": false,
|
| 104 |
+
"rstrip": false,
|
| 105 |
+
"single_word": false,
|
| 106 |
+
"special": true
|
| 107 |
+
},
|
| 108 |
+
"248057": {
|
| 109 |
+
"content": "<|video_pad|>",
|
| 110 |
+
"lstrip": false,
|
| 111 |
+
"normalized": false,
|
| 112 |
+
"rstrip": false,
|
| 113 |
+
"single_word": false,
|
| 114 |
+
"special": true
|
| 115 |
+
},
|
| 116 |
+
"248058": {
|
| 117 |
+
"content": "<tool_call>",
|
| 118 |
+
"lstrip": false,
|
| 119 |
+
"normalized": false,
|
| 120 |
+
"rstrip": false,
|
| 121 |
+
"single_word": false,
|
| 122 |
+
"special": false
|
| 123 |
+
},
|
| 124 |
+
"248059": {
|
| 125 |
+
"content": "</tool_call>",
|
| 126 |
+
"lstrip": false,
|
| 127 |
+
"normalized": false,
|
| 128 |
+
"rstrip": false,
|
| 129 |
+
"single_word": false,
|
| 130 |
+
"special": false
|
| 131 |
+
},
|
| 132 |
+
"248060": {
|
| 133 |
+
"content": "<|fim_prefix|>",
|
| 134 |
+
"lstrip": false,
|
| 135 |
+
"normalized": false,
|
| 136 |
+
"rstrip": false,
|
| 137 |
+
"single_word": false,
|
| 138 |
+
"special": false
|
| 139 |
+
},
|
| 140 |
+
"248061": {
|
| 141 |
+
"content": "<|fim_middle|>",
|
| 142 |
+
"lstrip": false,
|
| 143 |
+
"normalized": false,
|
| 144 |
+
"rstrip": false,
|
| 145 |
+
"single_word": false,
|
| 146 |
+
"special": false
|
| 147 |
+
},
|
| 148 |
+
"248062": {
|
| 149 |
+
"content": "<|fim_suffix|>",
|
| 150 |
+
"lstrip": false,
|
| 151 |
+
"normalized": false,
|
| 152 |
+
"rstrip": false,
|
| 153 |
+
"single_word": false,
|
| 154 |
+
"special": false
|
| 155 |
+
},
|
| 156 |
+
"248063": {
|
| 157 |
+
"content": "<|fim_pad|>",
|
| 158 |
+
"lstrip": false,
|
| 159 |
+
"normalized": false,
|
| 160 |
+
"rstrip": false,
|
| 161 |
+
"single_word": false,
|
| 162 |
+
"special": false
|
| 163 |
+
},
|
| 164 |
+
"248064": {
|
| 165 |
+
"content": "<|repo_name|>",
|
| 166 |
+
"lstrip": false,
|
| 167 |
+
"normalized": false,
|
| 168 |
+
"rstrip": false,
|
| 169 |
+
"single_word": false,
|
| 170 |
+
"special": false
|
| 171 |
+
},
|
| 172 |
+
"248065": {
|
| 173 |
+
"content": "<|file_sep|>",
|
| 174 |
+
"lstrip": false,
|
| 175 |
+
"normalized": false,
|
| 176 |
+
"rstrip": false,
|
| 177 |
+
"single_word": false,
|
| 178 |
+
"special": false
|
| 179 |
+
},
|
| 180 |
+
"248066": {
|
| 181 |
+
"content": "<tool_response>",
|
| 182 |
+
"lstrip": false,
|
| 183 |
+
"normalized": false,
|
| 184 |
+
"rstrip": false,
|
| 185 |
+
"single_word": false,
|
| 186 |
+
"special": false
|
| 187 |
+
},
|
| 188 |
+
"248067": {
|
| 189 |
+
"content": "</tool_response>",
|
| 190 |
+
"lstrip": false,
|
| 191 |
+
"normalized": false,
|
| 192 |
+
"rstrip": false,
|
| 193 |
+
"single_word": false,
|
| 194 |
+
"special": false
|
| 195 |
+
},
|
| 196 |
+
"248068": {
|
| 197 |
+
"content": "<think>",
|
| 198 |
+
"lstrip": false,
|
| 199 |
+
"normalized": false,
|
| 200 |
+
"rstrip": false,
|
| 201 |
+
"single_word": false,
|
| 202 |
+
"special": false
|
| 203 |
+
},
|
| 204 |
+
"248069": {
|
| 205 |
+
"content": "</think>",
|
| 206 |
+
"lstrip": false,
|
| 207 |
+
"normalized": false,
|
| 208 |
+
"rstrip": false,
|
| 209 |
+
"single_word": false,
|
| 210 |
+
"special": false
|
| 211 |
+
},
|
| 212 |
+
"248070": {
|
| 213 |
+
"content": "<|audio_start|>",
|
| 214 |
+
"lstrip": false,
|
| 215 |
+
"normalized": false,
|
| 216 |
+
"rstrip": false,
|
| 217 |
+
"single_word": false,
|
| 218 |
+
"special": true
|
| 219 |
+
},
|
| 220 |
+
"248071": {
|
| 221 |
+
"content": "<|audio_end|>",
|
| 222 |
+
"lstrip": false,
|
| 223 |
+
"normalized": false,
|
| 224 |
+
"rstrip": false,
|
| 225 |
+
"single_word": false,
|
| 226 |
+
"special": true
|
| 227 |
+
},
|
| 228 |
+
"248072": {
|
| 229 |
+
"content": "<tts_pad>",
|
| 230 |
+
"lstrip": false,
|
| 231 |
+
"normalized": false,
|
| 232 |
+
"rstrip": false,
|
| 233 |
+
"single_word": false,
|
| 234 |
+
"special": true
|
| 235 |
+
},
|
| 236 |
+
"248073": {
|
| 237 |
+
"content": "<tts_text_bos>",
|
| 238 |
+
"lstrip": false,
|
| 239 |
+
"normalized": false,
|
| 240 |
+
"rstrip": false,
|
| 241 |
+
"single_word": false,
|
| 242 |
+
"special": true
|
| 243 |
+
},
|
| 244 |
+
"248074": {
|
| 245 |
+
"content": "<tts_text_eod>",
|
| 246 |
+
"lstrip": false,
|
| 247 |
+
"normalized": false,
|
| 248 |
+
"rstrip": false,
|
| 249 |
+
"single_word": false,
|
| 250 |
+
"special": true
|
| 251 |
+
},
|
| 252 |
+
"248075": {
|
| 253 |
+
"content": "<tts_text_bos_single>",
|
| 254 |
+
"lstrip": false,
|
| 255 |
+
"normalized": false,
|
| 256 |
+
"rstrip": false,
|
| 257 |
+
"single_word": false,
|
| 258 |
+
"special": true
|
| 259 |
+
},
|
| 260 |
+
"248076": {
|
| 261 |
+
"content": "<|audio_pad|>",
|
| 262 |
+
"lstrip": false,
|
| 263 |
+
"normalized": false,
|
| 264 |
+
"rstrip": false,
|
| 265 |
+
"single_word": false,
|
| 266 |
+
"special": true
|
| 267 |
+
}
|
| 268 |
+
},
|
| 269 |
"audio_bos_token": "<|audio_start|>",
|
| 270 |
"audio_eos_token": "<|audio_end|>",
|
| 271 |
"audio_token": "<|audio_pad|>",
|
| 272 |
"backend": "tokenizers",
|
| 273 |
"bos_token": null,
|
| 274 |
+
"chat_template": "{% for message in messages %}{% set role = message['role'] | lower %}{% if role == 'user' %}{% set role = 'HUMAN' %}{% endif %}{% set role = role | upper %}{{ '<role>' + role + '</role>' + message['content'] }}{% if role == 'ASSISTANT' %}{{ '<|endoftext|>' }}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '<role>ASSISTANT</role>' }}{% endif %}",
|
| 275 |
"clean_up_tokenization_spaces": false,
|
| 276 |
"eos_token": "<|endoftext|>",
|
| 277 |
"errors": "replace",
|
| 278 |
+
"extra_special_tokens": {},
|
| 279 |
"image_token": "<|image_pad|>",
|
| 280 |
"is_local": false,
|
| 281 |
"model_max_length": 262144,
|
|
|
|
| 291 |
"pad_token": "<|endoftext|>",
|
| 292 |
"pretokenize_regex": "(?i:'s|'t|'re|'ve|'m|'ll|'d)|[^\\r\\n\\p{L}\\p{N}]?[\\p{L}\\p{M}]+|\\p{N}| ?[^\\s\\p{L}\\p{M}\\p{N}]+[\\r\\n]*|\\s*[\\r\\n]+|\\s+(?!\\S)|\\s+",
|
| 293 |
"split_special_tokens": false,
|
| 294 |
+
"tokenizer_class": "PreTrainedTokenizer",
|
| 295 |
"unk_token": null,
|
| 296 |
"video_token": "<|video_pad|>",
|
| 297 |
"vision_bos_token": "<|vision_start|>",
|
| 298 |
+
"vision_eos_token": "<|vision_end|>"
|
| 299 |
+
}
|
|
|