Image-Text-to-Video
Diffusers
Safetensors
text-to-video
image-to-video
video-to-video
text-to-audio-video
image-to-audio-video
image-text-to-audio-video
video-to-audio-video
audio-to-audio-video
audio-video-generation
multimodal
synchronized-audio-video
reference-to-audio-video
Instructions to use MiniMaxAI/MiniMax-H3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use MiniMaxAI/MiniMax-H3 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("MiniMaxAI/MiniMax-H3", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Commit ·
5d9b308
0
Parent(s):
Init MiniMaxAI/MiniMax-H3
Browse filesCo-authored-by: multimodalart <multimodalart@users.noreply.huggingface.co>
Co-authored-by: yuanhe <yuanhe@users.noreply.huggingface.co>
Co-authored-by: RuggingHace <RuggingHace@users.noreply.huggingface.co>
Co-authored-by: MiniMax-AI <MiniMax-AI@users.noreply.huggingface.co>
This view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +38 -0
- FL2VA/audio_vae/config.json +81 -0
- FL2VA/audio_vae/config.yaml +5 -0
- FL2VA/audio_vae/dac_activations.py +60 -0
- FL2VA/audio_vae/dac_alias_free_act.py +30 -0
- FL2VA/audio_vae/dac_alias_free_filter.py +97 -0
- FL2VA/audio_vae/dac_alias_free_resample.py +48 -0
- FL2VA/audio_vae/dac_attn_proj.py +88 -0
- FL2VA/audio_vae/dac_audio_vae.py +225 -0
- FL2VA/audio_vae/dac_bigvgan.py +206 -0
- FL2VA/audio_vae/dac_utils.py +12 -0
- FL2VA/audio_vae/metadata.json +29 -0
- FL2VA/audio_vae/minimax_h3_audio_vae.py +86 -0
- FL2VA/audio_vae/model.safetensors +3 -0
- FL2VA/model_index.json +42 -0
- FL2VA/processor/chat_template.json +3 -0
- FL2VA/processor/merges.txt +0 -0
- FL2VA/processor/preprocessor_config.json +21 -0
- FL2VA/processor/tokenizer.json +0 -0
- FL2VA/processor/tokenizer_config.json +246 -0
- FL2VA/processor/video_preprocessor_config.json +21 -0
- FL2VA/processor/vocab.json +0 -0
- FL2VA/text_encoder/chat_template.json +3 -0
- FL2VA/text_encoder/config.json +62 -0
- FL2VA/text_encoder/merges.txt +0 -0
- FL2VA/text_encoder/model-00001-of-00014.safetensors +3 -0
- FL2VA/text_encoder/model-00002-of-00014.safetensors +3 -0
- FL2VA/text_encoder/model-00003-of-00014.safetensors +3 -0
- FL2VA/text_encoder/model-00004-of-00014.safetensors +3 -0
- FL2VA/text_encoder/model-00005-of-00014.safetensors +3 -0
- FL2VA/text_encoder/model-00006-of-00014.safetensors +3 -0
- FL2VA/text_encoder/model-00007-of-00014.safetensors +3 -0
- FL2VA/text_encoder/model-00008-of-00014.safetensors +3 -0
- FL2VA/text_encoder/model-00009-of-00014.safetensors +3 -0
- FL2VA/text_encoder/model-00010-of-00014.safetensors +3 -0
- FL2VA/text_encoder/model-00011-of-00014.safetensors +3 -0
- FL2VA/text_encoder/model-00012-of-00014.safetensors +3 -0
- FL2VA/text_encoder/model-00013-of-00014.safetensors +3 -0
- FL2VA/text_encoder/model-00014-of-00014.safetensors +3 -0
- FL2VA/text_encoder/model.safetensors.index.json +1065 -0
- FL2VA/text_encoder/preprocessor_config.json +21 -0
- FL2VA/text_encoder/tokenizer.json +0 -0
- FL2VA/text_encoder/tokenizer_config.json +246 -0
- FL2VA/text_encoder/video_preprocessor_config.json +21 -0
- FL2VA/text_encoder/vocab.json +0 -0
- FL2VA/tokenizer/merges.txt +0 -0
- FL2VA/tokenizer/tokenizer.json +0 -0
- FL2VA/tokenizer/tokenizer_config.json +246 -0
- FL2VA/tokenizer/vocab.json +0 -0
- FL2VA/transformer/config.json +27 -0
.gitattributes
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.png filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 33 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 34 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
*.mov filter=lfs diff=lfs merge=lfs -text
|
FL2VA/audio_vae/config.json
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "MiniMaxH3AudioVAE",
|
| 3 |
+
"_diffusers_version": "0.32.2",
|
| 4 |
+
"auto_map": {
|
| 5 |
+
"AutoModel": "minimax_h3_audio_vae.MiniMaxH3AudioVAE"
|
| 6 |
+
},
|
| 7 |
+
"output_channel": 2,
|
| 8 |
+
"sample_rate": 32000,
|
| 9 |
+
"source_config_path": "config.yaml",
|
| 10 |
+
"source_safetensors_path": "model.safetensors",
|
| 11 |
+
"source_metadata_path": "metadata.json",
|
| 12 |
+
"latent_channels": 32,
|
| 13 |
+
"latents_mean": [
|
| 14 |
+
-0.020211687488382354,
|
| 15 |
+
0.3876466479950502,
|
| 16 |
+
-0.04398279799186767,
|
| 17 |
+
-0.28591514936373,
|
| 18 |
+
0.08179686214561671,
|
| 19 |
+
-0.35782641352446604,
|
| 20 |
+
0.040623809960919084,
|
| 21 |
+
-0.01552534501956604,
|
| 22 |
+
-0.223362481667332,
|
| 23 |
+
0.1821006842509091,
|
| 24 |
+
0.2941778783780663,
|
| 25 |
+
-0.07901167601970885,
|
| 26 |
+
-0.056815072777201,
|
| 27 |
+
-0.3699028221860095,
|
| 28 |
+
-0.31616315591624855,
|
| 29 |
+
0.5905951377425391,
|
| 30 |
+
-0.052139568068853864,
|
| 31 |
+
0.013673160263486295,
|
| 32 |
+
-0.03691647864630577,
|
| 33 |
+
0.09732660653298163,
|
| 34 |
+
-0.3394662328788498,
|
| 35 |
+
-0.30685677538541667,
|
| 36 |
+
-0.24504598907458763,
|
| 37 |
+
-0.034698524462007344,
|
| 38 |
+
0.02868032184767538,
|
| 39 |
+
-0.21217779266454084,
|
| 40 |
+
-0.1678263169941987,
|
| 41 |
+
0.3221287889040614,
|
| 42 |
+
-0.1223055851554907,
|
| 43 |
+
0.4356604928128464,
|
| 44 |
+
-0.0502599202236253,
|
| 45 |
+
0.3979258376211797
|
| 46 |
+
],
|
| 47 |
+
"latents_std": [
|
| 48 |
+
1.6895524230479284,
|
| 49 |
+
2.76263727217653,
|
| 50 |
+
1.7945344281264435,
|
| 51 |
+
1.6801681847309828,
|
| 52 |
+
1.6390226546605453,
|
| 53 |
+
2.7788298348882177,
|
| 54 |
+
1.7659090095747236,
|
| 55 |
+
1.6199757612137327,
|
| 56 |
+
2.6336525640336896,
|
| 57 |
+
1.8539356672817833,
|
| 58 |
+
2.5056497896915633,
|
| 59 |
+
1.811019237886178,
|
| 60 |
+
1.9579657790720237,
|
| 61 |
+
1.6685498243529284,
|
| 62 |
+
1.4922469314453364,
|
| 63 |
+
3.298670198067373,
|
| 64 |
+
1.9491804496832168,
|
| 65 |
+
1.8720003270431442,
|
| 66 |
+
1.8334080103291832,
|
| 67 |
+
1.6488070416529093,
|
| 68 |
+
1.6176957696319716,
|
| 69 |
+
1.9131449234774398,
|
| 70 |
+
1.5695245398428617,
|
| 71 |
+
1.6943659940415912,
|
| 72 |
+
1.8318420762504692,
|
| 73 |
+
1.5540637421583379,
|
| 74 |
+
1.9344930328968526,
|
| 75 |
+
1.599198216109855,
|
| 76 |
+
1.718045989838149,
|
| 77 |
+
1.6307219190837705,
|
| 78 |
+
1.8661226051202384,
|
| 79 |
+
1.5613768203168363
|
| 80 |
+
]
|
| 81 |
+
}
|
FL2VA/audio_vae/config.yaml
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
model_config:
|
| 2 |
+
sr: 32000
|
| 3 |
+
decoder_dim: 1024
|
| 4 |
+
audio_channel: 1
|
| 5 |
+
vae_latent_channels: 32
|
FL2VA/audio_vae/dac_activations.py
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# SPDX-License-Identifier: MIT
|
| 2 |
+
# Implementation adapted from https://github.com/EdwardDixon/snake under the MIT license.
|
| 3 |
+
|
| 4 |
+
import torch
|
| 5 |
+
from torch import nn
|
| 6 |
+
from torch.nn import Parameter
|
| 7 |
+
|
| 8 |
+
|
| 9 |
+
@torch.jit.script
|
| 10 |
+
def snakebeta(x, alpha, beta):
|
| 11 |
+
shape = x.shape
|
| 12 |
+
x = x.reshape(shape[0], shape[1], -1)
|
| 13 |
+
x = x + (beta + 1e-9).reciprocal() * torch.sin(alpha * x).pow(2)
|
| 14 |
+
x = x.reshape(shape)
|
| 15 |
+
return x
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
class SnakeBeta(nn.Module):
|
| 19 |
+
def __init__(self, in_features, alpha=1.0, alpha_trainable=True, alpha_logscale=False):
|
| 20 |
+
"""
|
| 21 |
+
Initialization.
|
| 22 |
+
INPUT:
|
| 23 |
+
- in_features: shape of the input
|
| 24 |
+
- alpha - trainable parameter that controls frequency
|
| 25 |
+
- beta - trainable parameter that controls magnitude
|
| 26 |
+
alpha is initialized to 1 by default, higher values = higher-frequency.
|
| 27 |
+
beta is initialized to 1 by default, higher values = higher-magnitude.
|
| 28 |
+
alpha will be trained along with the rest of your model.
|
| 29 |
+
"""
|
| 30 |
+
super(SnakeBeta, self).__init__()
|
| 31 |
+
self.in_features = in_features
|
| 32 |
+
|
| 33 |
+
# Initialize alpha
|
| 34 |
+
self.alpha_logscale = alpha_logscale
|
| 35 |
+
if self.alpha_logscale: # Log scale alphas initialized to zeros
|
| 36 |
+
self.alpha = Parameter(torch.zeros(in_features) * alpha)
|
| 37 |
+
self.beta = Parameter(torch.zeros(in_features) * alpha)
|
| 38 |
+
else: # Linear scale alphas initialized to ones
|
| 39 |
+
self.alpha = Parameter(torch.ones(in_features) * alpha)
|
| 40 |
+
self.beta = Parameter(torch.ones(in_features) * alpha)
|
| 41 |
+
|
| 42 |
+
self.alpha.requires_grad = alpha_trainable
|
| 43 |
+
self.beta.requires_grad = alpha_trainable
|
| 44 |
+
|
| 45 |
+
self.no_div_by_zero = 0.000000001
|
| 46 |
+
|
| 47 |
+
def forward(self, x):
|
| 48 |
+
"""
|
| 49 |
+
Forward pass of the function.
|
| 50 |
+
Applies the function to the input elementwise.
|
| 51 |
+
SnakeBeta := x + 1/b * sin^2 (xa)
|
| 52 |
+
"""
|
| 53 |
+
alpha = self.alpha.unsqueeze(0).unsqueeze(-1) # Line up with x to [B, C, T]
|
| 54 |
+
beta = self.beta.unsqueeze(0).unsqueeze(-1)
|
| 55 |
+
if self.alpha_logscale:
|
| 56 |
+
alpha = torch.exp(alpha)
|
| 57 |
+
beta = torch.exp(beta)
|
| 58 |
+
x = snakebeta(x, alpha, beta)
|
| 59 |
+
|
| 60 |
+
return x
|
FL2VA/audio_vae/dac_alias_free_act.py
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# SPDX-License-Identifier: Apache-2.0
|
| 2 |
+
# Adapted from https://github.com/junjun3518/alias-free-torch under the Apache License 2.0
|
| 3 |
+
|
| 4 |
+
import torch.nn as nn
|
| 5 |
+
from .dac_alias_free_resample import UpSample1d, DownSample1d
|
| 6 |
+
|
| 7 |
+
|
| 8 |
+
class Activation1d(nn.Module):
|
| 9 |
+
def __init__(
|
| 10 |
+
self,
|
| 11 |
+
activation,
|
| 12 |
+
up_ratio: int = 2,
|
| 13 |
+
down_ratio: int = 2,
|
| 14 |
+
up_kernel_size: int = 12,
|
| 15 |
+
down_kernel_size: int = 12,
|
| 16 |
+
):
|
| 17 |
+
super().__init__()
|
| 18 |
+
self.up_ratio = up_ratio
|
| 19 |
+
self.down_ratio = down_ratio
|
| 20 |
+
self.act = activation
|
| 21 |
+
self.upsample = UpSample1d(up_ratio, up_kernel_size)
|
| 22 |
+
self.downsample = DownSample1d(down_ratio, down_kernel_size)
|
| 23 |
+
|
| 24 |
+
# x: [B,C,T]
|
| 25 |
+
def forward(self, x):
|
| 26 |
+
x = self.upsample(x)
|
| 27 |
+
x = self.act(x)
|
| 28 |
+
x = self.downsample(x)
|
| 29 |
+
|
| 30 |
+
return x
|
FL2VA/audio_vae/dac_alias_free_filter.py
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# SPDX-License-Identifier: Apache-2.0
|
| 2 |
+
# Adapted from https://github.com/junjun3518/alias-free-torch under the Apache License 2.0
|
| 3 |
+
|
| 4 |
+
import torch
|
| 5 |
+
import torch.nn as nn
|
| 6 |
+
import torch.nn.functional as F
|
| 7 |
+
import math
|
| 8 |
+
|
| 9 |
+
if "sinc" in dir(torch):
|
| 10 |
+
sinc = torch.sinc
|
| 11 |
+
else:
|
| 12 |
+
# This code is adopted from adefossez's julius.core.sinc under the MIT License
|
| 13 |
+
# https://adefossez.github.io/julius/julius/core.html
|
| 14 |
+
def sinc(x: torch.Tensor):
|
| 15 |
+
"""
|
| 16 |
+
Implementation of sinc, i.e. sin(pi * x) / (pi * x)
|
| 17 |
+
__Warning__: Different to julius.sinc, the input is multiplied by `pi`!
|
| 18 |
+
"""
|
| 19 |
+
return torch.where(
|
| 20 |
+
x == 0,
|
| 21 |
+
torch.tensor(1.0, device=x.device, dtype=x.dtype),
|
| 22 |
+
torch.sin(math.pi * x) / math.pi / x,
|
| 23 |
+
)
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
# This code is adopted from adefossez's julius.lowpass.LowPassFilters under the MIT License
|
| 27 |
+
# https://adefossez.github.io/julius/julius/lowpass.html
|
| 28 |
+
def kaiser_sinc_filter1d(cutoff, half_width, kernel_size): # return filter [1,1,kernel_size]
|
| 29 |
+
even = kernel_size % 2 == 0
|
| 30 |
+
half_size = kernel_size // 2
|
| 31 |
+
|
| 32 |
+
# For kaiser window
|
| 33 |
+
delta_f = 4 * half_width
|
| 34 |
+
A = 2.285 * (half_size - 1) * math.pi * delta_f + 7.95
|
| 35 |
+
if A > 50.0:
|
| 36 |
+
beta = 0.1102 * (A - 8.7)
|
| 37 |
+
elif A >= 21.0:
|
| 38 |
+
beta = 0.5842 * (A - 21) ** 0.4 + 0.07886 * (A - 21.0)
|
| 39 |
+
else:
|
| 40 |
+
beta = 0.0
|
| 41 |
+
window = torch.kaiser_window(kernel_size, beta=beta, periodic=False)
|
| 42 |
+
|
| 43 |
+
# ratio = 0.5/cutoff -> 2 * cutoff = 1 / ratio
|
| 44 |
+
if even:
|
| 45 |
+
time = torch.arange(-half_size, half_size) + 0.5
|
| 46 |
+
else:
|
| 47 |
+
time = torch.arange(kernel_size) - half_size
|
| 48 |
+
if cutoff == 0:
|
| 49 |
+
filter_ = torch.zeros_like(time)
|
| 50 |
+
else:
|
| 51 |
+
filter_ = 2 * cutoff * window * sinc(2 * cutoff * time)
|
| 52 |
+
"""
|
| 53 |
+
Normalize filter to have sum = 1, otherwise we will have a small leakage of the constant component in the input signal.
|
| 54 |
+
"""
|
| 55 |
+
filter_ /= filter_.sum()
|
| 56 |
+
filter = filter_.view(1, 1, kernel_size)
|
| 57 |
+
|
| 58 |
+
return filter
|
| 59 |
+
|
| 60 |
+
|
| 61 |
+
class LowPassFilter1d(nn.Module):
|
| 62 |
+
def __init__(
|
| 63 |
+
self,
|
| 64 |
+
cutoff=0.5,
|
| 65 |
+
half_width=0.6,
|
| 66 |
+
stride: int = 1,
|
| 67 |
+
padding: bool = True,
|
| 68 |
+
padding_mode: str = "replicate",
|
| 69 |
+
kernel_size: int = 12,
|
| 70 |
+
):
|
| 71 |
+
"""
|
| 72 |
+
kernel_size should be even number for stylegan3 setup, in this implementation, odd number is also possible.
|
| 73 |
+
"""
|
| 74 |
+
super().__init__()
|
| 75 |
+
if cutoff < -0.0:
|
| 76 |
+
raise ValueError("Minimum cutoff must be larger than zero.")
|
| 77 |
+
if cutoff > 0.5:
|
| 78 |
+
raise ValueError("A cutoff above 0.5 does not make sense.")
|
| 79 |
+
self.kernel_size = kernel_size
|
| 80 |
+
self.even = kernel_size % 2 == 0
|
| 81 |
+
self.pad_left = kernel_size // 2 - int(self.even)
|
| 82 |
+
self.pad_right = kernel_size // 2
|
| 83 |
+
self.stride = stride
|
| 84 |
+
self.padding = padding
|
| 85 |
+
self.padding_mode = padding_mode
|
| 86 |
+
filter = kaiser_sinc_filter1d(cutoff, half_width, kernel_size)
|
| 87 |
+
self.register_buffer("filter", filter)
|
| 88 |
+
|
| 89 |
+
# Input [B, C, T]
|
| 90 |
+
def forward(self, x):
|
| 91 |
+
_, C, _ = x.shape
|
| 92 |
+
|
| 93 |
+
if self.padding:
|
| 94 |
+
x = F.pad(x, (self.pad_left, self.pad_right), mode=self.padding_mode)
|
| 95 |
+
out = F.conv1d(x, self.filter.expand(C, -1, -1), stride=self.stride, groups=C)
|
| 96 |
+
|
| 97 |
+
return out
|
FL2VA/audio_vae/dac_alias_free_resample.py
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# SPDX-License-Identifier: Apache-2.0
|
| 2 |
+
# Adapted from https://github.com/junjun3518/alias-free-torch under the Apache License 2.0
|
| 3 |
+
|
| 4 |
+
import torch.nn as nn
|
| 5 |
+
from torch.nn import functional as F
|
| 6 |
+
from .dac_alias_free_filter import LowPassFilter1d
|
| 7 |
+
from .dac_alias_free_filter import kaiser_sinc_filter1d
|
| 8 |
+
|
| 9 |
+
|
| 10 |
+
class UpSample1d(nn.Module):
|
| 11 |
+
def __init__(self, ratio=2, kernel_size=None):
|
| 12 |
+
super().__init__()
|
| 13 |
+
self.ratio = ratio
|
| 14 |
+
self.kernel_size = int(6 * ratio // 2) * 2 if kernel_size is None else kernel_size
|
| 15 |
+
self.stride = ratio
|
| 16 |
+
self.pad = self.kernel_size // ratio - 1
|
| 17 |
+
self.pad_left = self.pad * self.stride + (self.kernel_size - self.stride) // 2
|
| 18 |
+
self.pad_right = self.pad * self.stride + (self.kernel_size - self.stride + 1) // 2
|
| 19 |
+
filter = kaiser_sinc_filter1d(cutoff=0.5 / ratio, half_width=0.6 / ratio, kernel_size=self.kernel_size)
|
| 20 |
+
self.register_buffer("filter", filter)
|
| 21 |
+
|
| 22 |
+
# x: [B, C, T]
|
| 23 |
+
def forward(self, x):
|
| 24 |
+
_, C, _ = x.shape
|
| 25 |
+
|
| 26 |
+
x = F.pad(x, (self.pad, self.pad), mode="replicate")
|
| 27 |
+
x = self.ratio * F.conv_transpose1d(x, self.filter.expand(C, -1, -1), stride=self.stride, groups=C)
|
| 28 |
+
x = x[..., self.pad_left : -self.pad_right]
|
| 29 |
+
|
| 30 |
+
return x
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
class DownSample1d(nn.Module):
|
| 34 |
+
def __init__(self, ratio=2, kernel_size=None):
|
| 35 |
+
super().__init__()
|
| 36 |
+
self.ratio = ratio
|
| 37 |
+
self.kernel_size = int(6 * ratio // 2) * 2 if kernel_size is None else kernel_size
|
| 38 |
+
self.lowpass = LowPassFilter1d(
|
| 39 |
+
cutoff=0.5 / ratio,
|
| 40 |
+
half_width=0.6 / ratio,
|
| 41 |
+
stride=ratio,
|
| 42 |
+
kernel_size=self.kernel_size,
|
| 43 |
+
)
|
| 44 |
+
|
| 45 |
+
def forward(self, x):
|
| 46 |
+
xx = self.lowpass(x)
|
| 47 |
+
|
| 48 |
+
return xx
|
FL2VA/audio_vae/dac_attn_proj.py
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# SPDX-License-Identifier: Apache-2.0
|
| 2 |
+
import torch
|
| 3 |
+
import torch.nn as nn
|
| 4 |
+
import torch.nn.functional as F
|
| 5 |
+
from torch.nn.functional import scaled_dot_product_attention
|
| 6 |
+
|
| 7 |
+
|
| 8 |
+
class GeGluMlp(nn.Module):
|
| 9 |
+
def __init__(
|
| 10 |
+
self,
|
| 11 |
+
in_features,
|
| 12 |
+
hidden_features,
|
| 13 |
+
):
|
| 14 |
+
super().__init__()
|
| 15 |
+
self.norm = nn.LayerNorm(in_features)
|
| 16 |
+
self.act = nn.GELU(approximate="tanh")
|
| 17 |
+
self.w0 = nn.Linear(in_features, hidden_features)
|
| 18 |
+
self.w1 = nn.Linear(in_features, hidden_features)
|
| 19 |
+
self.w2 = nn.Linear(hidden_features, in_features)
|
| 20 |
+
|
| 21 |
+
def forward(self, x):
|
| 22 |
+
x = self.norm(x)
|
| 23 |
+
x = self.act(self.w0(x)) * self.w1(x)
|
| 24 |
+
x = self.w2(x)
|
| 25 |
+
return x
|
| 26 |
+
|
| 27 |
+
|
| 28 |
+
class CausalAttention(nn.Module):
|
| 29 |
+
def __init__(self, in_dim, out_dim, num_heads):
|
| 30 |
+
super().__init__()
|
| 31 |
+
if in_dim > out_dim:
|
| 32 |
+
# assert in_dim // num_heads == out_dim
|
| 33 |
+
self.head_dim = in_dim // num_heads
|
| 34 |
+
self.qkv = nn.Linear(in_dim, in_dim * 3, bias=False)
|
| 35 |
+
self.q_bias = nn.Parameter(torch.zeros(in_dim))
|
| 36 |
+
self.v_bias = nn.Parameter(torch.zeros(in_dim))
|
| 37 |
+
self.register_buffer("zero_k_bias", torch.zeros(in_dim))
|
| 38 |
+
else:
|
| 39 |
+
# assert out_dim // num_heads == in_dim
|
| 40 |
+
self.head_dim = out_dim // num_heads
|
| 41 |
+
self.qkv = nn.Linear(in_dim, out_dim * 3, bias=False)
|
| 42 |
+
self.q_bias = nn.Parameter(torch.zeros(out_dim))
|
| 43 |
+
self.v_bias = nn.Parameter(torch.zeros(out_dim))
|
| 44 |
+
self.register_buffer("zero_k_bias", torch.zeros(out_dim))
|
| 45 |
+
|
| 46 |
+
self.in_dim = in_dim
|
| 47 |
+
self.out_dim = out_dim
|
| 48 |
+
self.num_heads = num_heads
|
| 49 |
+
self.scale = self.head_dim**-0.5
|
| 50 |
+
self.proj = nn.Linear(out_dim, out_dim)
|
| 51 |
+
|
| 52 |
+
def forward(self, x: torch.Tensor) -> torch.Tensor:
|
| 53 |
+
B, N, C = x.shape
|
| 54 |
+
qkv = F.linear(input=x, weight=self.qkv.weight, bias=torch.cat((self.q_bias, self.zero_k_bias, self.v_bias)))
|
| 55 |
+
q, k, v = qkv.reshape(B, N, 3, self.num_heads, self.head_dim).permute(2, 0, 3, 1, 4).unbind(0)
|
| 56 |
+
|
| 57 |
+
x = scaled_dot_product_attention(q, k, v, attn_mask=None, dropout_p=0.0, is_causal=True)
|
| 58 |
+
|
| 59 |
+
if self.in_dim > self.out_dim:
|
| 60 |
+
x = torch.mean(x, dim=1)
|
| 61 |
+
if self.in_dim // self.num_heads != self.out_dim:
|
| 62 |
+
x = nn.functional.adaptive_avg_pool1d(x, self.out_dim)
|
| 63 |
+
else:
|
| 64 |
+
x = x.transpose(1, 2).reshape(B, N, -1)
|
| 65 |
+
x = self.proj(x)
|
| 66 |
+
return x
|
| 67 |
+
|
| 68 |
+
|
| 69 |
+
class AttnProjection(nn.Module):
|
| 70 |
+
def __init__(self, in_dim, out_dim, num_heads, norm_layer=nn.LayerNorm, mlp_ratio=2):
|
| 71 |
+
super().__init__()
|
| 72 |
+
assert out_dim % in_dim == 0 or in_dim % out_dim == 0
|
| 73 |
+
self.in_dim = in_dim
|
| 74 |
+
self.out_dim = out_dim
|
| 75 |
+
self.norm1 = norm_layer(in_dim)
|
| 76 |
+
self.attn = CausalAttention(in_dim, out_dim, num_heads)
|
| 77 |
+
self.proj = nn.Linear(in_dim, out_dim)
|
| 78 |
+
self.norm3 = norm_layer(in_dim)
|
| 79 |
+
|
| 80 |
+
self.norm2 = norm_layer(out_dim)
|
| 81 |
+
hidden_dim = int(out_dim * mlp_ratio)
|
| 82 |
+
self.mlp = GeGluMlp(in_features=out_dim, hidden_features=hidden_dim)
|
| 83 |
+
# self.mlp = FeedForward(out_dim, out_dim)
|
| 84 |
+
|
| 85 |
+
def forward(self, x):
|
| 86 |
+
x = self.proj(self.norm3(x)) + self.attn(self.norm1(x))
|
| 87 |
+
x = x + self.mlp(self.norm2(x))
|
| 88 |
+
return x
|
FL2VA/audio_vae/dac_audio_vae.py
ADDED
|
@@ -0,0 +1,225 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# SPDX-License-Identifier: Apache-2.0
|
| 2 |
+
# DAC-lineage audio VAE: waveform encoder + BigVGAN decoder (inference-only bundle).
|
| 3 |
+
import math
|
| 4 |
+
from typing import List
|
| 5 |
+
|
| 6 |
+
import numpy as np
|
| 7 |
+
import torch
|
| 8 |
+
from torch import nn
|
| 9 |
+
from torch.nn.utils.parametrizations import weight_norm
|
| 10 |
+
|
| 11 |
+
from .dac_bigvgan import BigVGAN
|
| 12 |
+
from .dac_attn_proj import AttnProjection
|
| 13 |
+
|
| 14 |
+
|
| 15 |
+
class AttrDict(dict):
|
| 16 |
+
def __init__(self, *args, **kwargs):
|
| 17 |
+
super(AttrDict, self).__init__(*args, **kwargs)
|
| 18 |
+
self.__dict__ = self
|
| 19 |
+
|
| 20 |
+
|
| 21 |
+
def WNConv1d(*args, **kwargs):
|
| 22 |
+
return weight_norm(nn.Conv1d(*args, **kwargs))
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
@torch.jit.script
|
| 26 |
+
def snake(x, alpha):
|
| 27 |
+
shape = x.shape
|
| 28 |
+
x = x.reshape(shape[0], shape[1], -1)
|
| 29 |
+
x = x + (alpha + 1e-9).reciprocal() * torch.sin(alpha * x).pow(2)
|
| 30 |
+
x = x.reshape(shape)
|
| 31 |
+
return x
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
class Snake1d(nn.Module):
|
| 35 |
+
def __init__(self, channels):
|
| 36 |
+
super().__init__()
|
| 37 |
+
self.alpha = nn.Parameter(torch.ones(1, channels, 1))
|
| 38 |
+
|
| 39 |
+
def forward(self, x):
|
| 40 |
+
return snake(x, self.alpha)
|
| 41 |
+
|
| 42 |
+
|
| 43 |
+
def init_weights(m):
|
| 44 |
+
if isinstance(m, nn.Conv1d):
|
| 45 |
+
nn.init.trunc_normal_(m.weight, std=0.02)
|
| 46 |
+
if m.bias is not None:
|
| 47 |
+
nn.init.constant_(m.bias, 0)
|
| 48 |
+
|
| 49 |
+
|
| 50 |
+
class ResidualUnit(nn.Module):
|
| 51 |
+
def __init__(self, dim: int = 16, dilation: int = 1):
|
| 52 |
+
super().__init__()
|
| 53 |
+
pad = ((7 - 1) * dilation) // 2
|
| 54 |
+
self.block = nn.Sequential(
|
| 55 |
+
Snake1d(dim),
|
| 56 |
+
WNConv1d(dim, dim, kernel_size=7, dilation=dilation, padding=pad),
|
| 57 |
+
Snake1d(dim),
|
| 58 |
+
WNConv1d(dim, dim, kernel_size=1),
|
| 59 |
+
)
|
| 60 |
+
|
| 61 |
+
def forward(self, x):
|
| 62 |
+
y = self.block(x)
|
| 63 |
+
pad = (x.shape[-1] - y.shape[-1]) // 2
|
| 64 |
+
if pad > 0:
|
| 65 |
+
x = x[..., pad:-pad]
|
| 66 |
+
return x + y
|
| 67 |
+
|
| 68 |
+
|
| 69 |
+
class EncoderBlock(nn.Module):
|
| 70 |
+
def __init__(self, dim: int = 16, stride: int = 1):
|
| 71 |
+
super().__init__()
|
| 72 |
+
self.block = nn.Sequential(
|
| 73 |
+
ResidualUnit(dim // 2, dilation=1),
|
| 74 |
+
ResidualUnit(dim // 2, dilation=3),
|
| 75 |
+
ResidualUnit(dim // 2, dilation=9),
|
| 76 |
+
Snake1d(dim // 2),
|
| 77 |
+
WNConv1d(
|
| 78 |
+
dim // 2,
|
| 79 |
+
dim,
|
| 80 |
+
kernel_size=2 * stride,
|
| 81 |
+
stride=stride,
|
| 82 |
+
padding=math.ceil(stride / 2),
|
| 83 |
+
),
|
| 84 |
+
)
|
| 85 |
+
|
| 86 |
+
def forward(self, x):
|
| 87 |
+
return self.block(x)
|
| 88 |
+
|
| 89 |
+
|
| 90 |
+
class Encoder(nn.Module):
|
| 91 |
+
def __init__(
|
| 92 |
+
self,
|
| 93 |
+
d_model: int = 64,
|
| 94 |
+
strides: list = [2, 4, 8, 8],
|
| 95 |
+
d_latent: int = 64,
|
| 96 |
+
):
|
| 97 |
+
super().__init__()
|
| 98 |
+
# Create first convolution
|
| 99 |
+
self.block = [WNConv1d(1, d_model, kernel_size=7, padding=3)]
|
| 100 |
+
|
| 101 |
+
# Create EncoderBlocks that double channels as they downsample by `stride`
|
| 102 |
+
for stride in strides:
|
| 103 |
+
d_model *= 2
|
| 104 |
+
self.block += [EncoderBlock(d_model, stride=stride)]
|
| 105 |
+
|
| 106 |
+
# Create last convolution
|
| 107 |
+
self.block += [
|
| 108 |
+
Snake1d(d_model),
|
| 109 |
+
WNConv1d(d_model, d_latent, kernel_size=3, padding=1),
|
| 110 |
+
]
|
| 111 |
+
|
| 112 |
+
# Wrap black into nn.Sequential
|
| 113 |
+
self.block = nn.Sequential(*self.block)
|
| 114 |
+
self.enc_dim = d_model
|
| 115 |
+
|
| 116 |
+
def forward(self, x):
|
| 117 |
+
return self.block(x)
|
| 118 |
+
|
| 119 |
+
|
| 120 |
+
class DacAudioVAE(nn.Module):
|
| 121 |
+
def __init__(
|
| 122 |
+
self,
|
| 123 |
+
encoder_dim: int = 64,
|
| 124 |
+
encoder_rates: List[int] = [2, 4, 8, 8],
|
| 125 |
+
latent_dim: int = None,
|
| 126 |
+
decoder_dim: int = 1536,
|
| 127 |
+
decoder_rates: List[int] = [8, 8, 4, 2],
|
| 128 |
+
sample_rate: int = 44100,
|
| 129 |
+
vae_latent_channels: int = 64,
|
| 130 |
+
attn_proj: bool = False,
|
| 131 |
+
decoder_type: str = "bigvgan",
|
| 132 |
+
):
|
| 133 |
+
super().__init__()
|
| 134 |
+
|
| 135 |
+
self.encoder_dim = encoder_dim
|
| 136 |
+
self.encoder_rates = encoder_rates
|
| 137 |
+
self.decoder_dim = decoder_dim
|
| 138 |
+
self.decoder_rates = decoder_rates
|
| 139 |
+
self.sample_rate = sample_rate
|
| 140 |
+
self.attn_proj = attn_proj
|
| 141 |
+
self.decoder_type = decoder_type
|
| 142 |
+
|
| 143 |
+
if latent_dim is None:
|
| 144 |
+
latent_dim = encoder_dim * (2 ** len(encoder_rates))
|
| 145 |
+
|
| 146 |
+
self.latent_dim = latent_dim
|
| 147 |
+
|
| 148 |
+
self.hop_length = np.prod(encoder_rates)
|
| 149 |
+
self.encoder = Encoder(encoder_dim, encoder_rates, latent_dim)
|
| 150 |
+
|
| 151 |
+
if latent_dim % vae_latent_channels == 0:
|
| 152 |
+
self.attn_proj_dim = vae_latent_channels
|
| 153 |
+
else:
|
| 154 |
+
# smallest power of two >= vae_latent_channels
|
| 155 |
+
self.attn_proj_dim = 2 ** int(np.ceil(np.log2(vae_latent_channels)))
|
| 156 |
+
|
| 157 |
+
self.mean_proj = nn.Conv1d(self.attn_proj_dim, vae_latent_channels, 1)
|
| 158 |
+
self.logs_proj = nn.Conv1d(self.attn_proj_dim, vae_latent_channels, 1)
|
| 159 |
+
|
| 160 |
+
self.dec_in_proj = nn.Conv1d(vae_latent_channels, latent_dim, 1)
|
| 161 |
+
|
| 162 |
+
if self.decoder_type == "bigvgan":
|
| 163 |
+
if sample_rate == 16000:
|
| 164 |
+
bigvgan_conf = {"resblock": "1",
|
| 165 |
+
"num_mels": latent_dim,
|
| 166 |
+
"upsample_rates": [5,5,2,2,2,2],
|
| 167 |
+
"upsample_kernel_sizes": [9,9,4,4,4,4],
|
| 168 |
+
"upsample_initial_channel": decoder_dim,
|
| 169 |
+
"resblock_kernel_sizes": [3,7,11],
|
| 170 |
+
"resblock_dilation_sizes": [[1,3,5], [1,3,5], [1,3,5]],
|
| 171 |
+
"use_tanh_at_final": False,
|
| 172 |
+
"use_bias_at_final": False,
|
| 173 |
+
"activation": "snakebeta",
|
| 174 |
+
"snake_logscale": True}
|
| 175 |
+
elif sample_rate == 32000:
|
| 176 |
+
bigvgan_conf = {"resblock": "1",
|
| 177 |
+
"num_mels": latent_dim,
|
| 178 |
+
"upsample_rates": [5,5,2,2,2,2,2],
|
| 179 |
+
"upsample_kernel_sizes": [9,9,4,4,4,4,4],
|
| 180 |
+
"upsample_initial_channel": decoder_dim,
|
| 181 |
+
"resblock_kernel_sizes": [3,7,11],
|
| 182 |
+
"resblock_dilation_sizes": [[1,3,5], [1,3,5], [1,3,5]],
|
| 183 |
+
"use_tanh_at_final": False,
|
| 184 |
+
"use_bias_at_final": False,
|
| 185 |
+
"activation": "snakebeta",
|
| 186 |
+
"snake_logscale": True}
|
| 187 |
+
else:
|
| 188 |
+
raise ValueError(f"Invalid sample_rate: {sample_rate}")
|
| 189 |
+
|
| 190 |
+
h = AttrDict(**bigvgan_conf)
|
| 191 |
+
self.decoder = BigVGAN(h)
|
| 192 |
+
else:
|
| 193 |
+
raise ValueError(f"Invalid decoder type: {self.decoder_type}")
|
| 194 |
+
|
| 195 |
+
if self.attn_proj:
|
| 196 |
+
self.pre_block = AttnProjection(latent_dim, self.attn_proj_dim, num_heads=8)
|
| 197 |
+
|
| 198 |
+
self.sample_rate = sample_rate
|
| 199 |
+
self.apply(init_weights)
|
| 200 |
+
|
| 201 |
+
def preprocess(self, audio_data, sample_rate):
|
| 202 |
+
if sample_rate is None:
|
| 203 |
+
sample_rate = self.sample_rate
|
| 204 |
+
|
| 205 |
+
length = audio_data.shape[-1]
|
| 206 |
+
right_pad = math.ceil(length / self.hop_length) * self.hop_length - length
|
| 207 |
+
audio_data = nn.functional.pad(audio_data, (0, right_pad))
|
| 208 |
+
|
| 209 |
+
return audio_data
|
| 210 |
+
|
| 211 |
+
def decode(self, z: torch.Tensor):
|
| 212 |
+
"""Decode given latent codes and return audio data
|
| 213 |
+
|
| 214 |
+
Parameters
|
| 215 |
+
----------
|
| 216 |
+
z : Tensor[B x D x T]
|
| 217 |
+
Continuous latent representation
|
| 218 |
+
|
| 219 |
+
Returns
|
| 220 |
+
-------
|
| 221 |
+
Tensor[B x 1 x length]
|
| 222 |
+
Decoded audio data.
|
| 223 |
+
"""
|
| 224 |
+
z = self.dec_in_proj(z)
|
| 225 |
+
return self.decoder(z)
|
FL2VA/audio_vae/dac_bigvgan.py
ADDED
|
@@ -0,0 +1,206 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# SPDX-License-Identifier: MIT
|
| 2 |
+
# Copyright (c) 2024 NVIDIA CORPORATION.
|
| 3 |
+
# Licensed under the MIT license.
|
| 4 |
+
|
| 5 |
+
# Adapted from https://github.com/jik876/hifi-gan under the MIT license.
|
| 6 |
+
|
| 7 |
+
from .dac_activations import SnakeBeta
|
| 8 |
+
|
| 9 |
+
import torch
|
| 10 |
+
import torch.nn as nn
|
| 11 |
+
from torch.nn import Conv1d, ConvTranspose1d
|
| 12 |
+
from torch.nn.utils.parametrizations import weight_norm
|
| 13 |
+
|
| 14 |
+
from .dac_utils import init_weights, get_padding
|
| 15 |
+
from .dac_alias_free_act import Activation1d
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
class AttrDict(dict):
|
| 19 |
+
def __init__(self, *args, **kwargs):
|
| 20 |
+
super(AttrDict, self).__init__(*args, **kwargs)
|
| 21 |
+
self.__dict__ = self
|
| 22 |
+
|
| 23 |
+
|
| 24 |
+
class AMPBlock1(torch.nn.Module):
|
| 25 |
+
"""
|
| 26 |
+
AMPBlock applies SnakeBeta activation functions with trainable parameters that control periodicity, defined for each layer.
|
| 27 |
+
AMPBlock1 has additional self.convs2 that contains additional Conv1d layers with a fixed dilation=1 followed by each layer in self.convs1
|
| 28 |
+
|
| 29 |
+
Args:
|
| 30 |
+
h (AttrDict): Hyperparameters.
|
| 31 |
+
channels (int): Number of convolution channels.
|
| 32 |
+
kernel_size (int): Size of the convolution kernel. Default is 3.
|
| 33 |
+
dilation (tuple): Dilation rates for the convolutions. Each dilation layer has two convolutions. Default is (1, 3, 5).
|
| 34 |
+
activation (str): Activation function type. Must be 'snakebeta'.
|
| 35 |
+
"""
|
| 36 |
+
|
| 37 |
+
def __init__(
|
| 38 |
+
self,
|
| 39 |
+
h: AttrDict,
|
| 40 |
+
channels: int,
|
| 41 |
+
kernel_size: int = 3,
|
| 42 |
+
dilation: tuple = (1, 3, 5),
|
| 43 |
+
activation: str = None,
|
| 44 |
+
):
|
| 45 |
+
super().__init__()
|
| 46 |
+
|
| 47 |
+
self.h = h
|
| 48 |
+
|
| 49 |
+
self.convs1 = nn.ModuleList(
|
| 50 |
+
[
|
| 51 |
+
weight_norm(
|
| 52 |
+
Conv1d(
|
| 53 |
+
channels,
|
| 54 |
+
channels,
|
| 55 |
+
kernel_size,
|
| 56 |
+
stride=1,
|
| 57 |
+
dilation=d,
|
| 58 |
+
padding=get_padding(kernel_size, d),
|
| 59 |
+
)
|
| 60 |
+
)
|
| 61 |
+
for d in dilation
|
| 62 |
+
]
|
| 63 |
+
)
|
| 64 |
+
self.convs1.apply(init_weights)
|
| 65 |
+
|
| 66 |
+
self.convs2 = nn.ModuleList(
|
| 67 |
+
[
|
| 68 |
+
weight_norm(
|
| 69 |
+
Conv1d(
|
| 70 |
+
channels,
|
| 71 |
+
channels,
|
| 72 |
+
kernel_size,
|
| 73 |
+
stride=1,
|
| 74 |
+
dilation=1,
|
| 75 |
+
padding=get_padding(kernel_size, 1),
|
| 76 |
+
)
|
| 77 |
+
)
|
| 78 |
+
for _ in range(len(dilation))
|
| 79 |
+
]
|
| 80 |
+
)
|
| 81 |
+
self.convs2.apply(init_weights)
|
| 82 |
+
|
| 83 |
+
self.num_layers = len(self.convs1) + len(self.convs2) # Total number of conv layers
|
| 84 |
+
|
| 85 |
+
if activation == "snakebeta":
|
| 86 |
+
self.activations = nn.ModuleList(
|
| 87 |
+
[
|
| 88 |
+
Activation1d(activation=SnakeBeta(channels, alpha_logscale=h.snake_logscale))
|
| 89 |
+
for _ in range(self.num_layers)
|
| 90 |
+
]
|
| 91 |
+
)
|
| 92 |
+
else:
|
| 93 |
+
raise NotImplementedError(
|
| 94 |
+
"activation incorrectly specified. check the config file and look for 'activation'."
|
| 95 |
+
)
|
| 96 |
+
|
| 97 |
+
def forward(self, x):
|
| 98 |
+
acts1, acts2 = self.activations[::2], self.activations[1::2]
|
| 99 |
+
for c1, c2, a1, a2 in zip(self.convs1, self.convs2, acts1, acts2):
|
| 100 |
+
xt = a1(x)
|
| 101 |
+
xt = c1(xt)
|
| 102 |
+
xt = a2(xt)
|
| 103 |
+
xt = c2(xt)
|
| 104 |
+
x = xt + x
|
| 105 |
+
|
| 106 |
+
return x
|
| 107 |
+
|
| 108 |
+
|
| 109 |
+
class BigVGAN(torch.nn.Module):
|
| 110 |
+
"""
|
| 111 |
+
BigVGAN is a neural vocoder model that applies anti-aliased periodic activation for residual blocks (resblocks).
|
| 112 |
+
|
| 113 |
+
Args:
|
| 114 |
+
h (AttrDict): Hyperparameters.
|
| 115 |
+
"""
|
| 116 |
+
|
| 117 |
+
def __init__(self, h: AttrDict):
|
| 118 |
+
super().__init__()
|
| 119 |
+
self.h = h
|
| 120 |
+
|
| 121 |
+
self.num_kernels = len(h.resblock_kernel_sizes)
|
| 122 |
+
self.num_upsamples = len(h.upsample_rates)
|
| 123 |
+
|
| 124 |
+
# Pre-conv
|
| 125 |
+
self.conv_pre = weight_norm(Conv1d(h.num_mels, h.upsample_initial_channel, 7, 1, padding=3))
|
| 126 |
+
|
| 127 |
+
# Define which AMPBlock to use. BigVGAN uses AMPBlock1 as default
|
| 128 |
+
if h.resblock == "1":
|
| 129 |
+
resblock_class = AMPBlock1
|
| 130 |
+
else:
|
| 131 |
+
raise ValueError(f"Incorrect resblock class specified in hyperparameters. Got {h.resblock}")
|
| 132 |
+
|
| 133 |
+
# Transposed conv-based upsamplers. does not apply anti-aliasing
|
| 134 |
+
self.ups = nn.ModuleList()
|
| 135 |
+
for i, (u, k) in enumerate(zip(h.upsample_rates, h.upsample_kernel_sizes)):
|
| 136 |
+
self.ups.append(
|
| 137 |
+
nn.ModuleList(
|
| 138 |
+
[
|
| 139 |
+
weight_norm(
|
| 140 |
+
ConvTranspose1d(
|
| 141 |
+
h.upsample_initial_channel // (2**i),
|
| 142 |
+
h.upsample_initial_channel // (2 ** (i + 1)),
|
| 143 |
+
k,
|
| 144 |
+
u,
|
| 145 |
+
padding=(k - u) // 2,
|
| 146 |
+
)
|
| 147 |
+
)
|
| 148 |
+
]
|
| 149 |
+
)
|
| 150 |
+
)
|
| 151 |
+
|
| 152 |
+
# Residual blocks using anti-aliased multi-periodicity composition modules (AMP)
|
| 153 |
+
self.resblocks = nn.ModuleList()
|
| 154 |
+
for i in range(len(self.ups)):
|
| 155 |
+
ch = h.upsample_initial_channel // (2 ** (i + 1))
|
| 156 |
+
for j, (k, d) in enumerate(zip(h.resblock_kernel_sizes, h.resblock_dilation_sizes)):
|
| 157 |
+
self.resblocks.append(resblock_class(h, ch, k, d, activation=h.activation))
|
| 158 |
+
|
| 159 |
+
# Post-conv
|
| 160 |
+
if h.activation != "snakebeta":
|
| 161 |
+
raise NotImplementedError(
|
| 162 |
+
"activation incorrectly specified. check the config file and look for 'activation'."
|
| 163 |
+
)
|
| 164 |
+
activation_post = SnakeBeta(ch, alpha_logscale=h.snake_logscale)
|
| 165 |
+
|
| 166 |
+
self.activation_post = Activation1d(activation=activation_post)
|
| 167 |
+
|
| 168 |
+
# Whether to use bias for the final conv_post. Default to True for backward compatibility
|
| 169 |
+
self.use_bias_at_final = h.get("use_bias_at_final", True)
|
| 170 |
+
self.conv_post = weight_norm(Conv1d(ch, 1, 7, 1, padding=3, bias=self.use_bias_at_final))
|
| 171 |
+
|
| 172 |
+
# Weight initialization
|
| 173 |
+
for i in range(len(self.ups)):
|
| 174 |
+
self.ups[i].apply(init_weights)
|
| 175 |
+
self.conv_post.apply(init_weights)
|
| 176 |
+
|
| 177 |
+
# Final tanh activation. Defaults to True for backward compatibility
|
| 178 |
+
self.use_tanh_at_final = h.get("use_tanh_at_final", True)
|
| 179 |
+
|
| 180 |
+
def forward(self, x):
|
| 181 |
+
# Pre-conv
|
| 182 |
+
x = self.conv_pre(x)
|
| 183 |
+
|
| 184 |
+
for i in range(self.num_upsamples):
|
| 185 |
+
# Upsampling
|
| 186 |
+
for i_up in range(len(self.ups[i])):
|
| 187 |
+
x = self.ups[i][i_up](x)
|
| 188 |
+
# AMP blocks
|
| 189 |
+
xs = None
|
| 190 |
+
for j in range(self.num_kernels):
|
| 191 |
+
if xs is None:
|
| 192 |
+
xs = self.resblocks[i * self.num_kernels + j](x)
|
| 193 |
+
else:
|
| 194 |
+
xs += self.resblocks[i * self.num_kernels + j](x)
|
| 195 |
+
x = xs / self.num_kernels
|
| 196 |
+
|
| 197 |
+
# Post-conv
|
| 198 |
+
x = self.activation_post(x)
|
| 199 |
+
x = self.conv_post(x)
|
| 200 |
+
# Final tanh activation
|
| 201 |
+
if self.use_tanh_at_final:
|
| 202 |
+
x = torch.tanh(x)
|
| 203 |
+
else:
|
| 204 |
+
x = torch.clamp(x, min=-1.0, max=1.0) # Bound the output to [-1, 1]
|
| 205 |
+
|
| 206 |
+
return x
|
FL2VA/audio_vae/dac_utils.py
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# SPDX-License-Identifier: MIT
|
| 2 |
+
# Adapted from https://github.com/jik876/hifi-gan under the MIT license.
|
| 3 |
+
|
| 4 |
+
|
| 5 |
+
def init_weights(m, mean=0.0, std=0.01):
|
| 6 |
+
classname = m.__class__.__name__
|
| 7 |
+
if classname.find("Conv") != -1:
|
| 8 |
+
m.weight.data.normal_(mean, std)
|
| 9 |
+
|
| 10 |
+
|
| 11 |
+
def get_padding(kernel_size, dilation=1):
|
| 12 |
+
return int((kernel_size * dilation - dilation) / 2)
|
FL2VA/audio_vae/metadata.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"metadata": {
|
| 3 |
+
"kwargs": {
|
| 4 |
+
"attn_proj": true,
|
| 5 |
+
"decoder_dim": 1024,
|
| 6 |
+
"decoder_rates": [
|
| 7 |
+
5,
|
| 8 |
+
5,
|
| 9 |
+
2,
|
| 10 |
+
2,
|
| 11 |
+
2,
|
| 12 |
+
2,
|
| 13 |
+
2
|
| 14 |
+
],
|
| 15 |
+
"decoder_type": "bigvgan",
|
| 16 |
+
"encoder_dim": 64,
|
| 17 |
+
"encoder_rates": [
|
| 18 |
+
2,
|
| 19 |
+
4,
|
| 20 |
+
4,
|
| 21 |
+
5,
|
| 22 |
+
5
|
| 23 |
+
],
|
| 24 |
+
"latent_dim": 2048,
|
| 25 |
+
"sample_rate": 32000,
|
| 26 |
+
"vae_latent_channels": 32
|
| 27 |
+
}
|
| 28 |
+
}
|
| 29 |
+
}
|
FL2VA/audio_vae/minimax_h3_audio_vae.py
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# SPDX-License-Identifier: Apache-2.0
|
| 2 |
+
# Remote entry: self-contained MiniMax H3 audio VAE (DAC-lineage encoder + BigVGAN decoder).
|
| 3 |
+
# Loaded via config.json:auto_map with trust_remote_code; weights are safetensors-only.
|
| 4 |
+
from __future__ import annotations
|
| 5 |
+
|
| 6 |
+
import json
|
| 7 |
+
from pathlib import Path
|
| 8 |
+
|
| 9 |
+
import torch.nn as nn
|
| 10 |
+
|
| 11 |
+
# --- dependency manifest ---
|
| 12 |
+
# diffusers' dynamic-module loader only copies ONE level of relative
|
| 13 |
+
# imports into its cache; list every bundle module here so all files
|
| 14 |
+
# are copied, letting their own second-level imports resolve.
|
| 15 |
+
from .dac_activations import SnakeBeta as _dep_dac_activations # noqa: F401
|
| 16 |
+
from .dac_alias_free_act import Activation1d as _dep_dac_alias_free_act # noqa: F401
|
| 17 |
+
from .dac_alias_free_filter import kaiser_sinc_filter1d as _dep_dac_alias_free_filter # noqa: F401
|
| 18 |
+
from .dac_alias_free_resample import UpSample1d as _dep_dac_alias_free_resample # noqa: F401
|
| 19 |
+
from .dac_attn_proj import GeGluMlp as _dep_dac_attn_proj # noqa: F401
|
| 20 |
+
from .dac_bigvgan import AttrDict as _dep_dac_bigvgan # noqa: F401
|
| 21 |
+
from .dac_audio_vae import AttrDict as _dep_dac_audio_vae # noqa: F401
|
| 22 |
+
from .dac_utils import init_weights as _dep_dac_utils # noqa: F401
|
| 23 |
+
# --- end dependency manifest ---
|
| 24 |
+
from safetensors.torch import load_file
|
| 25 |
+
|
| 26 |
+
from .dac_audio_vae import DacAudioVAE
|
| 27 |
+
|
| 28 |
+
|
| 29 |
+
def _load_yaml(path: Path) -> dict:
|
| 30 |
+
try:
|
| 31 |
+
import yaml
|
| 32 |
+
except ImportError as exc:
|
| 33 |
+
raise ImportError("MiniMax H3 audio VAE requires PyYAML.") from exc
|
| 34 |
+
with path.open("r", encoding="utf-8") as f:
|
| 35 |
+
return yaml.safe_load(f)
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
class MiniMaxH3AudioVAE(nn.Module):
|
| 39 |
+
def __init__(self, model: nn.Module) -> None:
|
| 40 |
+
super().__init__()
|
| 41 |
+
self.model = model
|
| 42 |
+
|
| 43 |
+
@classmethod
|
| 44 |
+
def from_pretrained(cls, pretrained_model_name_or_path: str, **kwargs):
|
| 45 |
+
component_dir = Path(pretrained_model_name_or_path)
|
| 46 |
+
with (component_dir / "config.json").open("r", encoding="utf-8") as f:
|
| 47 |
+
config = json.load(f)
|
| 48 |
+
|
| 49 |
+
audio_config = _load_yaml(component_dir / config["source_config_path"])
|
| 50 |
+
if "source_safetensors_path" not in config:
|
| 51 |
+
raise KeyError(
|
| 52 |
+
"source_safetensors_path is required; pickle checkpoints are not supported"
|
| 53 |
+
)
|
| 54 |
+
if "source_metadata_path" not in config:
|
| 55 |
+
raise KeyError(
|
| 56 |
+
"source_metadata_path is required when source_safetensors_path is set"
|
| 57 |
+
)
|
| 58 |
+
state_dict = load_file(
|
| 59 |
+
component_dir / config["source_safetensors_path"], device="cpu"
|
| 60 |
+
)
|
| 61 |
+
with (component_dir / config["source_metadata_path"]).open(
|
| 62 |
+
"r", encoding="utf-8"
|
| 63 |
+
) as f:
|
| 64 |
+
metadata_doc = json.load(f)
|
| 65 |
+
metadata = metadata_doc["metadata"]["kwargs"]
|
| 66 |
+
|
| 67 |
+
model = DacAudioVAE(
|
| 68 |
+
encoder_rates=metadata["encoder_rates"],
|
| 69 |
+
decoder_rates=metadata["decoder_rates"],
|
| 70 |
+
attn_proj=metadata["attn_proj"],
|
| 71 |
+
decoder_type=metadata["decoder_type"],
|
| 72 |
+
decoder_dim=audio_config["model_config"]["decoder_dim"],
|
| 73 |
+
vae_latent_channels=audio_config["model_config"]["vae_latent_channels"],
|
| 74 |
+
sample_rate=metadata["sample_rate"],
|
| 75 |
+
)
|
| 76 |
+
model.load_state_dict(state_dict, strict=True)
|
| 77 |
+
return cls(model.eval())
|
| 78 |
+
|
| 79 |
+
def decode(self, *args, **kwargs):
|
| 80 |
+
return self.model.decode(*args, **kwargs)
|
| 81 |
+
|
| 82 |
+
def __getattr__(self, name: str):
|
| 83 |
+
try:
|
| 84 |
+
return super().__getattr__(name)
|
| 85 |
+
except AttributeError:
|
| 86 |
+
return getattr(self.model, name)
|
FL2VA/audio_vae/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:37dddc2f3e6d5d5139d823d5ea283bbf304dadcb885b1ccda818aa13dade5ea2
|
| 3 |
+
size 605429308
|
FL2VA/model_index.json
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "MiniMaxH3Pipeline",
|
| 3 |
+
"_diffusers_version": "0.32.2",
|
| 4 |
+
"text_encoder": [
|
| 5 |
+
"transformers",
|
| 6 |
+
"MiniMaxH3Qwen3VLHFEncoder"
|
| 7 |
+
],
|
| 8 |
+
"tokenizer": [
|
| 9 |
+
"transformers",
|
| 10 |
+
"Qwen2TokenizerFast"
|
| 11 |
+
],
|
| 12 |
+
"video_vae": [
|
| 13 |
+
"diffusers",
|
| 14 |
+
"MiniMaxH3VideoVAE"
|
| 15 |
+
],
|
| 16 |
+
"audio_vae": [
|
| 17 |
+
"diffusers",
|
| 18 |
+
"MiniMaxH3AudioVAE"
|
| 19 |
+
],
|
| 20 |
+
"scheduler": null,
|
| 21 |
+
"transformer": [
|
| 22 |
+
"diffusers",
|
| 23 |
+
"MiniMaxH3DiTModel"
|
| 24 |
+
],
|
| 25 |
+
"processor": [
|
| 26 |
+
"transformers",
|
| 27 |
+
"Qwen3VLProcessor"
|
| 28 |
+
],
|
| 29 |
+
"_minimax_h3": {
|
| 30 |
+
"schema_version": 1,
|
| 31 |
+
"partition": "fl2va",
|
| 32 |
+
"tasks": [
|
| 33 |
+
"t2va",
|
| 34 |
+
"fl2va"
|
| 35 |
+
],
|
| 36 |
+
"task_aliases": {},
|
| 37 |
+
"sigma_shift_scales": {
|
| 38 |
+
"video": 12.0,
|
| 39 |
+
"audio": 3.0
|
| 40 |
+
}
|
| 41 |
+
}
|
| 42 |
+
}
|
FL2VA/processor/chat_template.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"chat_template": "{%- if tools %}\n {{- '<|im_start|>system\\n' }}\n {%- if messages[0].role == 'system' %}\n {%- if messages[0].content is string %}\n {{- messages[0].content }}\n {%- else %}\n {%- for content in messages[0].content %}\n {%- if 'text' in content %}\n {{- content.text }}\n {%- endif %}\n {%- endfor %}\n {%- endif %}\n {{- '\\n\\n' }}\n {%- endif %}\n {{- \"# Tools\\n\\nYou may call one or more functions to assist with the user query.\\n\\nYou are provided with function signatures within <tools></tools> XML tags:\\n<tools>\" }}\n {%- for tool in tools %}\n {{- \"\\n\" }}\n {{- tool | tojson }}\n {%- endfor %}\n {{- \"\\n</tools>\\n\\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\\n<tool_call>\\n{\\\"name\\\": <function-name>, \\\"arguments\\\": <args-json-object>}\\n</tool_call><|im_end|>\\n\" }}\n{%- else %}\n {%- if messages[0].role == 'system' %}\n {{- '<|im_start|>system\\n' }}\n {%- if messages[0].content is string %}\n {{- messages[0].content }}\n {%- else %}\n {%- for content in messages[0].content %}\n {%- if 'text' in content %}\n {{- content.text }}\n {%- endif %}\n {%- endfor %}\n {%- endif %}\n {{- '<|im_end|>\\n' }}\n {%- endif %}\n{%- endif %}\n{%- set image_count = namespace(value=0) %}\n{%- set video_count = namespace(value=0) %}\n{%- for message in messages %}\n {%- if message.role == \"user\" %}\n {{- '<|im_start|>' + message.role + '\\n' }}\n {%- if message.content is string %}\n {{- message.content }}\n {%- else %}\n {%- for content in message.content %}\n {%- if content.type == 'image' or 'image' in content or 'image_url' in content %}\n {%- set image_count.value = image_count.value + 1 %}\n {%- if add_vision_id %}Picture {{ image_count.value }}: {% endif -%}\n <|vision_start|><|image_pad|><|vision_end|>\n {%- elif content.type == 'video' or 'video' in content %}\n {%- set video_count.value = video_count.value + 1 %}\n {%- if add_vision_id %}Video {{ video_count.value }}: {% endif -%}\n <|vision_start|><|video_pad|><|vision_end|>\n {%- elif 'text' in content %}\n {{- content.text }}\n {%- endif %}\n {%- endfor %}\n {%- endif %}\n {{- '<|im_end|>\\n' }}\n {%- elif message.role == \"assistant\" %}\n {{- '<|im_start|>' + message.role + '\\n' }}\n {%- if message.content is string %}\n {{- message.content }}\n {%- else %}\n {%- for content_item in message.content %}\n {%- if 'text' in content_item %}\n {{- content_item.text }}\n {%- endif %}\n {%- endfor %}\n {%- endif %}\n {%- if message.tool_calls %}\n {%- for tool_call in message.tool_calls %}\n {%- if (loop.first and message.content) or (not loop.first) %}\n {{- '\\n' }}\n {%- endif %}\n {%- if tool_call.function %}\n {%- set tool_call = tool_call.function %}\n {%- endif %}\n {{- '<tool_call>\\n{\"name\": \"' }}\n {{- tool_call.name }}\n {{- '\", \"arguments\": ' }}\n {%- if tool_call.arguments is string %}\n {{- tool_call.arguments }}\n {%- else %}\n {{- tool_call.arguments | tojson }}\n {%- endif %}\n {{- '}\\n</tool_call>' }}\n {%- endfor %}\n {%- endif %}\n {{- '<|im_end|>\\n' }}\n {%- elif message.role == \"tool\" %}\n {%- if loop.first or (messages[loop.index0 - 1].role != \"tool\") %}\n {{- '<|im_start|>user' }}\n {%- endif %}\n {{- '\\n<tool_response>\\n' }}\n {%- if message.content is string %}\n {{- message.content }}\n {%- else %}\n {%- for content in message.content %}\n {%- if content.type == 'image' or 'image' in content or 'image_url' in content %}\n {%- set image_count.value = image_count.value + 1 %}\n {%- if add_vision_id %}Picture {{ image_count.value }}: {% endif -%}\n <|vision_start|><|image_pad|><|vision_end|>\n {%- elif content.type == 'video' or 'video' in content %}\n {%- set video_count.value = video_count.value + 1 %}\n {%- if add_vision_id %}Video {{ video_count.value }}: {% endif -%}\n <|vision_start|><|video_pad|><|vision_end|>\n {%- elif 'text' in content %}\n {{- content.text }}\n {%- endif %}\n {%- endfor %}\n {%- endif %}\n {{- '\\n</tool_response>' }}\n {%- if loop.last or (messages[loop.index0 + 1].role != \"tool\") %}\n {{- '<|im_end|>\\n' }}\n {%- endif %}\n {%- endif %}\n{%- endfor %}\n{%- if add_generation_prompt %}\n {{- '<|im_start|>assistant\\n' }}\n{%- endif %}\n"
|
| 3 |
+
}
|
FL2VA/processor/merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
FL2VA/processor/preprocessor_config.json
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"size": {
|
| 3 |
+
"longest_edge": 16777216,
|
| 4 |
+
"shortest_edge": 65536
|
| 5 |
+
},
|
| 6 |
+
"patch_size": 16,
|
| 7 |
+
"temporal_patch_size": 2,
|
| 8 |
+
"merge_size": 2,
|
| 9 |
+
"image_mean": [
|
| 10 |
+
0.5,
|
| 11 |
+
0.5,
|
| 12 |
+
0.5
|
| 13 |
+
],
|
| 14 |
+
"image_std": [
|
| 15 |
+
0.5,
|
| 16 |
+
0.5,
|
| 17 |
+
0.5
|
| 18 |
+
],
|
| 19 |
+
"processor_class": "Qwen3VLProcessor",
|
| 20 |
+
"image_processor_type": "Qwen2VLImageProcessorFast"
|
| 21 |
+
}
|
FL2VA/processor/tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
FL2VA/processor/tokenizer_config.json
ADDED
|
@@ -0,0 +1,246 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_bos_token": false,
|
| 3 |
+
"add_prefix_space": false,
|
| 4 |
+
"added_tokens_decoder": {
|
| 5 |
+
"151643": {
|
| 6 |
+
"content": "<|endoftext|>",
|
| 7 |
+
"lstrip": false,
|
| 8 |
+
"normalized": false,
|
| 9 |
+
"rstrip": false,
|
| 10 |
+
"single_word": false,
|
| 11 |
+
"special": true
|
| 12 |
+
},
|
| 13 |
+
"151644": {
|
| 14 |
+
"content": "<|im_start|>",
|
| 15 |
+
"lstrip": false,
|
| 16 |
+
"normalized": false,
|
| 17 |
+
"rstrip": false,
|
| 18 |
+
"single_word": false,
|
| 19 |
+
"special": true
|
| 20 |
+
},
|
| 21 |
+
"151645": {
|
| 22 |
+
"content": "<|im_end|>",
|
| 23 |
+
"lstrip": false,
|
| 24 |
+
"normalized": false,
|
| 25 |
+
"rstrip": false,
|
| 26 |
+
"single_word": false,
|
| 27 |
+
"special": true
|
| 28 |
+
},
|
| 29 |
+
"151646": {
|
| 30 |
+
"content": "<|object_ref_start|>",
|
| 31 |
+
"lstrip": false,
|
| 32 |
+
"normalized": false,
|
| 33 |
+
"rstrip": false,
|
| 34 |
+
"single_word": false,
|
| 35 |
+
"special": true
|
| 36 |
+
},
|
| 37 |
+
"151647": {
|
| 38 |
+
"content": "<|object_ref_end|>",
|
| 39 |
+
"lstrip": false,
|
| 40 |
+
"normalized": false,
|
| 41 |
+
"rstrip": false,
|
| 42 |
+
"single_word": false,
|
| 43 |
+
"special": true
|
| 44 |
+
},
|
| 45 |
+
"151648": {
|
| 46 |
+
"content": "<|box_start|>",
|
| 47 |
+
"lstrip": false,
|
| 48 |
+
"normalized": false,
|
| 49 |
+
"rstrip": false,
|
| 50 |
+
"single_word": false,
|
| 51 |
+
"special": true
|
| 52 |
+
},
|
| 53 |
+
"151649": {
|
| 54 |
+
"content": "<|box_end|>",
|
| 55 |
+
"lstrip": false,
|
| 56 |
+
"normalized": false,
|
| 57 |
+
"rstrip": false,
|
| 58 |
+
"single_word": false,
|
| 59 |
+
"special": true
|
| 60 |
+
},
|
| 61 |
+
"151650": {
|
| 62 |
+
"content": "<|quad_start|>",
|
| 63 |
+
"lstrip": false,
|
| 64 |
+
"normalized": false,
|
| 65 |
+
"rstrip": false,
|
| 66 |
+
"single_word": false,
|
| 67 |
+
"special": true
|
| 68 |
+
},
|
| 69 |
+
"151651": {
|
| 70 |
+
"content": "<|quad_end|>",
|
| 71 |
+
"lstrip": false,
|
| 72 |
+
"normalized": false,
|
| 73 |
+
"rstrip": false,
|
| 74 |
+
"single_word": false,
|
| 75 |
+
"special": true
|
| 76 |
+
},
|
| 77 |
+
"151652": {
|
| 78 |
+
"content": "<|vision_start|>",
|
| 79 |
+
"lstrip": false,
|
| 80 |
+
"normalized": false,
|
| 81 |
+
"rstrip": false,
|
| 82 |
+
"single_word": false,
|
| 83 |
+
"special": true
|
| 84 |
+
},
|
| 85 |
+
"151653": {
|
| 86 |
+
"content": "<|vision_end|>",
|
| 87 |
+
"lstrip": false,
|
| 88 |
+
"normalized": false,
|
| 89 |
+
"rstrip": false,
|
| 90 |
+
"single_word": false,
|
| 91 |
+
"special": true
|
| 92 |
+
},
|
| 93 |
+
"151654": {
|
| 94 |
+
"content": "<|vision_pad|>",
|
| 95 |
+
"lstrip": false,
|
| 96 |
+
"normalized": false,
|
| 97 |
+
"rstrip": false,
|
| 98 |
+
"single_word": false,
|
| 99 |
+
"special": true
|
| 100 |
+
},
|
| 101 |
+
"151655": {
|
| 102 |
+
"content": "<|image_pad|>",
|
| 103 |
+
"lstrip": false,
|
| 104 |
+
"normalized": false,
|
| 105 |
+
"rstrip": false,
|
| 106 |
+
"single_word": false,
|
| 107 |
+
"special": true
|
| 108 |
+
},
|
| 109 |
+
"151656": {
|
| 110 |
+
"content": "<|video_pad|>",
|
| 111 |
+
"lstrip": false,
|
| 112 |
+
"normalized": false,
|
| 113 |
+
"rstrip": false,
|
| 114 |
+
"single_word": false,
|
| 115 |
+
"special": true
|
| 116 |
+
},
|
| 117 |
+
"151657": {
|
| 118 |
+
"content": "<tool_call>",
|
| 119 |
+
"lstrip": false,
|
| 120 |
+
"normalized": false,
|
| 121 |
+
"rstrip": false,
|
| 122 |
+
"single_word": false,
|
| 123 |
+
"special": false
|
| 124 |
+
},
|
| 125 |
+
"151658": {
|
| 126 |
+
"content": "</tool_call>",
|
| 127 |
+
"lstrip": false,
|
| 128 |
+
"normalized": false,
|
| 129 |
+
"rstrip": false,
|
| 130 |
+
"single_word": false,
|
| 131 |
+
"special": false
|
| 132 |
+
},
|
| 133 |
+
"151659": {
|
| 134 |
+
"content": "<|fim_prefix|>",
|
| 135 |
+
"lstrip": false,
|
| 136 |
+
"normalized": false,
|
| 137 |
+
"rstrip": false,
|
| 138 |
+
"single_word": false,
|
| 139 |
+
"special": false
|
| 140 |
+
},
|
| 141 |
+
"151660": {
|
| 142 |
+
"content": "<|fim_middle|>",
|
| 143 |
+
"lstrip": false,
|
| 144 |
+
"normalized": false,
|
| 145 |
+
"rstrip": false,
|
| 146 |
+
"single_word": false,
|
| 147 |
+
"special": false
|
| 148 |
+
},
|
| 149 |
+
"151661": {
|
| 150 |
+
"content": "<|fim_suffix|>",
|
| 151 |
+
"lstrip": false,
|
| 152 |
+
"normalized": false,
|
| 153 |
+
"rstrip": false,
|
| 154 |
+
"single_word": false,
|
| 155 |
+
"special": false
|
| 156 |
+
},
|
| 157 |
+
"151662": {
|
| 158 |
+
"content": "<|fim_pad|>",
|
| 159 |
+
"lstrip": false,
|
| 160 |
+
"normalized": false,
|
| 161 |
+
"rstrip": false,
|
| 162 |
+
"single_word": false,
|
| 163 |
+
"special": false
|
| 164 |
+
},
|
| 165 |
+
"151663": {
|
| 166 |
+
"content": "<|repo_name|>",
|
| 167 |
+
"lstrip": false,
|
| 168 |
+
"normalized": false,
|
| 169 |
+
"rstrip": false,
|
| 170 |
+
"single_word": false,
|
| 171 |
+
"special": false
|
| 172 |
+
},
|
| 173 |
+
"151664": {
|
| 174 |
+
"content": "<|file_sep|>",
|
| 175 |
+
"lstrip": false,
|
| 176 |
+
"normalized": false,
|
| 177 |
+
"rstrip": false,
|
| 178 |
+
"single_word": false,
|
| 179 |
+
"special": false
|
| 180 |
+
},
|
| 181 |
+
"151665": {
|
| 182 |
+
"content": "<tool_response>",
|
| 183 |
+
"lstrip": false,
|
| 184 |
+
"normalized": false,
|
| 185 |
+
"rstrip": false,
|
| 186 |
+
"single_word": false,
|
| 187 |
+
"special": false
|
| 188 |
+
},
|
| 189 |
+
"151666": {
|
| 190 |
+
"content": "</tool_response>",
|
| 191 |
+
"lstrip": false,
|
| 192 |
+
"normalized": false,
|
| 193 |
+
"rstrip": false,
|
| 194 |
+
"single_word": false,
|
| 195 |
+
"special": false
|
| 196 |
+
},
|
| 197 |
+
"151667": {
|
| 198 |
+
"content": "<think>",
|
| 199 |
+
"lstrip": false,
|
| 200 |
+
"normalized": false,
|
| 201 |
+
"rstrip": false,
|
| 202 |
+
"single_word": false,
|
| 203 |
+
"special": false
|
| 204 |
+
},
|
| 205 |
+
"151668": {
|
| 206 |
+
"content": "</think>",
|
| 207 |
+
"lstrip": false,
|
| 208 |
+
"normalized": false,
|
| 209 |
+
"rstrip": false,
|
| 210 |
+
"single_word": false,
|
| 211 |
+
"special": false
|
| 212 |
+
}
|
| 213 |
+
},
|
| 214 |
+
"additional_special_tokens": [
|
| 215 |
+
"<|im_start|>",
|
| 216 |
+
"<|im_end|>",
|
| 217 |
+
"<|object_ref_start|>",
|
| 218 |
+
"<|object_ref_end|>",
|
| 219 |
+
"<|box_start|>",
|
| 220 |
+
"<|box_end|>",
|
| 221 |
+
"<|quad_start|>",
|
| 222 |
+
"<|quad_end|>",
|
| 223 |
+
"<|vision_start|>",
|
| 224 |
+
"<|vision_end|>",
|
| 225 |
+
"<|vision_pad|>",
|
| 226 |
+
"<|image_pad|>",
|
| 227 |
+
"<|video_pad|>",
|
| 228 |
+
"<d>",
|
| 229 |
+
"</d>",
|
| 230 |
+
"<|cutoff|>",
|
| 231 |
+
"<|lyrics_start|>",
|
| 232 |
+
"<|lyrics_end|>",
|
| 233 |
+
"<|caption_start|>",
|
| 234 |
+
"<|caption_end|>"
|
| 235 |
+
],
|
| 236 |
+
"bos_token": null,
|
| 237 |
+
"chat_template": "{%- if tools %}\n {{- '<|im_start|>system\\n' }}\n {%- if messages[0].role == 'system' %}\n {%- if messages[0].content is string %}\n {{- messages[0].content }}\n {%- else %}\n {%- for content in messages[0].content %}\n {%- if 'text' in content %}\n {{- content.text }}\n {%- endif %}\n {%- endfor %}\n {%- endif %}\n {{- '\\n\\n' }}\n {%- endif %}\n {{- \"# Tools\\n\\nYou may call one or more functions to assist with the user query.\\n\\nYou are provided with function signatures within <tools></tools> XML tags:\\n<tools>\" }}\n {%- for tool in tools %}\n {{- \"\\n\" }}\n {{- tool | tojson }}\n {%- endfor %}\n {{- \"\\n</tools>\\n\\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\\n<tool_call>\\n{\\\"name\\\": <function-name>, \\\"arguments\\\": <args-json-object>}\\n</tool_call><|im_end|>\\n\" }}\n{%- else %}\n {%- if messages[0].role == 'system' %}\n {{- '<|im_start|>system\\n' }}\n {%- if messages[0].content is string %}\n {{- messages[0].content }}\n {%- else %}\n {%- for content in messages[0].content %}\n {%- if 'text' in content %}\n {{- content.text }}\n {%- endif %}\n {%- endfor %}\n {%- endif %}\n {{- '<|im_end|>\\n' }}\n {%- endif %}\n{%- endif %}\n{%- set image_count = namespace(value=0) %}\n{%- set video_count = namespace(value=0) %}\n{%- for message in messages %}\n {%- if message.role == \"user\" %}\n {{- '<|im_start|>' + message.role + '\\n' }}\n {%- if message.content is string %}\n {{- message.content }}\n {%- else %}\n {%- for content in message.content %}\n {%- if content.type == 'image' or 'image' in content or 'image_url' in content %}\n {%- set image_count.value = image_count.value + 1 %}\n {%- if add_vision_id %}Picture {{ image_count.value }}: {% endif -%}\n <|vision_start|><|image_pad|><|vision_end|>\n {%- elif content.type == 'video' or 'video' in content %}\n {%- set video_count.value = video_count.value + 1 %}\n {%- if add_vision_id %}Video {{ video_count.value }}: {% endif -%}\n <|vision_start|><|video_pad|><|vision_end|>\n {%- elif 'text' in content %}\n {{- content.text }}\n {%- endif %}\n {%- endfor %}\n {%- endif %}\n {{- '<|im_end|>\\n' }}\n {%- elif message.role == \"assistant\" %}\n {{- '<|im_start|>' + message.role + '\\n' }}\n {%- if message.content is string %}\n {{- message.content }}\n {%- else %}\n {%- for content_item in message.content %}\n {%- if 'text' in content_item %}\n {{- content_item.text }}\n {%- endif %}\n {%- endfor %}\n {%- endif %}\n {%- if message.tool_calls %}\n {%- for tool_call in message.tool_calls %}\n {%- if (loop.first and message.content) or (not loop.first) %}\n {{- '\\n' }}\n {%- endif %}\n {%- if tool_call.function %}\n {%- set tool_call = tool_call.function %}\n {%- endif %}\n {{- '<tool_call>\\n{\"name\": \"' }}\n {{- tool_call.name }}\n {{- '\", \"arguments\": ' }}\n {%- if tool_call.arguments is string %}\n {{- tool_call.arguments }}\n {%- else %}\n {{- tool_call.arguments | tojson }}\n {%- endif %}\n {{- '}\\n</tool_call>' }}\n {%- endfor %}\n {%- endif %}\n {{- '<|im_end|>\\n' }}\n {%- elif message.role == \"tool\" %}\n {%- if loop.first or (messages[loop.index0 - 1].role != \"tool\") %}\n {{- '<|im_start|>user' }}\n {%- endif %}\n {{- '\\n<tool_response>\\n' }}\n {%- if message.content is string %}\n {{- message.content }}\n {%- else %}\n {%- for content in message.content %}\n {%- if content.type == 'image' or 'image' in content or 'image_url' in content %}\n {%- set image_count.value = image_count.value + 1 %}\n {%- if add_vision_id %}Picture {{ image_count.value }}: {% endif -%}\n <|vision_start|><|image_pad|><|vision_end|>\n {%- elif content.type == 'video' or 'video' in content %}\n {%- set video_count.value = video_count.value + 1 %}\n {%- if add_vision_id %}Video {{ video_count.value }}: {% endif -%}\n <|vision_start|><|video_pad|><|vision_end|>\n {%- elif 'text' in content %}\n {{- content.text }}\n {%- endif %}\n {%- endfor %}\n {%- endif %}\n {{- '\\n</tool_response>' }}\n {%- if loop.last or (messages[loop.index0 + 1].role != \"tool\") %}\n {{- '<|im_end|>\\n' }}\n {%- endif %}\n {%- endif %}\n{%- endfor %}\n{%- if add_generation_prompt %}\n {{- '<|im_start|>assistant\\n' }}\n{%- endif %}\n",
|
| 238 |
+
"clean_up_tokenization_spaces": false,
|
| 239 |
+
"eos_token": "<|im_end|>",
|
| 240 |
+
"errors": "replace",
|
| 241 |
+
"model_max_length": 262144,
|
| 242 |
+
"pad_token": "<|endoftext|>",
|
| 243 |
+
"split_special_tokens": false,
|
| 244 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 245 |
+
"unk_token": null
|
| 246 |
+
}
|
FL2VA/processor/video_preprocessor_config.json
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"size": {
|
| 3 |
+
"longest_edge": 25165824,
|
| 4 |
+
"shortest_edge": 4096
|
| 5 |
+
},
|
| 6 |
+
"patch_size": 16,
|
| 7 |
+
"temporal_patch_size": 2,
|
| 8 |
+
"merge_size": 2,
|
| 9 |
+
"image_mean": [
|
| 10 |
+
0.5,
|
| 11 |
+
0.5,
|
| 12 |
+
0.5
|
| 13 |
+
],
|
| 14 |
+
"image_std": [
|
| 15 |
+
0.5,
|
| 16 |
+
0.5,
|
| 17 |
+
0.5
|
| 18 |
+
],
|
| 19 |
+
"processor_class": "Qwen3VLProcessor",
|
| 20 |
+
"video_processor_type": "Qwen3VLVideoProcessor"
|
| 21 |
+
}
|
FL2VA/processor/vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
FL2VA/text_encoder/chat_template.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"chat_template": "{%- if tools %}\n {{- '<|im_start|>system\\n' }}\n {%- if messages[0].role == 'system' %}\n {%- if messages[0].content is string %}\n {{- messages[0].content }}\n {%- else %}\n {%- for content in messages[0].content %}\n {%- if 'text' in content %}\n {{- content.text }}\n {%- endif %}\n {%- endfor %}\n {%- endif %}\n {{- '\\n\\n' }}\n {%- endif %}\n {{- \"# Tools\\n\\nYou may call one or more functions to assist with the user query.\\n\\nYou are provided with function signatures within <tools></tools> XML tags:\\n<tools>\" }}\n {%- for tool in tools %}\n {{- \"\\n\" }}\n {{- tool | tojson }}\n {%- endfor %}\n {{- \"\\n</tools>\\n\\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\\n<tool_call>\\n{\\\"name\\\": <function-name>, \\\"arguments\\\": <args-json-object>}\\n</tool_call><|im_end|>\\n\" }}\n{%- else %}\n {%- if messages[0].role == 'system' %}\n {{- '<|im_start|>system\\n' }}\n {%- if messages[0].content is string %}\n {{- messages[0].content }}\n {%- else %}\n {%- for content in messages[0].content %}\n {%- if 'text' in content %}\n {{- content.text }}\n {%- endif %}\n {%- endfor %}\n {%- endif %}\n {{- '<|im_end|>\\n' }}\n {%- endif %}\n{%- endif %}\n{%- set image_count = namespace(value=0) %}\n{%- set video_count = namespace(value=0) %}\n{%- for message in messages %}\n {%- if message.role == \"user\" %}\n {{- '<|im_start|>' + message.role + '\\n' }}\n {%- if message.content is string %}\n {{- message.content }}\n {%- else %}\n {%- for content in message.content %}\n {%- if content.type == 'image' or 'image' in content or 'image_url' in content %}\n {%- set image_count.value = image_count.value + 1 %}\n {%- if add_vision_id %}Picture {{ image_count.value }}: {% endif -%}\n <|vision_start|><|image_pad|><|vision_end|>\n {%- elif content.type == 'video' or 'video' in content %}\n {%- set video_count.value = video_count.value + 1 %}\n {%- if add_vision_id %}Video {{ video_count.value }}: {% endif -%}\n <|vision_start|><|video_pad|><|vision_end|>\n {%- elif 'text' in content %}\n {{- content.text }}\n {%- endif %}\n {%- endfor %}\n {%- endif %}\n {{- '<|im_end|>\\n' }}\n {%- elif message.role == \"assistant\" %}\n {{- '<|im_start|>' + message.role + '\\n' }}\n {%- if message.content is string %}\n {{- message.content }}\n {%- else %}\n {%- for content_item in message.content %}\n {%- if 'text' in content_item %}\n {{- content_item.text }}\n {%- endif %}\n {%- endfor %}\n {%- endif %}\n {%- if message.tool_calls %}\n {%- for tool_call in message.tool_calls %}\n {%- if (loop.first and message.content) or (not loop.first) %}\n {{- '\\n' }}\n {%- endif %}\n {%- if tool_call.function %}\n {%- set tool_call = tool_call.function %}\n {%- endif %}\n {{- '<tool_call>\\n{\"name\": \"' }}\n {{- tool_call.name }}\n {{- '\", \"arguments\": ' }}\n {%- if tool_call.arguments is string %}\n {{- tool_call.arguments }}\n {%- else %}\n {{- tool_call.arguments | tojson }}\n {%- endif %}\n {{- '}\\n</tool_call>' }}\n {%- endfor %}\n {%- endif %}\n {{- '<|im_end|>\\n' }}\n {%- elif message.role == \"tool\" %}\n {%- if loop.first or (messages[loop.index0 - 1].role != \"tool\") %}\n {{- '<|im_start|>user' }}\n {%- endif %}\n {{- '\\n<tool_response>\\n' }}\n {%- if message.content is string %}\n {{- message.content }}\n {%- else %}\n {%- for content in message.content %}\n {%- if content.type == 'image' or 'image' in content or 'image_url' in content %}\n {%- set image_count.value = image_count.value + 1 %}\n {%- if add_vision_id %}Picture {{ image_count.value }}: {% endif -%}\n <|vision_start|><|image_pad|><|vision_end|>\n {%- elif content.type == 'video' or 'video' in content %}\n {%- set video_count.value = video_count.value + 1 %}\n {%- if add_vision_id %}Video {{ video_count.value }}: {% endif -%}\n <|vision_start|><|video_pad|><|vision_end|>\n {%- elif 'text' in content %}\n {{- content.text }}\n {%- endif %}\n {%- endfor %}\n {%- endif %}\n {{- '\\n</tool_response>' }}\n {%- if loop.last or (messages[loop.index0 + 1].role != \"tool\") %}\n {{- '<|im_end|>\\n' }}\n {%- endif %}\n {%- endif %}\n{%- endfor %}\n{%- if add_generation_prompt %}\n {{- '<|im_start|>assistant\\n' }}\n{%- endif %}\n"
|
| 3 |
+
}
|
FL2VA/text_encoder/config.json
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Qwen3VLForConditionalGeneration"
|
| 4 |
+
],
|
| 5 |
+
"image_token_id": 151655,
|
| 6 |
+
"model_type": "qwen3_vl",
|
| 7 |
+
"text_config": {
|
| 8 |
+
"attention_bias": false,
|
| 9 |
+
"attention_dropout": 0.0,
|
| 10 |
+
"bos_token_id": 151643,
|
| 11 |
+
"dtype": "bfloat16",
|
| 12 |
+
"eos_token_id": 151645,
|
| 13 |
+
"head_dim": 128,
|
| 14 |
+
"hidden_act": "silu",
|
| 15 |
+
"hidden_size": 5120,
|
| 16 |
+
"initializer_range": 0.02,
|
| 17 |
+
"intermediate_size": 25600,
|
| 18 |
+
"max_position_embeddings": 262144,
|
| 19 |
+
"model_type": "qwen3_vl_text",
|
| 20 |
+
"num_attention_heads": 64,
|
| 21 |
+
"num_hidden_layers": 64,
|
| 22 |
+
"num_key_value_heads": 8,
|
| 23 |
+
"rms_norm_eps": 1e-06,
|
| 24 |
+
"rope_scaling": {
|
| 25 |
+
"mrope_interleaved": true,
|
| 26 |
+
"mrope_section": [
|
| 27 |
+
24,
|
| 28 |
+
20,
|
| 29 |
+
20
|
| 30 |
+
],
|
| 31 |
+
"rope_type": "default"
|
| 32 |
+
},
|
| 33 |
+
"rope_theta": 5000000,
|
| 34 |
+
"use_cache": true,
|
| 35 |
+
"vocab_size": 151936
|
| 36 |
+
},
|
| 37 |
+
"tie_word_embeddings": false,
|
| 38 |
+
"transformers_version": "4.57.0.dev0",
|
| 39 |
+
"video_token_id": 151656,
|
| 40 |
+
"vision_config": {
|
| 41 |
+
"deepstack_visual_indexes": [
|
| 42 |
+
8,
|
| 43 |
+
16,
|
| 44 |
+
24
|
| 45 |
+
],
|
| 46 |
+
"depth": 27,
|
| 47 |
+
"hidden_act": "gelu_pytorch_tanh",
|
| 48 |
+
"hidden_size": 1152,
|
| 49 |
+
"in_channels": 3,
|
| 50 |
+
"initializer_range": 0.02,
|
| 51 |
+
"intermediate_size": 4304,
|
| 52 |
+
"model_type": "qwen3_vl",
|
| 53 |
+
"num_heads": 16,
|
| 54 |
+
"num_position_embeddings": 2304,
|
| 55 |
+
"out_hidden_size": 5120,
|
| 56 |
+
"patch_size": 16,
|
| 57 |
+
"spatial_merge_size": 2,
|
| 58 |
+
"temporal_patch_size": 2
|
| 59 |
+
},
|
| 60 |
+
"vision_end_token_id": 151653,
|
| 61 |
+
"vision_start_token_id": 151652
|
| 62 |
+
}
|
FL2VA/text_encoder/merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
FL2VA/text_encoder/model-00001-of-00014.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6b9dfbc930e505402ae9d7e5091a9d7d656cda5f34614f01cfe70bfb0cca27cb
|
| 3 |
+
size 4932328944
|
FL2VA/text_encoder/model-00002-of-00014.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d8bb44b4ff303fe76fe9e894022fb3dc71b15a2e716592790fe0e3c3e60478fa
|
| 3 |
+
size 4875990528
|
FL2VA/text_encoder/model-00003-of-00014.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:54f22e8b3168f8dc962fac0d313607ebf52a12b433d4cf3098a0d82d9f042940
|
| 3 |
+
size 4875990552
|
FL2VA/text_encoder/model-00004-of-00014.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ad09c74d3c13ee29b5d0d84548fd8a3424a651564eaccd519946c296e59c557f
|
| 3 |
+
size 4875990584
|
FL2VA/text_encoder/model-00005-of-00014.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fc993c8a0e2a5b0570f383e1a95dc3a1281d1b224b6f3ee908f4827941e1dfc2
|
| 3 |
+
size 4875990584
|
FL2VA/text_encoder/model-00006-of-00014.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:82f05620d1f718a90c362b221d6a184ff1a0f53301d706882d3df49695fa1974
|
| 3 |
+
size 4875990584
|
FL2VA/text_encoder/model-00007-of-00014.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fb91da8cb01ff4de3eef0eab1c3e769a734b3a1aafc61734068638a0d6c86934
|
| 3 |
+
size 4875990584
|
FL2VA/text_encoder/model-00008-of-00014.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:431ca56535c8781944ce3801f5eb61c45531e853ecc5846d936ebaf4761b764f
|
| 3 |
+
size 4875990584
|
FL2VA/text_encoder/model-00009-of-00014.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3825e3f4302f4d2f7d76aa7430d2ce0864fde6b9e540a5806bf0d8e38e4d9f47
|
| 3 |
+
size 4875990584
|
FL2VA/text_encoder/model-00010-of-00014.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:aded5a4d1d5e22dbd8b6f79266b6eb88c840411b09527c53917a1419ace22e2f
|
| 3 |
+
size 4875990584
|
FL2VA/text_encoder/model-00011-of-00014.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3820ffe8d8d6477f6fe8d614ef3c87abb264ee39accebf43a1507b970d80946f
|
| 3 |
+
size 4875990584
|
FL2VA/text_encoder/model-00012-of-00014.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:05ad2d08ce71963121c9b03f1d9ec5d7641052f4b23c6c12b80d71065eb8e98e
|
| 3 |
+
size 4875990584
|
FL2VA/text_encoder/model-00013-of-00014.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b64f2289871261fdd1abbd3b78bcd66011b341de3dc8eeb2ed1a473ee7c8d95c
|
| 3 |
+
size 4875990584
|
FL2VA/text_encoder/model-00014-of-00014.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e45b6c9998c77ee5a6577f9f47bc76416c1d4d387169e50c4c9d3134ea51b13b
|
| 3 |
+
size 3270697008
|
FL2VA/text_encoder/model.safetensors.index.json
ADDED
|
@@ -0,0 +1,1065 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"metadata": {
|
| 3 |
+
"total_size": 66714780128
|
| 4 |
+
},
|
| 5 |
+
"weight_map": {
|
| 6 |
+
"lm_head.weight": "model-00014-of-00014.safetensors",
|
| 7 |
+
"model.language_model.embed_tokens.weight": "model-00001-of-00014.safetensors",
|
| 8 |
+
"model.language_model.layers.0.input_layernorm.weight": "model-00001-of-00014.safetensors",
|
| 9 |
+
"model.language_model.layers.0.mlp.down_proj.weight": "model-00001-of-00014.safetensors",
|
| 10 |
+
"model.language_model.layers.0.mlp.gate_proj.weight": "model-00001-of-00014.safetensors",
|
| 11 |
+
"model.language_model.layers.0.mlp.up_proj.weight": "model-00001-of-00014.safetensors",
|
| 12 |
+
"model.language_model.layers.0.post_attention_layernorm.weight": "model-00001-of-00014.safetensors",
|
| 13 |
+
"model.language_model.layers.0.self_attn.k_norm.weight": "model-00001-of-00014.safetensors",
|
| 14 |
+
"model.language_model.layers.0.self_attn.k_proj.weight": "model-00001-of-00014.safetensors",
|
| 15 |
+
"model.language_model.layers.0.self_attn.o_proj.weight": "model-00001-of-00014.safetensors",
|
| 16 |
+
"model.language_model.layers.0.self_attn.q_norm.weight": "model-00001-of-00014.safetensors",
|
| 17 |
+
"model.language_model.layers.0.self_attn.q_proj.weight": "model-00001-of-00014.safetensors",
|
| 18 |
+
"model.language_model.layers.0.self_attn.v_proj.weight": "model-00001-of-00014.safetensors",
|
| 19 |
+
"model.language_model.layers.1.input_layernorm.weight": "model-00001-of-00014.safetensors",
|
| 20 |
+
"model.language_model.layers.1.mlp.down_proj.weight": "model-00001-of-00014.safetensors",
|
| 21 |
+
"model.language_model.layers.1.mlp.gate_proj.weight": "model-00001-of-00014.safetensors",
|
| 22 |
+
"model.language_model.layers.1.mlp.up_proj.weight": "model-00001-of-00014.safetensors",
|
| 23 |
+
"model.language_model.layers.1.post_attention_layernorm.weight": "model-00001-of-00014.safetensors",
|
| 24 |
+
"model.language_model.layers.1.self_attn.k_norm.weight": "model-00001-of-00014.safetensors",
|
| 25 |
+
"model.language_model.layers.1.self_attn.k_proj.weight": "model-00001-of-00014.safetensors",
|
| 26 |
+
"model.language_model.layers.1.self_attn.o_proj.weight": "model-00001-of-00014.safetensors",
|
| 27 |
+
"model.language_model.layers.1.self_attn.q_norm.weight": "model-00001-of-00014.safetensors",
|
| 28 |
+
"model.language_model.layers.1.self_attn.q_proj.weight": "model-00001-of-00014.safetensors",
|
| 29 |
+
"model.language_model.layers.1.self_attn.v_proj.weight": "model-00001-of-00014.safetensors",
|
| 30 |
+
"model.language_model.layers.10.input_layernorm.weight": "model-00003-of-00014.safetensors",
|
| 31 |
+
"model.language_model.layers.10.mlp.down_proj.weight": "model-00003-of-00014.safetensors",
|
| 32 |
+
"model.language_model.layers.10.mlp.gate_proj.weight": "model-00003-of-00014.safetensors",
|
| 33 |
+
"model.language_model.layers.10.mlp.up_proj.weight": "model-00003-of-00014.safetensors",
|
| 34 |
+
"model.language_model.layers.10.post_attention_layernorm.weight": "model-00003-of-00014.safetensors",
|
| 35 |
+
"model.language_model.layers.10.self_attn.k_norm.weight": "model-00003-of-00014.safetensors",
|
| 36 |
+
"model.language_model.layers.10.self_attn.k_proj.weight": "model-00003-of-00014.safetensors",
|
| 37 |
+
"model.language_model.layers.10.self_attn.o_proj.weight": "model-00003-of-00014.safetensors",
|
| 38 |
+
"model.language_model.layers.10.self_attn.q_norm.weight": "model-00003-of-00014.safetensors",
|
| 39 |
+
"model.language_model.layers.10.self_attn.q_proj.weight": "model-00003-of-00014.safetensors",
|
| 40 |
+
"model.language_model.layers.10.self_attn.v_proj.weight": "model-00003-of-00014.safetensors",
|
| 41 |
+
"model.language_model.layers.11.input_layernorm.weight": "model-00003-of-00014.safetensors",
|
| 42 |
+
"model.language_model.layers.11.mlp.down_proj.weight": "model-00003-of-00014.safetensors",
|
| 43 |
+
"model.language_model.layers.11.mlp.gate_proj.weight": "model-00003-of-00014.safetensors",
|
| 44 |
+
"model.language_model.layers.11.mlp.up_proj.weight": "model-00003-of-00014.safetensors",
|
| 45 |
+
"model.language_model.layers.11.post_attention_layernorm.weight": "model-00003-of-00014.safetensors",
|
| 46 |
+
"model.language_model.layers.11.self_attn.k_norm.weight": "model-00003-of-00014.safetensors",
|
| 47 |
+
"model.language_model.layers.11.self_attn.k_proj.weight": "model-00003-of-00014.safetensors",
|
| 48 |
+
"model.language_model.layers.11.self_attn.o_proj.weight": "model-00003-of-00014.safetensors",
|
| 49 |
+
"model.language_model.layers.11.self_attn.q_norm.weight": "model-00003-of-00014.safetensors",
|
| 50 |
+
"model.language_model.layers.11.self_attn.q_proj.weight": "model-00003-of-00014.safetensors",
|
| 51 |
+
"model.language_model.layers.11.self_attn.v_proj.weight": "model-00003-of-00014.safetensors",
|
| 52 |
+
"model.language_model.layers.12.input_layernorm.weight": "model-00003-of-00014.safetensors",
|
| 53 |
+
"model.language_model.layers.12.mlp.down_proj.weight": "model-00003-of-00014.safetensors",
|
| 54 |
+
"model.language_model.layers.12.mlp.gate_proj.weight": "model-00003-of-00014.safetensors",
|
| 55 |
+
"model.language_model.layers.12.mlp.up_proj.weight": "model-00003-of-00014.safetensors",
|
| 56 |
+
"model.language_model.layers.12.post_attention_layernorm.weight": "model-00003-of-00014.safetensors",
|
| 57 |
+
"model.language_model.layers.12.self_attn.k_norm.weight": "model-00003-of-00014.safetensors",
|
| 58 |
+
"model.language_model.layers.12.self_attn.k_proj.weight": "model-00003-of-00014.safetensors",
|
| 59 |
+
"model.language_model.layers.12.self_attn.o_proj.weight": "model-00003-of-00014.safetensors",
|
| 60 |
+
"model.language_model.layers.12.self_attn.q_norm.weight": "model-00003-of-00014.safetensors",
|
| 61 |
+
"model.language_model.layers.12.self_attn.q_proj.weight": "model-00003-of-00014.safetensors",
|
| 62 |
+
"model.language_model.layers.12.self_attn.v_proj.weight": "model-00003-of-00014.safetensors",
|
| 63 |
+
"model.language_model.layers.13.input_layernorm.weight": "model-00003-of-00014.safetensors",
|
| 64 |
+
"model.language_model.layers.13.mlp.down_proj.weight": "model-00004-of-00014.safetensors",
|
| 65 |
+
"model.language_model.layers.13.mlp.gate_proj.weight": "model-00003-of-00014.safetensors",
|
| 66 |
+
"model.language_model.layers.13.mlp.up_proj.weight": "model-00004-of-00014.safetensors",
|
| 67 |
+
"model.language_model.layers.13.post_attention_layernorm.weight": "model-00003-of-00014.safetensors",
|
| 68 |
+
"model.language_model.layers.13.self_attn.k_norm.weight": "model-00003-of-00014.safetensors",
|
| 69 |
+
"model.language_model.layers.13.self_attn.k_proj.weight": "model-00003-of-00014.safetensors",
|
| 70 |
+
"model.language_model.layers.13.self_attn.o_proj.weight": "model-00003-of-00014.safetensors",
|
| 71 |
+
"model.language_model.layers.13.self_attn.q_norm.weight": "model-00003-of-00014.safetensors",
|
| 72 |
+
"model.language_model.layers.13.self_attn.q_proj.weight": "model-00003-of-00014.safetensors",
|
| 73 |
+
"model.language_model.layers.13.self_attn.v_proj.weight": "model-00003-of-00014.safetensors",
|
| 74 |
+
"model.language_model.layers.14.input_layernorm.weight": "model-00004-of-00014.safetensors",
|
| 75 |
+
"model.language_model.layers.14.mlp.down_proj.weight": "model-00004-of-00014.safetensors",
|
| 76 |
+
"model.language_model.layers.14.mlp.gate_proj.weight": "model-00004-of-00014.safetensors",
|
| 77 |
+
"model.language_model.layers.14.mlp.up_proj.weight": "model-00004-of-00014.safetensors",
|
| 78 |
+
"model.language_model.layers.14.post_attention_layernorm.weight": "model-00004-of-00014.safetensors",
|
| 79 |
+
"model.language_model.layers.14.self_attn.k_norm.weight": "model-00004-of-00014.safetensors",
|
| 80 |
+
"model.language_model.layers.14.self_attn.k_proj.weight": "model-00004-of-00014.safetensors",
|
| 81 |
+
"model.language_model.layers.14.self_attn.o_proj.weight": "model-00004-of-00014.safetensors",
|
| 82 |
+
"model.language_model.layers.14.self_attn.q_norm.weight": "model-00004-of-00014.safetensors",
|
| 83 |
+
"model.language_model.layers.14.self_attn.q_proj.weight": "model-00004-of-00014.safetensors",
|
| 84 |
+
"model.language_model.layers.14.self_attn.v_proj.weight": "model-00004-of-00014.safetensors",
|
| 85 |
+
"model.language_model.layers.15.input_layernorm.weight": "model-00004-of-00014.safetensors",
|
| 86 |
+
"model.language_model.layers.15.mlp.down_proj.weight": "model-00004-of-00014.safetensors",
|
| 87 |
+
"model.language_model.layers.15.mlp.gate_proj.weight": "model-00004-of-00014.safetensors",
|
| 88 |
+
"model.language_model.layers.15.mlp.up_proj.weight": "model-00004-of-00014.safetensors",
|
| 89 |
+
"model.language_model.layers.15.post_attention_layernorm.weight": "model-00004-of-00014.safetensors",
|
| 90 |
+
"model.language_model.layers.15.self_attn.k_norm.weight": "model-00004-of-00014.safetensors",
|
| 91 |
+
"model.language_model.layers.15.self_attn.k_proj.weight": "model-00004-of-00014.safetensors",
|
| 92 |
+
"model.language_model.layers.15.self_attn.o_proj.weight": "model-00004-of-00014.safetensors",
|
| 93 |
+
"model.language_model.layers.15.self_attn.q_norm.weight": "model-00004-of-00014.safetensors",
|
| 94 |
+
"model.language_model.layers.15.self_attn.q_proj.weight": "model-00004-of-00014.safetensors",
|
| 95 |
+
"model.language_model.layers.15.self_attn.v_proj.weight": "model-00004-of-00014.safetensors",
|
| 96 |
+
"model.language_model.layers.16.input_layernorm.weight": "model-00004-of-00014.safetensors",
|
| 97 |
+
"model.language_model.layers.16.mlp.down_proj.weight": "model-00004-of-00014.safetensors",
|
| 98 |
+
"model.language_model.layers.16.mlp.gate_proj.weight": "model-00004-of-00014.safetensors",
|
| 99 |
+
"model.language_model.layers.16.mlp.up_proj.weight": "model-00004-of-00014.safetensors",
|
| 100 |
+
"model.language_model.layers.16.post_attention_layernorm.weight": "model-00004-of-00014.safetensors",
|
| 101 |
+
"model.language_model.layers.16.self_attn.k_norm.weight": "model-00004-of-00014.safetensors",
|
| 102 |
+
"model.language_model.layers.16.self_attn.k_proj.weight": "model-00004-of-00014.safetensors",
|
| 103 |
+
"model.language_model.layers.16.self_attn.o_proj.weight": "model-00004-of-00014.safetensors",
|
| 104 |
+
"model.language_model.layers.16.self_attn.q_norm.weight": "model-00004-of-00014.safetensors",
|
| 105 |
+
"model.language_model.layers.16.self_attn.q_proj.weight": "model-00004-of-00014.safetensors",
|
| 106 |
+
"model.language_model.layers.16.self_attn.v_proj.weight": "model-00004-of-00014.safetensors",
|
| 107 |
+
"model.language_model.layers.17.input_layernorm.weight": "model-00004-of-00014.safetensors",
|
| 108 |
+
"model.language_model.layers.17.mlp.down_proj.weight": "model-00004-of-00014.safetensors",
|
| 109 |
+
"model.language_model.layers.17.mlp.gate_proj.weight": "model-00004-of-00014.safetensors",
|
| 110 |
+
"model.language_model.layers.17.mlp.up_proj.weight": "model-00004-of-00014.safetensors",
|
| 111 |
+
"model.language_model.layers.17.post_attention_layernorm.weight": "model-00004-of-00014.safetensors",
|
| 112 |
+
"model.language_model.layers.17.self_attn.k_norm.weight": "model-00004-of-00014.safetensors",
|
| 113 |
+
"model.language_model.layers.17.self_attn.k_proj.weight": "model-00004-of-00014.safetensors",
|
| 114 |
+
"model.language_model.layers.17.self_attn.o_proj.weight": "model-00004-of-00014.safetensors",
|
| 115 |
+
"model.language_model.layers.17.self_attn.q_norm.weight": "model-00004-of-00014.safetensors",
|
| 116 |
+
"model.language_model.layers.17.self_attn.q_proj.weight": "model-00004-of-00014.safetensors",
|
| 117 |
+
"model.language_model.layers.17.self_attn.v_proj.weight": "model-00004-of-00014.safetensors",
|
| 118 |
+
"model.language_model.layers.18.input_layernorm.weight": "model-00004-of-00014.safetensors",
|
| 119 |
+
"model.language_model.layers.18.mlp.down_proj.weight": "model-00005-of-00014.safetensors",
|
| 120 |
+
"model.language_model.layers.18.mlp.gate_proj.weight": "model-00004-of-00014.safetensors",
|
| 121 |
+
"model.language_model.layers.18.mlp.up_proj.weight": "model-00005-of-00014.safetensors",
|
| 122 |
+
"model.language_model.layers.18.post_attention_layernorm.weight": "model-00004-of-00014.safetensors",
|
| 123 |
+
"model.language_model.layers.18.self_attn.k_norm.weight": "model-00004-of-00014.safetensors",
|
| 124 |
+
"model.language_model.layers.18.self_attn.k_proj.weight": "model-00004-of-00014.safetensors",
|
| 125 |
+
"model.language_model.layers.18.self_attn.o_proj.weight": "model-00004-of-00014.safetensors",
|
| 126 |
+
"model.language_model.layers.18.self_attn.q_norm.weight": "model-00004-of-00014.safetensors",
|
| 127 |
+
"model.language_model.layers.18.self_attn.q_proj.weight": "model-00004-of-00014.safetensors",
|
| 128 |
+
"model.language_model.layers.18.self_attn.v_proj.weight": "model-00004-of-00014.safetensors",
|
| 129 |
+
"model.language_model.layers.19.input_layernorm.weight": "model-00005-of-00014.safetensors",
|
| 130 |
+
"model.language_model.layers.19.mlp.down_proj.weight": "model-00005-of-00014.safetensors",
|
| 131 |
+
"model.language_model.layers.19.mlp.gate_proj.weight": "model-00005-of-00014.safetensors",
|
| 132 |
+
"model.language_model.layers.19.mlp.up_proj.weight": "model-00005-of-00014.safetensors",
|
| 133 |
+
"model.language_model.layers.19.post_attention_layernorm.weight": "model-00005-of-00014.safetensors",
|
| 134 |
+
"model.language_model.layers.19.self_attn.k_norm.weight": "model-00005-of-00014.safetensors",
|
| 135 |
+
"model.language_model.layers.19.self_attn.k_proj.weight": "model-00005-of-00014.safetensors",
|
| 136 |
+
"model.language_model.layers.19.self_attn.o_proj.weight": "model-00005-of-00014.safetensors",
|
| 137 |
+
"model.language_model.layers.19.self_attn.q_norm.weight": "model-00005-of-00014.safetensors",
|
| 138 |
+
"model.language_model.layers.19.self_attn.q_proj.weight": "model-00005-of-00014.safetensors",
|
| 139 |
+
"model.language_model.layers.19.self_attn.v_proj.weight": "model-00005-of-00014.safetensors",
|
| 140 |
+
"model.language_model.layers.2.input_layernorm.weight": "model-00001-of-00014.safetensors",
|
| 141 |
+
"model.language_model.layers.2.mlp.down_proj.weight": "model-00001-of-00014.safetensors",
|
| 142 |
+
"model.language_model.layers.2.mlp.gate_proj.weight": "model-00001-of-00014.safetensors",
|
| 143 |
+
"model.language_model.layers.2.mlp.up_proj.weight": "model-00001-of-00014.safetensors",
|
| 144 |
+
"model.language_model.layers.2.post_attention_layernorm.weight": "model-00001-of-00014.safetensors",
|
| 145 |
+
"model.language_model.layers.2.self_attn.k_norm.weight": "model-00001-of-00014.safetensors",
|
| 146 |
+
"model.language_model.layers.2.self_attn.k_proj.weight": "model-00001-of-00014.safetensors",
|
| 147 |
+
"model.language_model.layers.2.self_attn.o_proj.weight": "model-00001-of-00014.safetensors",
|
| 148 |
+
"model.language_model.layers.2.self_attn.q_norm.weight": "model-00001-of-00014.safetensors",
|
| 149 |
+
"model.language_model.layers.2.self_attn.q_proj.weight": "model-00001-of-00014.safetensors",
|
| 150 |
+
"model.language_model.layers.2.self_attn.v_proj.weight": "model-00001-of-00014.safetensors",
|
| 151 |
+
"model.language_model.layers.20.input_layernorm.weight": "model-00005-of-00014.safetensors",
|
| 152 |
+
"model.language_model.layers.20.mlp.down_proj.weight": "model-00005-of-00014.safetensors",
|
| 153 |
+
"model.language_model.layers.20.mlp.gate_proj.weight": "model-00005-of-00014.safetensors",
|
| 154 |
+
"model.language_model.layers.20.mlp.up_proj.weight": "model-00005-of-00014.safetensors",
|
| 155 |
+
"model.language_model.layers.20.post_attention_layernorm.weight": "model-00005-of-00014.safetensors",
|
| 156 |
+
"model.language_model.layers.20.self_attn.k_norm.weight": "model-00005-of-00014.safetensors",
|
| 157 |
+
"model.language_model.layers.20.self_attn.k_proj.weight": "model-00005-of-00014.safetensors",
|
| 158 |
+
"model.language_model.layers.20.self_attn.o_proj.weight": "model-00005-of-00014.safetensors",
|
| 159 |
+
"model.language_model.layers.20.self_attn.q_norm.weight": "model-00005-of-00014.safetensors",
|
| 160 |
+
"model.language_model.layers.20.self_attn.q_proj.weight": "model-00005-of-00014.safetensors",
|
| 161 |
+
"model.language_model.layers.20.self_attn.v_proj.weight": "model-00005-of-00014.safetensors",
|
| 162 |
+
"model.language_model.layers.21.input_layernorm.weight": "model-00005-of-00014.safetensors",
|
| 163 |
+
"model.language_model.layers.21.mlp.down_proj.weight": "model-00005-of-00014.safetensors",
|
| 164 |
+
"model.language_model.layers.21.mlp.gate_proj.weight": "model-00005-of-00014.safetensors",
|
| 165 |
+
"model.language_model.layers.21.mlp.up_proj.weight": "model-00005-of-00014.safetensors",
|
| 166 |
+
"model.language_model.layers.21.post_attention_layernorm.weight": "model-00005-of-00014.safetensors",
|
| 167 |
+
"model.language_model.layers.21.self_attn.k_norm.weight": "model-00005-of-00014.safetensors",
|
| 168 |
+
"model.language_model.layers.21.self_attn.k_proj.weight": "model-00005-of-00014.safetensors",
|
| 169 |
+
"model.language_model.layers.21.self_attn.o_proj.weight": "model-00005-of-00014.safetensors",
|
| 170 |
+
"model.language_model.layers.21.self_attn.q_norm.weight": "model-00005-of-00014.safetensors",
|
| 171 |
+
"model.language_model.layers.21.self_attn.q_proj.weight": "model-00005-of-00014.safetensors",
|
| 172 |
+
"model.language_model.layers.21.self_attn.v_proj.weight": "model-00005-of-00014.safetensors",
|
| 173 |
+
"model.language_model.layers.22.input_layernorm.weight": "model-00005-of-00014.safetensors",
|
| 174 |
+
"model.language_model.layers.22.mlp.down_proj.weight": "model-00005-of-00014.safetensors",
|
| 175 |
+
"model.language_model.layers.22.mlp.gate_proj.weight": "model-00005-of-00014.safetensors",
|
| 176 |
+
"model.language_model.layers.22.mlp.up_proj.weight": "model-00005-of-00014.safetensors",
|
| 177 |
+
"model.language_model.layers.22.post_attention_layernorm.weight": "model-00005-of-00014.safetensors",
|
| 178 |
+
"model.language_model.layers.22.self_attn.k_norm.weight": "model-00005-of-00014.safetensors",
|
| 179 |
+
"model.language_model.layers.22.self_attn.k_proj.weight": "model-00005-of-00014.safetensors",
|
| 180 |
+
"model.language_model.layers.22.self_attn.o_proj.weight": "model-00005-of-00014.safetensors",
|
| 181 |
+
"model.language_model.layers.22.self_attn.q_norm.weight": "model-00005-of-00014.safetensors",
|
| 182 |
+
"model.language_model.layers.22.self_attn.q_proj.weight": "model-00005-of-00014.safetensors",
|
| 183 |
+
"model.language_model.layers.22.self_attn.v_proj.weight": "model-00005-of-00014.safetensors",
|
| 184 |
+
"model.language_model.layers.23.input_layernorm.weight": "model-00005-of-00014.safetensors",
|
| 185 |
+
"model.language_model.layers.23.mlp.down_proj.weight": "model-00006-of-00014.safetensors",
|
| 186 |
+
"model.language_model.layers.23.mlp.gate_proj.weight": "model-00005-of-00014.safetensors",
|
| 187 |
+
"model.language_model.layers.23.mlp.up_proj.weight": "model-00006-of-00014.safetensors",
|
| 188 |
+
"model.language_model.layers.23.post_attention_layernorm.weight": "model-00005-of-00014.safetensors",
|
| 189 |
+
"model.language_model.layers.23.self_attn.k_norm.weight": "model-00005-of-00014.safetensors",
|
| 190 |
+
"model.language_model.layers.23.self_attn.k_proj.weight": "model-00005-of-00014.safetensors",
|
| 191 |
+
"model.language_model.layers.23.self_attn.o_proj.weight": "model-00005-of-00014.safetensors",
|
| 192 |
+
"model.language_model.layers.23.self_attn.q_norm.weight": "model-00005-of-00014.safetensors",
|
| 193 |
+
"model.language_model.layers.23.self_attn.q_proj.weight": "model-00005-of-00014.safetensors",
|
| 194 |
+
"model.language_model.layers.23.self_attn.v_proj.weight": "model-00005-of-00014.safetensors",
|
| 195 |
+
"model.language_model.layers.24.input_layernorm.weight": "model-00006-of-00014.safetensors",
|
| 196 |
+
"model.language_model.layers.24.mlp.down_proj.weight": "model-00006-of-00014.safetensors",
|
| 197 |
+
"model.language_model.layers.24.mlp.gate_proj.weight": "model-00006-of-00014.safetensors",
|
| 198 |
+
"model.language_model.layers.24.mlp.up_proj.weight": "model-00006-of-00014.safetensors",
|
| 199 |
+
"model.language_model.layers.24.post_attention_layernorm.weight": "model-00006-of-00014.safetensors",
|
| 200 |
+
"model.language_model.layers.24.self_attn.k_norm.weight": "model-00006-of-00014.safetensors",
|
| 201 |
+
"model.language_model.layers.24.self_attn.k_proj.weight": "model-00006-of-00014.safetensors",
|
| 202 |
+
"model.language_model.layers.24.self_attn.o_proj.weight": "model-00006-of-00014.safetensors",
|
| 203 |
+
"model.language_model.layers.24.self_attn.q_norm.weight": "model-00006-of-00014.safetensors",
|
| 204 |
+
"model.language_model.layers.24.self_attn.q_proj.weight": "model-00006-of-00014.safetensors",
|
| 205 |
+
"model.language_model.layers.24.self_attn.v_proj.weight": "model-00006-of-00014.safetensors",
|
| 206 |
+
"model.language_model.layers.25.input_layernorm.weight": "model-00006-of-00014.safetensors",
|
| 207 |
+
"model.language_model.layers.25.mlp.down_proj.weight": "model-00006-of-00014.safetensors",
|
| 208 |
+
"model.language_model.layers.25.mlp.gate_proj.weight": "model-00006-of-00014.safetensors",
|
| 209 |
+
"model.language_model.layers.25.mlp.up_proj.weight": "model-00006-of-00014.safetensors",
|
| 210 |
+
"model.language_model.layers.25.post_attention_layernorm.weight": "model-00006-of-00014.safetensors",
|
| 211 |
+
"model.language_model.layers.25.self_attn.k_norm.weight": "model-00006-of-00014.safetensors",
|
| 212 |
+
"model.language_model.layers.25.self_attn.k_proj.weight": "model-00006-of-00014.safetensors",
|
| 213 |
+
"model.language_model.layers.25.self_attn.o_proj.weight": "model-00006-of-00014.safetensors",
|
| 214 |
+
"model.language_model.layers.25.self_attn.q_norm.weight": "model-00006-of-00014.safetensors",
|
| 215 |
+
"model.language_model.layers.25.self_attn.q_proj.weight": "model-00006-of-00014.safetensors",
|
| 216 |
+
"model.language_model.layers.25.self_attn.v_proj.weight": "model-00006-of-00014.safetensors",
|
| 217 |
+
"model.language_model.layers.26.input_layernorm.weight": "model-00006-of-00014.safetensors",
|
| 218 |
+
"model.language_model.layers.26.mlp.down_proj.weight": "model-00006-of-00014.safetensors",
|
| 219 |
+
"model.language_model.layers.26.mlp.gate_proj.weight": "model-00006-of-00014.safetensors",
|
| 220 |
+
"model.language_model.layers.26.mlp.up_proj.weight": "model-00006-of-00014.safetensors",
|
| 221 |
+
"model.language_model.layers.26.post_attention_layernorm.weight": "model-00006-of-00014.safetensors",
|
| 222 |
+
"model.language_model.layers.26.self_attn.k_norm.weight": "model-00006-of-00014.safetensors",
|
| 223 |
+
"model.language_model.layers.26.self_attn.k_proj.weight": "model-00006-of-00014.safetensors",
|
| 224 |
+
"model.language_model.layers.26.self_attn.o_proj.weight": "model-00006-of-00014.safetensors",
|
| 225 |
+
"model.language_model.layers.26.self_attn.q_norm.weight": "model-00006-of-00014.safetensors",
|
| 226 |
+
"model.language_model.layers.26.self_attn.q_proj.weight": "model-00006-of-00014.safetensors",
|
| 227 |
+
"model.language_model.layers.26.self_attn.v_proj.weight": "model-00006-of-00014.safetensors",
|
| 228 |
+
"model.language_model.layers.27.input_layernorm.weight": "model-00006-of-00014.safetensors",
|
| 229 |
+
"model.language_model.layers.27.mlp.down_proj.weight": "model-00006-of-00014.safetensors",
|
| 230 |
+
"model.language_model.layers.27.mlp.gate_proj.weight": "model-00006-of-00014.safetensors",
|
| 231 |
+
"model.language_model.layers.27.mlp.up_proj.weight": "model-00006-of-00014.safetensors",
|
| 232 |
+
"model.language_model.layers.27.post_attention_layernorm.weight": "model-00006-of-00014.safetensors",
|
| 233 |
+
"model.language_model.layers.27.self_attn.k_norm.weight": "model-00006-of-00014.safetensors",
|
| 234 |
+
"model.language_model.layers.27.self_attn.k_proj.weight": "model-00006-of-00014.safetensors",
|
| 235 |
+
"model.language_model.layers.27.self_attn.o_proj.weight": "model-00006-of-00014.safetensors",
|
| 236 |
+
"model.language_model.layers.27.self_attn.q_norm.weight": "model-00006-of-00014.safetensors",
|
| 237 |
+
"model.language_model.layers.27.self_attn.q_proj.weight": "model-00006-of-00014.safetensors",
|
| 238 |
+
"model.language_model.layers.27.self_attn.v_proj.weight": "model-00006-of-00014.safetensors",
|
| 239 |
+
"model.language_model.layers.28.input_layernorm.weight": "model-00006-of-00014.safetensors",
|
| 240 |
+
"model.language_model.layers.28.mlp.down_proj.weight": "model-00007-of-00014.safetensors",
|
| 241 |
+
"model.language_model.layers.28.mlp.gate_proj.weight": "model-00006-of-00014.safetensors",
|
| 242 |
+
"model.language_model.layers.28.mlp.up_proj.weight": "model-00007-of-00014.safetensors",
|
| 243 |
+
"model.language_model.layers.28.post_attention_layernorm.weight": "model-00006-of-00014.safetensors",
|
| 244 |
+
"model.language_model.layers.28.self_attn.k_norm.weight": "model-00006-of-00014.safetensors",
|
| 245 |
+
"model.language_model.layers.28.self_attn.k_proj.weight": "model-00006-of-00014.safetensors",
|
| 246 |
+
"model.language_model.layers.28.self_attn.o_proj.weight": "model-00006-of-00014.safetensors",
|
| 247 |
+
"model.language_model.layers.28.self_attn.q_norm.weight": "model-00006-of-00014.safetensors",
|
| 248 |
+
"model.language_model.layers.28.self_attn.q_proj.weight": "model-00006-of-00014.safetensors",
|
| 249 |
+
"model.language_model.layers.28.self_attn.v_proj.weight": "model-00006-of-00014.safetensors",
|
| 250 |
+
"model.language_model.layers.29.input_layernorm.weight": "model-00007-of-00014.safetensors",
|
| 251 |
+
"model.language_model.layers.29.mlp.down_proj.weight": "model-00007-of-00014.safetensors",
|
| 252 |
+
"model.language_model.layers.29.mlp.gate_proj.weight": "model-00007-of-00014.safetensors",
|
| 253 |
+
"model.language_model.layers.29.mlp.up_proj.weight": "model-00007-of-00014.safetensors",
|
| 254 |
+
"model.language_model.layers.29.post_attention_layernorm.weight": "model-00007-of-00014.safetensors",
|
| 255 |
+
"model.language_model.layers.29.self_attn.k_norm.weight": "model-00007-of-00014.safetensors",
|
| 256 |
+
"model.language_model.layers.29.self_attn.k_proj.weight": "model-00007-of-00014.safetensors",
|
| 257 |
+
"model.language_model.layers.29.self_attn.o_proj.weight": "model-00007-of-00014.safetensors",
|
| 258 |
+
"model.language_model.layers.29.self_attn.q_norm.weight": "model-00007-of-00014.safetensors",
|
| 259 |
+
"model.language_model.layers.29.self_attn.q_proj.weight": "model-00007-of-00014.safetensors",
|
| 260 |
+
"model.language_model.layers.29.self_attn.v_proj.weight": "model-00007-of-00014.safetensors",
|
| 261 |
+
"model.language_model.layers.3.input_layernorm.weight": "model-00001-of-00014.safetensors",
|
| 262 |
+
"model.language_model.layers.3.mlp.down_proj.weight": "model-00002-of-00014.safetensors",
|
| 263 |
+
"model.language_model.layers.3.mlp.gate_proj.weight": "model-00001-of-00014.safetensors",
|
| 264 |
+
"model.language_model.layers.3.mlp.up_proj.weight": "model-00002-of-00014.safetensors",
|
| 265 |
+
"model.language_model.layers.3.post_attention_layernorm.weight": "model-00001-of-00014.safetensors",
|
| 266 |
+
"model.language_model.layers.3.self_attn.k_norm.weight": "model-00001-of-00014.safetensors",
|
| 267 |
+
"model.language_model.layers.3.self_attn.k_proj.weight": "model-00001-of-00014.safetensors",
|
| 268 |
+
"model.language_model.layers.3.self_attn.o_proj.weight": "model-00001-of-00014.safetensors",
|
| 269 |
+
"model.language_model.layers.3.self_attn.q_norm.weight": "model-00001-of-00014.safetensors",
|
| 270 |
+
"model.language_model.layers.3.self_attn.q_proj.weight": "model-00001-of-00014.safetensors",
|
| 271 |
+
"model.language_model.layers.3.self_attn.v_proj.weight": "model-00001-of-00014.safetensors",
|
| 272 |
+
"model.language_model.layers.30.input_layernorm.weight": "model-00007-of-00014.safetensors",
|
| 273 |
+
"model.language_model.layers.30.mlp.down_proj.weight": "model-00007-of-00014.safetensors",
|
| 274 |
+
"model.language_model.layers.30.mlp.gate_proj.weight": "model-00007-of-00014.safetensors",
|
| 275 |
+
"model.language_model.layers.30.mlp.up_proj.weight": "model-00007-of-00014.safetensors",
|
| 276 |
+
"model.language_model.layers.30.post_attention_layernorm.weight": "model-00007-of-00014.safetensors",
|
| 277 |
+
"model.language_model.layers.30.self_attn.k_norm.weight": "model-00007-of-00014.safetensors",
|
| 278 |
+
"model.language_model.layers.30.self_attn.k_proj.weight": "model-00007-of-00014.safetensors",
|
| 279 |
+
"model.language_model.layers.30.self_attn.o_proj.weight": "model-00007-of-00014.safetensors",
|
| 280 |
+
"model.language_model.layers.30.self_attn.q_norm.weight": "model-00007-of-00014.safetensors",
|
| 281 |
+
"model.language_model.layers.30.self_attn.q_proj.weight": "model-00007-of-00014.safetensors",
|
| 282 |
+
"model.language_model.layers.30.self_attn.v_proj.weight": "model-00007-of-00014.safetensors",
|
| 283 |
+
"model.language_model.layers.31.input_layernorm.weight": "model-00007-of-00014.safetensors",
|
| 284 |
+
"model.language_model.layers.31.mlp.down_proj.weight": "model-00007-of-00014.safetensors",
|
| 285 |
+
"model.language_model.layers.31.mlp.gate_proj.weight": "model-00007-of-00014.safetensors",
|
| 286 |
+
"model.language_model.layers.31.mlp.up_proj.weight": "model-00007-of-00014.safetensors",
|
| 287 |
+
"model.language_model.layers.31.post_attention_layernorm.weight": "model-00007-of-00014.safetensors",
|
| 288 |
+
"model.language_model.layers.31.self_attn.k_norm.weight": "model-00007-of-00014.safetensors",
|
| 289 |
+
"model.language_model.layers.31.self_attn.k_proj.weight": "model-00007-of-00014.safetensors",
|
| 290 |
+
"model.language_model.layers.31.self_attn.o_proj.weight": "model-00007-of-00014.safetensors",
|
| 291 |
+
"model.language_model.layers.31.self_attn.q_norm.weight": "model-00007-of-00014.safetensors",
|
| 292 |
+
"model.language_model.layers.31.self_attn.q_proj.weight": "model-00007-of-00014.safetensors",
|
| 293 |
+
"model.language_model.layers.31.self_attn.v_proj.weight": "model-00007-of-00014.safetensors",
|
| 294 |
+
"model.language_model.layers.32.input_layernorm.weight": "model-00007-of-00014.safetensors",
|
| 295 |
+
"model.language_model.layers.32.mlp.down_proj.weight": "model-00007-of-00014.safetensors",
|
| 296 |
+
"model.language_model.layers.32.mlp.gate_proj.weight": "model-00007-of-00014.safetensors",
|
| 297 |
+
"model.language_model.layers.32.mlp.up_proj.weight": "model-00007-of-00014.safetensors",
|
| 298 |
+
"model.language_model.layers.32.post_attention_layernorm.weight": "model-00007-of-00014.safetensors",
|
| 299 |
+
"model.language_model.layers.32.self_attn.k_norm.weight": "model-00007-of-00014.safetensors",
|
| 300 |
+
"model.language_model.layers.32.self_attn.k_proj.weight": "model-00007-of-00014.safetensors",
|
| 301 |
+
"model.language_model.layers.32.self_attn.o_proj.weight": "model-00007-of-00014.safetensors",
|
| 302 |
+
"model.language_model.layers.32.self_attn.q_norm.weight": "model-00007-of-00014.safetensors",
|
| 303 |
+
"model.language_model.layers.32.self_attn.q_proj.weight": "model-00007-of-00014.safetensors",
|
| 304 |
+
"model.language_model.layers.32.self_attn.v_proj.weight": "model-00007-of-00014.safetensors",
|
| 305 |
+
"model.language_model.layers.33.input_layernorm.weight": "model-00007-of-00014.safetensors",
|
| 306 |
+
"model.language_model.layers.33.mlp.down_proj.weight": "model-00008-of-00014.safetensors",
|
| 307 |
+
"model.language_model.layers.33.mlp.gate_proj.weight": "model-00007-of-00014.safetensors",
|
| 308 |
+
"model.language_model.layers.33.mlp.up_proj.weight": "model-00008-of-00014.safetensors",
|
| 309 |
+
"model.language_model.layers.33.post_attention_layernorm.weight": "model-00007-of-00014.safetensors",
|
| 310 |
+
"model.language_model.layers.33.self_attn.k_norm.weight": "model-00007-of-00014.safetensors",
|
| 311 |
+
"model.language_model.layers.33.self_attn.k_proj.weight": "model-00007-of-00014.safetensors",
|
| 312 |
+
"model.language_model.layers.33.self_attn.o_proj.weight": "model-00007-of-00014.safetensors",
|
| 313 |
+
"model.language_model.layers.33.self_attn.q_norm.weight": "model-00007-of-00014.safetensors",
|
| 314 |
+
"model.language_model.layers.33.self_attn.q_proj.weight": "model-00007-of-00014.safetensors",
|
| 315 |
+
"model.language_model.layers.33.self_attn.v_proj.weight": "model-00007-of-00014.safetensors",
|
| 316 |
+
"model.language_model.layers.34.input_layernorm.weight": "model-00008-of-00014.safetensors",
|
| 317 |
+
"model.language_model.layers.34.mlp.down_proj.weight": "model-00008-of-00014.safetensors",
|
| 318 |
+
"model.language_model.layers.34.mlp.gate_proj.weight": "model-00008-of-00014.safetensors",
|
| 319 |
+
"model.language_model.layers.34.mlp.up_proj.weight": "model-00008-of-00014.safetensors",
|
| 320 |
+
"model.language_model.layers.34.post_attention_layernorm.weight": "model-00008-of-00014.safetensors",
|
| 321 |
+
"model.language_model.layers.34.self_attn.k_norm.weight": "model-00008-of-00014.safetensors",
|
| 322 |
+
"model.language_model.layers.34.self_attn.k_proj.weight": "model-00008-of-00014.safetensors",
|
| 323 |
+
"model.language_model.layers.34.self_attn.o_proj.weight": "model-00008-of-00014.safetensors",
|
| 324 |
+
"model.language_model.layers.34.self_attn.q_norm.weight": "model-00008-of-00014.safetensors",
|
| 325 |
+
"model.language_model.layers.34.self_attn.q_proj.weight": "model-00008-of-00014.safetensors",
|
| 326 |
+
"model.language_model.layers.34.self_attn.v_proj.weight": "model-00008-of-00014.safetensors",
|
| 327 |
+
"model.language_model.layers.35.input_layernorm.weight": "model-00008-of-00014.safetensors",
|
| 328 |
+
"model.language_model.layers.35.mlp.down_proj.weight": "model-00008-of-00014.safetensors",
|
| 329 |
+
"model.language_model.layers.35.mlp.gate_proj.weight": "model-00008-of-00014.safetensors",
|
| 330 |
+
"model.language_model.layers.35.mlp.up_proj.weight": "model-00008-of-00014.safetensors",
|
| 331 |
+
"model.language_model.layers.35.post_attention_layernorm.weight": "model-00008-of-00014.safetensors",
|
| 332 |
+
"model.language_model.layers.35.self_attn.k_norm.weight": "model-00008-of-00014.safetensors",
|
| 333 |
+
"model.language_model.layers.35.self_attn.k_proj.weight": "model-00008-of-00014.safetensors",
|
| 334 |
+
"model.language_model.layers.35.self_attn.o_proj.weight": "model-00008-of-00014.safetensors",
|
| 335 |
+
"model.language_model.layers.35.self_attn.q_norm.weight": "model-00008-of-00014.safetensors",
|
| 336 |
+
"model.language_model.layers.35.self_attn.q_proj.weight": "model-00008-of-00014.safetensors",
|
| 337 |
+
"model.language_model.layers.35.self_attn.v_proj.weight": "model-00008-of-00014.safetensors",
|
| 338 |
+
"model.language_model.layers.36.input_layernorm.weight": "model-00008-of-00014.safetensors",
|
| 339 |
+
"model.language_model.layers.36.mlp.down_proj.weight": "model-00008-of-00014.safetensors",
|
| 340 |
+
"model.language_model.layers.36.mlp.gate_proj.weight": "model-00008-of-00014.safetensors",
|
| 341 |
+
"model.language_model.layers.36.mlp.up_proj.weight": "model-00008-of-00014.safetensors",
|
| 342 |
+
"model.language_model.layers.36.post_attention_layernorm.weight": "model-00008-of-00014.safetensors",
|
| 343 |
+
"model.language_model.layers.36.self_attn.k_norm.weight": "model-00008-of-00014.safetensors",
|
| 344 |
+
"model.language_model.layers.36.self_attn.k_proj.weight": "model-00008-of-00014.safetensors",
|
| 345 |
+
"model.language_model.layers.36.self_attn.o_proj.weight": "model-00008-of-00014.safetensors",
|
| 346 |
+
"model.language_model.layers.36.self_attn.q_norm.weight": "model-00008-of-00014.safetensors",
|
| 347 |
+
"model.language_model.layers.36.self_attn.q_proj.weight": "model-00008-of-00014.safetensors",
|
| 348 |
+
"model.language_model.layers.36.self_attn.v_proj.weight": "model-00008-of-00014.safetensors",
|
| 349 |
+
"model.language_model.layers.37.input_layernorm.weight": "model-00008-of-00014.safetensors",
|
| 350 |
+
"model.language_model.layers.37.mlp.down_proj.weight": "model-00008-of-00014.safetensors",
|
| 351 |
+
"model.language_model.layers.37.mlp.gate_proj.weight": "model-00008-of-00014.safetensors",
|
| 352 |
+
"model.language_model.layers.37.mlp.up_proj.weight": "model-00008-of-00014.safetensors",
|
| 353 |
+
"model.language_model.layers.37.post_attention_layernorm.weight": "model-00008-of-00014.safetensors",
|
| 354 |
+
"model.language_model.layers.37.self_attn.k_norm.weight": "model-00008-of-00014.safetensors",
|
| 355 |
+
"model.language_model.layers.37.self_attn.k_proj.weight": "model-00008-of-00014.safetensors",
|
| 356 |
+
"model.language_model.layers.37.self_attn.o_proj.weight": "model-00008-of-00014.safetensors",
|
| 357 |
+
"model.language_model.layers.37.self_attn.q_norm.weight": "model-00008-of-00014.safetensors",
|
| 358 |
+
"model.language_model.layers.37.self_attn.q_proj.weight": "model-00008-of-00014.safetensors",
|
| 359 |
+
"model.language_model.layers.37.self_attn.v_proj.weight": "model-00008-of-00014.safetensors",
|
| 360 |
+
"model.language_model.layers.38.input_layernorm.weight": "model-00008-of-00014.safetensors",
|
| 361 |
+
"model.language_model.layers.38.mlp.down_proj.weight": "model-00009-of-00014.safetensors",
|
| 362 |
+
"model.language_model.layers.38.mlp.gate_proj.weight": "model-00008-of-00014.safetensors",
|
| 363 |
+
"model.language_model.layers.38.mlp.up_proj.weight": "model-00009-of-00014.safetensors",
|
| 364 |
+
"model.language_model.layers.38.post_attention_layernorm.weight": "model-00008-of-00014.safetensors",
|
| 365 |
+
"model.language_model.layers.38.self_attn.k_norm.weight": "model-00008-of-00014.safetensors",
|
| 366 |
+
"model.language_model.layers.38.self_attn.k_proj.weight": "model-00008-of-00014.safetensors",
|
| 367 |
+
"model.language_model.layers.38.self_attn.o_proj.weight": "model-00008-of-00014.safetensors",
|
| 368 |
+
"model.language_model.layers.38.self_attn.q_norm.weight": "model-00008-of-00014.safetensors",
|
| 369 |
+
"model.language_model.layers.38.self_attn.q_proj.weight": "model-00008-of-00014.safetensors",
|
| 370 |
+
"model.language_model.layers.38.self_attn.v_proj.weight": "model-00008-of-00014.safetensors",
|
| 371 |
+
"model.language_model.layers.39.input_layernorm.weight": "model-00009-of-00014.safetensors",
|
| 372 |
+
"model.language_model.layers.39.mlp.down_proj.weight": "model-00009-of-00014.safetensors",
|
| 373 |
+
"model.language_model.layers.39.mlp.gate_proj.weight": "model-00009-of-00014.safetensors",
|
| 374 |
+
"model.language_model.layers.39.mlp.up_proj.weight": "model-00009-of-00014.safetensors",
|
| 375 |
+
"model.language_model.layers.39.post_attention_layernorm.weight": "model-00009-of-00014.safetensors",
|
| 376 |
+
"model.language_model.layers.39.self_attn.k_norm.weight": "model-00009-of-00014.safetensors",
|
| 377 |
+
"model.language_model.layers.39.self_attn.k_proj.weight": "model-00009-of-00014.safetensors",
|
| 378 |
+
"model.language_model.layers.39.self_attn.o_proj.weight": "model-00009-of-00014.safetensors",
|
| 379 |
+
"model.language_model.layers.39.self_attn.q_norm.weight": "model-00009-of-00014.safetensors",
|
| 380 |
+
"model.language_model.layers.39.self_attn.q_proj.weight": "model-00009-of-00014.safetensors",
|
| 381 |
+
"model.language_model.layers.39.self_attn.v_proj.weight": "model-00009-of-00014.safetensors",
|
| 382 |
+
"model.language_model.layers.4.input_layernorm.weight": "model-00002-of-00014.safetensors",
|
| 383 |
+
"model.language_model.layers.4.mlp.down_proj.weight": "model-00002-of-00014.safetensors",
|
| 384 |
+
"model.language_model.layers.4.mlp.gate_proj.weight": "model-00002-of-00014.safetensors",
|
| 385 |
+
"model.language_model.layers.4.mlp.up_proj.weight": "model-00002-of-00014.safetensors",
|
| 386 |
+
"model.language_model.layers.4.post_attention_layernorm.weight": "model-00002-of-00014.safetensors",
|
| 387 |
+
"model.language_model.layers.4.self_attn.k_norm.weight": "model-00002-of-00014.safetensors",
|
| 388 |
+
"model.language_model.layers.4.self_attn.k_proj.weight": "model-00002-of-00014.safetensors",
|
| 389 |
+
"model.language_model.layers.4.self_attn.o_proj.weight": "model-00002-of-00014.safetensors",
|
| 390 |
+
"model.language_model.layers.4.self_attn.q_norm.weight": "model-00002-of-00014.safetensors",
|
| 391 |
+
"model.language_model.layers.4.self_attn.q_proj.weight": "model-00002-of-00014.safetensors",
|
| 392 |
+
"model.language_model.layers.4.self_attn.v_proj.weight": "model-00002-of-00014.safetensors",
|
| 393 |
+
"model.language_model.layers.40.input_layernorm.weight": "model-00009-of-00014.safetensors",
|
| 394 |
+
"model.language_model.layers.40.mlp.down_proj.weight": "model-00009-of-00014.safetensors",
|
| 395 |
+
"model.language_model.layers.40.mlp.gate_proj.weight": "model-00009-of-00014.safetensors",
|
| 396 |
+
"model.language_model.layers.40.mlp.up_proj.weight": "model-00009-of-00014.safetensors",
|
| 397 |
+
"model.language_model.layers.40.post_attention_layernorm.weight": "model-00009-of-00014.safetensors",
|
| 398 |
+
"model.language_model.layers.40.self_attn.k_norm.weight": "model-00009-of-00014.safetensors",
|
| 399 |
+
"model.language_model.layers.40.self_attn.k_proj.weight": "model-00009-of-00014.safetensors",
|
| 400 |
+
"model.language_model.layers.40.self_attn.o_proj.weight": "model-00009-of-00014.safetensors",
|
| 401 |
+
"model.language_model.layers.40.self_attn.q_norm.weight": "model-00009-of-00014.safetensors",
|
| 402 |
+
"model.language_model.layers.40.self_attn.q_proj.weight": "model-00009-of-00014.safetensors",
|
| 403 |
+
"model.language_model.layers.40.self_attn.v_proj.weight": "model-00009-of-00014.safetensors",
|
| 404 |
+
"model.language_model.layers.41.input_layernorm.weight": "model-00009-of-00014.safetensors",
|
| 405 |
+
"model.language_model.layers.41.mlp.down_proj.weight": "model-00009-of-00014.safetensors",
|
| 406 |
+
"model.language_model.layers.41.mlp.gate_proj.weight": "model-00009-of-00014.safetensors",
|
| 407 |
+
"model.language_model.layers.41.mlp.up_proj.weight": "model-00009-of-00014.safetensors",
|
| 408 |
+
"model.language_model.layers.41.post_attention_layernorm.weight": "model-00009-of-00014.safetensors",
|
| 409 |
+
"model.language_model.layers.41.self_attn.k_norm.weight": "model-00009-of-00014.safetensors",
|
| 410 |
+
"model.language_model.layers.41.self_attn.k_proj.weight": "model-00009-of-00014.safetensors",
|
| 411 |
+
"model.language_model.layers.41.self_attn.o_proj.weight": "model-00009-of-00014.safetensors",
|
| 412 |
+
"model.language_model.layers.41.self_attn.q_norm.weight": "model-00009-of-00014.safetensors",
|
| 413 |
+
"model.language_model.layers.41.self_attn.q_proj.weight": "model-00009-of-00014.safetensors",
|
| 414 |
+
"model.language_model.layers.41.self_attn.v_proj.weight": "model-00009-of-00014.safetensors",
|
| 415 |
+
"model.language_model.layers.42.input_layernorm.weight": "model-00009-of-00014.safetensors",
|
| 416 |
+
"model.language_model.layers.42.mlp.down_proj.weight": "model-00009-of-00014.safetensors",
|
| 417 |
+
"model.language_model.layers.42.mlp.gate_proj.weight": "model-00009-of-00014.safetensors",
|
| 418 |
+
"model.language_model.layers.42.mlp.up_proj.weight": "model-00009-of-00014.safetensors",
|
| 419 |
+
"model.language_model.layers.42.post_attention_layernorm.weight": "model-00009-of-00014.safetensors",
|
| 420 |
+
"model.language_model.layers.42.self_attn.k_norm.weight": "model-00009-of-00014.safetensors",
|
| 421 |
+
"model.language_model.layers.42.self_attn.k_proj.weight": "model-00009-of-00014.safetensors",
|
| 422 |
+
"model.language_model.layers.42.self_attn.o_proj.weight": "model-00009-of-00014.safetensors",
|
| 423 |
+
"model.language_model.layers.42.self_attn.q_norm.weight": "model-00009-of-00014.safetensors",
|
| 424 |
+
"model.language_model.layers.42.self_attn.q_proj.weight": "model-00009-of-00014.safetensors",
|
| 425 |
+
"model.language_model.layers.42.self_attn.v_proj.weight": "model-00009-of-00014.safetensors",
|
| 426 |
+
"model.language_model.layers.43.input_layernorm.weight": "model-00009-of-00014.safetensors",
|
| 427 |
+
"model.language_model.layers.43.mlp.down_proj.weight": "model-00010-of-00014.safetensors",
|
| 428 |
+
"model.language_model.layers.43.mlp.gate_proj.weight": "model-00009-of-00014.safetensors",
|
| 429 |
+
"model.language_model.layers.43.mlp.up_proj.weight": "model-00010-of-00014.safetensors",
|
| 430 |
+
"model.language_model.layers.43.post_attention_layernorm.weight": "model-00009-of-00014.safetensors",
|
| 431 |
+
"model.language_model.layers.43.self_attn.k_norm.weight": "model-00009-of-00014.safetensors",
|
| 432 |
+
"model.language_model.layers.43.self_attn.k_proj.weight": "model-00009-of-00014.safetensors",
|
| 433 |
+
"model.language_model.layers.43.self_attn.o_proj.weight": "model-00009-of-00014.safetensors",
|
| 434 |
+
"model.language_model.layers.43.self_attn.q_norm.weight": "model-00009-of-00014.safetensors",
|
| 435 |
+
"model.language_model.layers.43.self_attn.q_proj.weight": "model-00009-of-00014.safetensors",
|
| 436 |
+
"model.language_model.layers.43.self_attn.v_proj.weight": "model-00009-of-00014.safetensors",
|
| 437 |
+
"model.language_model.layers.44.input_layernorm.weight": "model-00010-of-00014.safetensors",
|
| 438 |
+
"model.language_model.layers.44.mlp.down_proj.weight": "model-00010-of-00014.safetensors",
|
| 439 |
+
"model.language_model.layers.44.mlp.gate_proj.weight": "model-00010-of-00014.safetensors",
|
| 440 |
+
"model.language_model.layers.44.mlp.up_proj.weight": "model-00010-of-00014.safetensors",
|
| 441 |
+
"model.language_model.layers.44.post_attention_layernorm.weight": "model-00010-of-00014.safetensors",
|
| 442 |
+
"model.language_model.layers.44.self_attn.k_norm.weight": "model-00010-of-00014.safetensors",
|
| 443 |
+
"model.language_model.layers.44.self_attn.k_proj.weight": "model-00010-of-00014.safetensors",
|
| 444 |
+
"model.language_model.layers.44.self_attn.o_proj.weight": "model-00010-of-00014.safetensors",
|
| 445 |
+
"model.language_model.layers.44.self_attn.q_norm.weight": "model-00010-of-00014.safetensors",
|
| 446 |
+
"model.language_model.layers.44.self_attn.q_proj.weight": "model-00010-of-00014.safetensors",
|
| 447 |
+
"model.language_model.layers.44.self_attn.v_proj.weight": "model-00010-of-00014.safetensors",
|
| 448 |
+
"model.language_model.layers.45.input_layernorm.weight": "model-00010-of-00014.safetensors",
|
| 449 |
+
"model.language_model.layers.45.mlp.down_proj.weight": "model-00010-of-00014.safetensors",
|
| 450 |
+
"model.language_model.layers.45.mlp.gate_proj.weight": "model-00010-of-00014.safetensors",
|
| 451 |
+
"model.language_model.layers.45.mlp.up_proj.weight": "model-00010-of-00014.safetensors",
|
| 452 |
+
"model.language_model.layers.45.post_attention_layernorm.weight": "model-00010-of-00014.safetensors",
|
| 453 |
+
"model.language_model.layers.45.self_attn.k_norm.weight": "model-00010-of-00014.safetensors",
|
| 454 |
+
"model.language_model.layers.45.self_attn.k_proj.weight": "model-00010-of-00014.safetensors",
|
| 455 |
+
"model.language_model.layers.45.self_attn.o_proj.weight": "model-00010-of-00014.safetensors",
|
| 456 |
+
"model.language_model.layers.45.self_attn.q_norm.weight": "model-00010-of-00014.safetensors",
|
| 457 |
+
"model.language_model.layers.45.self_attn.q_proj.weight": "model-00010-of-00014.safetensors",
|
| 458 |
+
"model.language_model.layers.45.self_attn.v_proj.weight": "model-00010-of-00014.safetensors",
|
| 459 |
+
"model.language_model.layers.46.input_layernorm.weight": "model-00010-of-00014.safetensors",
|
| 460 |
+
"model.language_model.layers.46.mlp.down_proj.weight": "model-00010-of-00014.safetensors",
|
| 461 |
+
"model.language_model.layers.46.mlp.gate_proj.weight": "model-00010-of-00014.safetensors",
|
| 462 |
+
"model.language_model.layers.46.mlp.up_proj.weight": "model-00010-of-00014.safetensors",
|
| 463 |
+
"model.language_model.layers.46.post_attention_layernorm.weight": "model-00010-of-00014.safetensors",
|
| 464 |
+
"model.language_model.layers.46.self_attn.k_norm.weight": "model-00010-of-00014.safetensors",
|
| 465 |
+
"model.language_model.layers.46.self_attn.k_proj.weight": "model-00010-of-00014.safetensors",
|
| 466 |
+
"model.language_model.layers.46.self_attn.o_proj.weight": "model-00010-of-00014.safetensors",
|
| 467 |
+
"model.language_model.layers.46.self_attn.q_norm.weight": "model-00010-of-00014.safetensors",
|
| 468 |
+
"model.language_model.layers.46.self_attn.q_proj.weight": "model-00010-of-00014.safetensors",
|
| 469 |
+
"model.language_model.layers.46.self_attn.v_proj.weight": "model-00010-of-00014.safetensors",
|
| 470 |
+
"model.language_model.layers.47.input_layernorm.weight": "model-00010-of-00014.safetensors",
|
| 471 |
+
"model.language_model.layers.47.mlp.down_proj.weight": "model-00010-of-00014.safetensors",
|
| 472 |
+
"model.language_model.layers.47.mlp.gate_proj.weight": "model-00010-of-00014.safetensors",
|
| 473 |
+
"model.language_model.layers.47.mlp.up_proj.weight": "model-00010-of-00014.safetensors",
|
| 474 |
+
"model.language_model.layers.47.post_attention_layernorm.weight": "model-00010-of-00014.safetensors",
|
| 475 |
+
"model.language_model.layers.47.self_attn.k_norm.weight": "model-00010-of-00014.safetensors",
|
| 476 |
+
"model.language_model.layers.47.self_attn.k_proj.weight": "model-00010-of-00014.safetensors",
|
| 477 |
+
"model.language_model.layers.47.self_attn.o_proj.weight": "model-00010-of-00014.safetensors",
|
| 478 |
+
"model.language_model.layers.47.self_attn.q_norm.weight": "model-00010-of-00014.safetensors",
|
| 479 |
+
"model.language_model.layers.47.self_attn.q_proj.weight": "model-00010-of-00014.safetensors",
|
| 480 |
+
"model.language_model.layers.47.self_attn.v_proj.weight": "model-00010-of-00014.safetensors",
|
| 481 |
+
"model.language_model.layers.48.input_layernorm.weight": "model-00010-of-00014.safetensors",
|
| 482 |
+
"model.language_model.layers.48.mlp.down_proj.weight": "model-00011-of-00014.safetensors",
|
| 483 |
+
"model.language_model.layers.48.mlp.gate_proj.weight": "model-00010-of-00014.safetensors",
|
| 484 |
+
"model.language_model.layers.48.mlp.up_proj.weight": "model-00011-of-00014.safetensors",
|
| 485 |
+
"model.language_model.layers.48.post_attention_layernorm.weight": "model-00010-of-00014.safetensors",
|
| 486 |
+
"model.language_model.layers.48.self_attn.k_norm.weight": "model-00010-of-00014.safetensors",
|
| 487 |
+
"model.language_model.layers.48.self_attn.k_proj.weight": "model-00010-of-00014.safetensors",
|
| 488 |
+
"model.language_model.layers.48.self_attn.o_proj.weight": "model-00010-of-00014.safetensors",
|
| 489 |
+
"model.language_model.layers.48.self_attn.q_norm.weight": "model-00010-of-00014.safetensors",
|
| 490 |
+
"model.language_model.layers.48.self_attn.q_proj.weight": "model-00010-of-00014.safetensors",
|
| 491 |
+
"model.language_model.layers.48.self_attn.v_proj.weight": "model-00010-of-00014.safetensors",
|
| 492 |
+
"model.language_model.layers.49.input_layernorm.weight": "model-00011-of-00014.safetensors",
|
| 493 |
+
"model.language_model.layers.49.mlp.down_proj.weight": "model-00011-of-00014.safetensors",
|
| 494 |
+
"model.language_model.layers.49.mlp.gate_proj.weight": "model-00011-of-00014.safetensors",
|
| 495 |
+
"model.language_model.layers.49.mlp.up_proj.weight": "model-00011-of-00014.safetensors",
|
| 496 |
+
"model.language_model.layers.49.post_attention_layernorm.weight": "model-00011-of-00014.safetensors",
|
| 497 |
+
"model.language_model.layers.49.self_attn.k_norm.weight": "model-00011-of-00014.safetensors",
|
| 498 |
+
"model.language_model.layers.49.self_attn.k_proj.weight": "model-00011-of-00014.safetensors",
|
| 499 |
+
"model.language_model.layers.49.self_attn.o_proj.weight": "model-00011-of-00014.safetensors",
|
| 500 |
+
"model.language_model.layers.49.self_attn.q_norm.weight": "model-00011-of-00014.safetensors",
|
| 501 |
+
"model.language_model.layers.49.self_attn.q_proj.weight": "model-00011-of-00014.safetensors",
|
| 502 |
+
"model.language_model.layers.49.self_attn.v_proj.weight": "model-00011-of-00014.safetensors",
|
| 503 |
+
"model.language_model.layers.5.input_layernorm.weight": "model-00002-of-00014.safetensors",
|
| 504 |
+
"model.language_model.layers.5.mlp.down_proj.weight": "model-00002-of-00014.safetensors",
|
| 505 |
+
"model.language_model.layers.5.mlp.gate_proj.weight": "model-00002-of-00014.safetensors",
|
| 506 |
+
"model.language_model.layers.5.mlp.up_proj.weight": "model-00002-of-00014.safetensors",
|
| 507 |
+
"model.language_model.layers.5.post_attention_layernorm.weight": "model-00002-of-00014.safetensors",
|
| 508 |
+
"model.language_model.layers.5.self_attn.k_norm.weight": "model-00002-of-00014.safetensors",
|
| 509 |
+
"model.language_model.layers.5.self_attn.k_proj.weight": "model-00002-of-00014.safetensors",
|
| 510 |
+
"model.language_model.layers.5.self_attn.o_proj.weight": "model-00002-of-00014.safetensors",
|
| 511 |
+
"model.language_model.layers.5.self_attn.q_norm.weight": "model-00002-of-00014.safetensors",
|
| 512 |
+
"model.language_model.layers.5.self_attn.q_proj.weight": "model-00002-of-00014.safetensors",
|
| 513 |
+
"model.language_model.layers.5.self_attn.v_proj.weight": "model-00002-of-00014.safetensors",
|
| 514 |
+
"model.language_model.layers.50.input_layernorm.weight": "model-00011-of-00014.safetensors",
|
| 515 |
+
"model.language_model.layers.50.mlp.down_proj.weight": "model-00011-of-00014.safetensors",
|
| 516 |
+
"model.language_model.layers.50.mlp.gate_proj.weight": "model-00011-of-00014.safetensors",
|
| 517 |
+
"model.language_model.layers.50.mlp.up_proj.weight": "model-00011-of-00014.safetensors",
|
| 518 |
+
"model.language_model.layers.50.post_attention_layernorm.weight": "model-00011-of-00014.safetensors",
|
| 519 |
+
"model.language_model.layers.50.self_attn.k_norm.weight": "model-00011-of-00014.safetensors",
|
| 520 |
+
"model.language_model.layers.50.self_attn.k_proj.weight": "model-00011-of-00014.safetensors",
|
| 521 |
+
"model.language_model.layers.50.self_attn.o_proj.weight": "model-00011-of-00014.safetensors",
|
| 522 |
+
"model.language_model.layers.50.self_attn.q_norm.weight": "model-00011-of-00014.safetensors",
|
| 523 |
+
"model.language_model.layers.50.self_attn.q_proj.weight": "model-00011-of-00014.safetensors",
|
| 524 |
+
"model.language_model.layers.50.self_attn.v_proj.weight": "model-00011-of-00014.safetensors",
|
| 525 |
+
"model.language_model.layers.51.input_layernorm.weight": "model-00011-of-00014.safetensors",
|
| 526 |
+
"model.language_model.layers.51.mlp.down_proj.weight": "model-00011-of-00014.safetensors",
|
| 527 |
+
"model.language_model.layers.51.mlp.gate_proj.weight": "model-00011-of-00014.safetensors",
|
| 528 |
+
"model.language_model.layers.51.mlp.up_proj.weight": "model-00011-of-00014.safetensors",
|
| 529 |
+
"model.language_model.layers.51.post_attention_layernorm.weight": "model-00011-of-00014.safetensors",
|
| 530 |
+
"model.language_model.layers.51.self_attn.k_norm.weight": "model-00011-of-00014.safetensors",
|
| 531 |
+
"model.language_model.layers.51.self_attn.k_proj.weight": "model-00011-of-00014.safetensors",
|
| 532 |
+
"model.language_model.layers.51.self_attn.o_proj.weight": "model-00011-of-00014.safetensors",
|
| 533 |
+
"model.language_model.layers.51.self_attn.q_norm.weight": "model-00011-of-00014.safetensors",
|
| 534 |
+
"model.language_model.layers.51.self_attn.q_proj.weight": "model-00011-of-00014.safetensors",
|
| 535 |
+
"model.language_model.layers.51.self_attn.v_proj.weight": "model-00011-of-00014.safetensors",
|
| 536 |
+
"model.language_model.layers.52.input_layernorm.weight": "model-00011-of-00014.safetensors",
|
| 537 |
+
"model.language_model.layers.52.mlp.down_proj.weight": "model-00011-of-00014.safetensors",
|
| 538 |
+
"model.language_model.layers.52.mlp.gate_proj.weight": "model-00011-of-00014.safetensors",
|
| 539 |
+
"model.language_model.layers.52.mlp.up_proj.weight": "model-00011-of-00014.safetensors",
|
| 540 |
+
"model.language_model.layers.52.post_attention_layernorm.weight": "model-00011-of-00014.safetensors",
|
| 541 |
+
"model.language_model.layers.52.self_attn.k_norm.weight": "model-00011-of-00014.safetensors",
|
| 542 |
+
"model.language_model.layers.52.self_attn.k_proj.weight": "model-00011-of-00014.safetensors",
|
| 543 |
+
"model.language_model.layers.52.self_attn.o_proj.weight": "model-00011-of-00014.safetensors",
|
| 544 |
+
"model.language_model.layers.52.self_attn.q_norm.weight": "model-00011-of-00014.safetensors",
|
| 545 |
+
"model.language_model.layers.52.self_attn.q_proj.weight": "model-00011-of-00014.safetensors",
|
| 546 |
+
"model.language_model.layers.52.self_attn.v_proj.weight": "model-00011-of-00014.safetensors",
|
| 547 |
+
"model.language_model.layers.53.input_layernorm.weight": "model-00011-of-00014.safetensors",
|
| 548 |
+
"model.language_model.layers.53.mlp.down_proj.weight": "model-00012-of-00014.safetensors",
|
| 549 |
+
"model.language_model.layers.53.mlp.gate_proj.weight": "model-00011-of-00014.safetensors",
|
| 550 |
+
"model.language_model.layers.53.mlp.up_proj.weight": "model-00012-of-00014.safetensors",
|
| 551 |
+
"model.language_model.layers.53.post_attention_layernorm.weight": "model-00011-of-00014.safetensors",
|
| 552 |
+
"model.language_model.layers.53.self_attn.k_norm.weight": "model-00011-of-00014.safetensors",
|
| 553 |
+
"model.language_model.layers.53.self_attn.k_proj.weight": "model-00011-of-00014.safetensors",
|
| 554 |
+
"model.language_model.layers.53.self_attn.o_proj.weight": "model-00011-of-00014.safetensors",
|
| 555 |
+
"model.language_model.layers.53.self_attn.q_norm.weight": "model-00011-of-00014.safetensors",
|
| 556 |
+
"model.language_model.layers.53.self_attn.q_proj.weight": "model-00011-of-00014.safetensors",
|
| 557 |
+
"model.language_model.layers.53.self_attn.v_proj.weight": "model-00011-of-00014.safetensors",
|
| 558 |
+
"model.language_model.layers.54.input_layernorm.weight": "model-00012-of-00014.safetensors",
|
| 559 |
+
"model.language_model.layers.54.mlp.down_proj.weight": "model-00012-of-00014.safetensors",
|
| 560 |
+
"model.language_model.layers.54.mlp.gate_proj.weight": "model-00012-of-00014.safetensors",
|
| 561 |
+
"model.language_model.layers.54.mlp.up_proj.weight": "model-00012-of-00014.safetensors",
|
| 562 |
+
"model.language_model.layers.54.post_attention_layernorm.weight": "model-00012-of-00014.safetensors",
|
| 563 |
+
"model.language_model.layers.54.self_attn.k_norm.weight": "model-00012-of-00014.safetensors",
|
| 564 |
+
"model.language_model.layers.54.self_attn.k_proj.weight": "model-00012-of-00014.safetensors",
|
| 565 |
+
"model.language_model.layers.54.self_attn.o_proj.weight": "model-00012-of-00014.safetensors",
|
| 566 |
+
"model.language_model.layers.54.self_attn.q_norm.weight": "model-00012-of-00014.safetensors",
|
| 567 |
+
"model.language_model.layers.54.self_attn.q_proj.weight": "model-00012-of-00014.safetensors",
|
| 568 |
+
"model.language_model.layers.54.self_attn.v_proj.weight": "model-00012-of-00014.safetensors",
|
| 569 |
+
"model.language_model.layers.55.input_layernorm.weight": "model-00012-of-00014.safetensors",
|
| 570 |
+
"model.language_model.layers.55.mlp.down_proj.weight": "model-00012-of-00014.safetensors",
|
| 571 |
+
"model.language_model.layers.55.mlp.gate_proj.weight": "model-00012-of-00014.safetensors",
|
| 572 |
+
"model.language_model.layers.55.mlp.up_proj.weight": "model-00012-of-00014.safetensors",
|
| 573 |
+
"model.language_model.layers.55.post_attention_layernorm.weight": "model-00012-of-00014.safetensors",
|
| 574 |
+
"model.language_model.layers.55.self_attn.k_norm.weight": "model-00012-of-00014.safetensors",
|
| 575 |
+
"model.language_model.layers.55.self_attn.k_proj.weight": "model-00012-of-00014.safetensors",
|
| 576 |
+
"model.language_model.layers.55.self_attn.o_proj.weight": "model-00012-of-00014.safetensors",
|
| 577 |
+
"model.language_model.layers.55.self_attn.q_norm.weight": "model-00012-of-00014.safetensors",
|
| 578 |
+
"model.language_model.layers.55.self_attn.q_proj.weight": "model-00012-of-00014.safetensors",
|
| 579 |
+
"model.language_model.layers.55.self_attn.v_proj.weight": "model-00012-of-00014.safetensors",
|
| 580 |
+
"model.language_model.layers.56.input_layernorm.weight": "model-00012-of-00014.safetensors",
|
| 581 |
+
"model.language_model.layers.56.mlp.down_proj.weight": "model-00012-of-00014.safetensors",
|
| 582 |
+
"model.language_model.layers.56.mlp.gate_proj.weight": "model-00012-of-00014.safetensors",
|
| 583 |
+
"model.language_model.layers.56.mlp.up_proj.weight": "model-00012-of-00014.safetensors",
|
| 584 |
+
"model.language_model.layers.56.post_attention_layernorm.weight": "model-00012-of-00014.safetensors",
|
| 585 |
+
"model.language_model.layers.56.self_attn.k_norm.weight": "model-00012-of-00014.safetensors",
|
| 586 |
+
"model.language_model.layers.56.self_attn.k_proj.weight": "model-00012-of-00014.safetensors",
|
| 587 |
+
"model.language_model.layers.56.self_attn.o_proj.weight": "model-00012-of-00014.safetensors",
|
| 588 |
+
"model.language_model.layers.56.self_attn.q_norm.weight": "model-00012-of-00014.safetensors",
|
| 589 |
+
"model.language_model.layers.56.self_attn.q_proj.weight": "model-00012-of-00014.safetensors",
|
| 590 |
+
"model.language_model.layers.56.self_attn.v_proj.weight": "model-00012-of-00014.safetensors",
|
| 591 |
+
"model.language_model.layers.57.input_layernorm.weight": "model-00012-of-00014.safetensors",
|
| 592 |
+
"model.language_model.layers.57.mlp.down_proj.weight": "model-00012-of-00014.safetensors",
|
| 593 |
+
"model.language_model.layers.57.mlp.gate_proj.weight": "model-00012-of-00014.safetensors",
|
| 594 |
+
"model.language_model.layers.57.mlp.up_proj.weight": "model-00012-of-00014.safetensors",
|
| 595 |
+
"model.language_model.layers.57.post_attention_layernorm.weight": "model-00012-of-00014.safetensors",
|
| 596 |
+
"model.language_model.layers.57.self_attn.k_norm.weight": "model-00012-of-00014.safetensors",
|
| 597 |
+
"model.language_model.layers.57.self_attn.k_proj.weight": "model-00012-of-00014.safetensors",
|
| 598 |
+
"model.language_model.layers.57.self_attn.o_proj.weight": "model-00012-of-00014.safetensors",
|
| 599 |
+
"model.language_model.layers.57.self_attn.q_norm.weight": "model-00012-of-00014.safetensors",
|
| 600 |
+
"model.language_model.layers.57.self_attn.q_proj.weight": "model-00012-of-00014.safetensors",
|
| 601 |
+
"model.language_model.layers.57.self_attn.v_proj.weight": "model-00012-of-00014.safetensors",
|
| 602 |
+
"model.language_model.layers.58.input_layernorm.weight": "model-00012-of-00014.safetensors",
|
| 603 |
+
"model.language_model.layers.58.mlp.down_proj.weight": "model-00013-of-00014.safetensors",
|
| 604 |
+
"model.language_model.layers.58.mlp.gate_proj.weight": "model-00012-of-00014.safetensors",
|
| 605 |
+
"model.language_model.layers.58.mlp.up_proj.weight": "model-00013-of-00014.safetensors",
|
| 606 |
+
"model.language_model.layers.58.post_attention_layernorm.weight": "model-00012-of-00014.safetensors",
|
| 607 |
+
"model.language_model.layers.58.self_attn.k_norm.weight": "model-00012-of-00014.safetensors",
|
| 608 |
+
"model.language_model.layers.58.self_attn.k_proj.weight": "model-00012-of-00014.safetensors",
|
| 609 |
+
"model.language_model.layers.58.self_attn.o_proj.weight": "model-00012-of-00014.safetensors",
|
| 610 |
+
"model.language_model.layers.58.self_attn.q_norm.weight": "model-00012-of-00014.safetensors",
|
| 611 |
+
"model.language_model.layers.58.self_attn.q_proj.weight": "model-00012-of-00014.safetensors",
|
| 612 |
+
"model.language_model.layers.58.self_attn.v_proj.weight": "model-00012-of-00014.safetensors",
|
| 613 |
+
"model.language_model.layers.59.input_layernorm.weight": "model-00013-of-00014.safetensors",
|
| 614 |
+
"model.language_model.layers.59.mlp.down_proj.weight": "model-00013-of-00014.safetensors",
|
| 615 |
+
"model.language_model.layers.59.mlp.gate_proj.weight": "model-00013-of-00014.safetensors",
|
| 616 |
+
"model.language_model.layers.59.mlp.up_proj.weight": "model-00013-of-00014.safetensors",
|
| 617 |
+
"model.language_model.layers.59.post_attention_layernorm.weight": "model-00013-of-00014.safetensors",
|
| 618 |
+
"model.language_model.layers.59.self_attn.k_norm.weight": "model-00013-of-00014.safetensors",
|
| 619 |
+
"model.language_model.layers.59.self_attn.k_proj.weight": "model-00013-of-00014.safetensors",
|
| 620 |
+
"model.language_model.layers.59.self_attn.o_proj.weight": "model-00013-of-00014.safetensors",
|
| 621 |
+
"model.language_model.layers.59.self_attn.q_norm.weight": "model-00013-of-00014.safetensors",
|
| 622 |
+
"model.language_model.layers.59.self_attn.q_proj.weight": "model-00013-of-00014.safetensors",
|
| 623 |
+
"model.language_model.layers.59.self_attn.v_proj.weight": "model-00013-of-00014.safetensors",
|
| 624 |
+
"model.language_model.layers.6.input_layernorm.weight": "model-00002-of-00014.safetensors",
|
| 625 |
+
"model.language_model.layers.6.mlp.down_proj.weight": "model-00002-of-00014.safetensors",
|
| 626 |
+
"model.language_model.layers.6.mlp.gate_proj.weight": "model-00002-of-00014.safetensors",
|
| 627 |
+
"model.language_model.layers.6.mlp.up_proj.weight": "model-00002-of-00014.safetensors",
|
| 628 |
+
"model.language_model.layers.6.post_attention_layernorm.weight": "model-00002-of-00014.safetensors",
|
| 629 |
+
"model.language_model.layers.6.self_attn.k_norm.weight": "model-00002-of-00014.safetensors",
|
| 630 |
+
"model.language_model.layers.6.self_attn.k_proj.weight": "model-00002-of-00014.safetensors",
|
| 631 |
+
"model.language_model.layers.6.self_attn.o_proj.weight": "model-00002-of-00014.safetensors",
|
| 632 |
+
"model.language_model.layers.6.self_attn.q_norm.weight": "model-00002-of-00014.safetensors",
|
| 633 |
+
"model.language_model.layers.6.self_attn.q_proj.weight": "model-00002-of-00014.safetensors",
|
| 634 |
+
"model.language_model.layers.6.self_attn.v_proj.weight": "model-00002-of-00014.safetensors",
|
| 635 |
+
"model.language_model.layers.60.input_layernorm.weight": "model-00013-of-00014.safetensors",
|
| 636 |
+
"model.language_model.layers.60.mlp.down_proj.weight": "model-00013-of-00014.safetensors",
|
| 637 |
+
"model.language_model.layers.60.mlp.gate_proj.weight": "model-00013-of-00014.safetensors",
|
| 638 |
+
"model.language_model.layers.60.mlp.up_proj.weight": "model-00013-of-00014.safetensors",
|
| 639 |
+
"model.language_model.layers.60.post_attention_layernorm.weight": "model-00013-of-00014.safetensors",
|
| 640 |
+
"model.language_model.layers.60.self_attn.k_norm.weight": "model-00013-of-00014.safetensors",
|
| 641 |
+
"model.language_model.layers.60.self_attn.k_proj.weight": "model-00013-of-00014.safetensors",
|
| 642 |
+
"model.language_model.layers.60.self_attn.o_proj.weight": "model-00013-of-00014.safetensors",
|
| 643 |
+
"model.language_model.layers.60.self_attn.q_norm.weight": "model-00013-of-00014.safetensors",
|
| 644 |
+
"model.language_model.layers.60.self_attn.q_proj.weight": "model-00013-of-00014.safetensors",
|
| 645 |
+
"model.language_model.layers.60.self_attn.v_proj.weight": "model-00013-of-00014.safetensors",
|
| 646 |
+
"model.language_model.layers.61.input_layernorm.weight": "model-00013-of-00014.safetensors",
|
| 647 |
+
"model.language_model.layers.61.mlp.down_proj.weight": "model-00013-of-00014.safetensors",
|
| 648 |
+
"model.language_model.layers.61.mlp.gate_proj.weight": "model-00013-of-00014.safetensors",
|
| 649 |
+
"model.language_model.layers.61.mlp.up_proj.weight": "model-00013-of-00014.safetensors",
|
| 650 |
+
"model.language_model.layers.61.post_attention_layernorm.weight": "model-00013-of-00014.safetensors",
|
| 651 |
+
"model.language_model.layers.61.self_attn.k_norm.weight": "model-00013-of-00014.safetensors",
|
| 652 |
+
"model.language_model.layers.61.self_attn.k_proj.weight": "model-00013-of-00014.safetensors",
|
| 653 |
+
"model.language_model.layers.61.self_attn.o_proj.weight": "model-00013-of-00014.safetensors",
|
| 654 |
+
"model.language_model.layers.61.self_attn.q_norm.weight": "model-00013-of-00014.safetensors",
|
| 655 |
+
"model.language_model.layers.61.self_attn.q_proj.weight": "model-00013-of-00014.safetensors",
|
| 656 |
+
"model.language_model.layers.61.self_attn.v_proj.weight": "model-00013-of-00014.safetensors",
|
| 657 |
+
"model.language_model.layers.62.input_layernorm.weight": "model-00013-of-00014.safetensors",
|
| 658 |
+
"model.language_model.layers.62.mlp.down_proj.weight": "model-00013-of-00014.safetensors",
|
| 659 |
+
"model.language_model.layers.62.mlp.gate_proj.weight": "model-00013-of-00014.safetensors",
|
| 660 |
+
"model.language_model.layers.62.mlp.up_proj.weight": "model-00013-of-00014.safetensors",
|
| 661 |
+
"model.language_model.layers.62.post_attention_layernorm.weight": "model-00013-of-00014.safetensors",
|
| 662 |
+
"model.language_model.layers.62.self_attn.k_norm.weight": "model-00013-of-00014.safetensors",
|
| 663 |
+
"model.language_model.layers.62.self_attn.k_proj.weight": "model-00013-of-00014.safetensors",
|
| 664 |
+
"model.language_model.layers.62.self_attn.o_proj.weight": "model-00013-of-00014.safetensors",
|
| 665 |
+
"model.language_model.layers.62.self_attn.q_norm.weight": "model-00013-of-00014.safetensors",
|
| 666 |
+
"model.language_model.layers.62.self_attn.q_proj.weight": "model-00013-of-00014.safetensors",
|
| 667 |
+
"model.language_model.layers.62.self_attn.v_proj.weight": "model-00013-of-00014.safetensors",
|
| 668 |
+
"model.language_model.layers.63.input_layernorm.weight": "model-00013-of-00014.safetensors",
|
| 669 |
+
"model.language_model.layers.63.mlp.down_proj.weight": "model-00014-of-00014.safetensors",
|
| 670 |
+
"model.language_model.layers.63.mlp.gate_proj.weight": "model-00013-of-00014.safetensors",
|
| 671 |
+
"model.language_model.layers.63.mlp.up_proj.weight": "model-00014-of-00014.safetensors",
|
| 672 |
+
"model.language_model.layers.63.post_attention_layernorm.weight": "model-00013-of-00014.safetensors",
|
| 673 |
+
"model.language_model.layers.63.self_attn.k_norm.weight": "model-00013-of-00014.safetensors",
|
| 674 |
+
"model.language_model.layers.63.self_attn.k_proj.weight": "model-00013-of-00014.safetensors",
|
| 675 |
+
"model.language_model.layers.63.self_attn.o_proj.weight": "model-00013-of-00014.safetensors",
|
| 676 |
+
"model.language_model.layers.63.self_attn.q_norm.weight": "model-00013-of-00014.safetensors",
|
| 677 |
+
"model.language_model.layers.63.self_attn.q_proj.weight": "model-00013-of-00014.safetensors",
|
| 678 |
+
"model.language_model.layers.63.self_attn.v_proj.weight": "model-00013-of-00014.safetensors",
|
| 679 |
+
"model.language_model.layers.7.input_layernorm.weight": "model-00002-of-00014.safetensors",
|
| 680 |
+
"model.language_model.layers.7.mlp.down_proj.weight": "model-00002-of-00014.safetensors",
|
| 681 |
+
"model.language_model.layers.7.mlp.gate_proj.weight": "model-00002-of-00014.safetensors",
|
| 682 |
+
"model.language_model.layers.7.mlp.up_proj.weight": "model-00002-of-00014.safetensors",
|
| 683 |
+
"model.language_model.layers.7.post_attention_layernorm.weight": "model-00002-of-00014.safetensors",
|
| 684 |
+
"model.language_model.layers.7.self_attn.k_norm.weight": "model-00002-of-00014.safetensors",
|
| 685 |
+
"model.language_model.layers.7.self_attn.k_proj.weight": "model-00002-of-00014.safetensors",
|
| 686 |
+
"model.language_model.layers.7.self_attn.o_proj.weight": "model-00002-of-00014.safetensors",
|
| 687 |
+
"model.language_model.layers.7.self_attn.q_norm.weight": "model-00002-of-00014.safetensors",
|
| 688 |
+
"model.language_model.layers.7.self_attn.q_proj.weight": "model-00002-of-00014.safetensors",
|
| 689 |
+
"model.language_model.layers.7.self_attn.v_proj.weight": "model-00002-of-00014.safetensors",
|
| 690 |
+
"model.language_model.layers.8.input_layernorm.weight": "model-00002-of-00014.safetensors",
|
| 691 |
+
"model.language_model.layers.8.mlp.down_proj.weight": "model-00003-of-00014.safetensors",
|
| 692 |
+
"model.language_model.layers.8.mlp.gate_proj.weight": "model-00002-of-00014.safetensors",
|
| 693 |
+
"model.language_model.layers.8.mlp.up_proj.weight": "model-00003-of-00014.safetensors",
|
| 694 |
+
"model.language_model.layers.8.post_attention_layernorm.weight": "model-00002-of-00014.safetensors",
|
| 695 |
+
"model.language_model.layers.8.self_attn.k_norm.weight": "model-00002-of-00014.safetensors",
|
| 696 |
+
"model.language_model.layers.8.self_attn.k_proj.weight": "model-00002-of-00014.safetensors",
|
| 697 |
+
"model.language_model.layers.8.self_attn.o_proj.weight": "model-00002-of-00014.safetensors",
|
| 698 |
+
"model.language_model.layers.8.self_attn.q_norm.weight": "model-00002-of-00014.safetensors",
|
| 699 |
+
"model.language_model.layers.8.self_attn.q_proj.weight": "model-00002-of-00014.safetensors",
|
| 700 |
+
"model.language_model.layers.8.self_attn.v_proj.weight": "model-00002-of-00014.safetensors",
|
| 701 |
+
"model.language_model.layers.9.input_layernorm.weight": "model-00003-of-00014.safetensors",
|
| 702 |
+
"model.language_model.layers.9.mlp.down_proj.weight": "model-00003-of-00014.safetensors",
|
| 703 |
+
"model.language_model.layers.9.mlp.gate_proj.weight": "model-00003-of-00014.safetensors",
|
| 704 |
+
"model.language_model.layers.9.mlp.up_proj.weight": "model-00003-of-00014.safetensors",
|
| 705 |
+
"model.language_model.layers.9.post_attention_layernorm.weight": "model-00003-of-00014.safetensors",
|
| 706 |
+
"model.language_model.layers.9.self_attn.k_norm.weight": "model-00003-of-00014.safetensors",
|
| 707 |
+
"model.language_model.layers.9.self_attn.k_proj.weight": "model-00003-of-00014.safetensors",
|
| 708 |
+
"model.language_model.layers.9.self_attn.o_proj.weight": "model-00003-of-00014.safetensors",
|
| 709 |
+
"model.language_model.layers.9.self_attn.q_norm.weight": "model-00003-of-00014.safetensors",
|
| 710 |
+
"model.language_model.layers.9.self_attn.q_proj.weight": "model-00003-of-00014.safetensors",
|
| 711 |
+
"model.language_model.layers.9.self_attn.v_proj.weight": "model-00003-of-00014.safetensors",
|
| 712 |
+
"model.language_model.norm.weight": "model-00014-of-00014.safetensors",
|
| 713 |
+
"model.visual.blocks.0.attn.proj.bias": "model-00014-of-00014.safetensors",
|
| 714 |
+
"model.visual.blocks.0.attn.proj.weight": "model-00014-of-00014.safetensors",
|
| 715 |
+
"model.visual.blocks.0.attn.qkv.bias": "model-00014-of-00014.safetensors",
|
| 716 |
+
"model.visual.blocks.0.attn.qkv.weight": "model-00014-of-00014.safetensors",
|
| 717 |
+
"model.visual.blocks.0.mlp.linear_fc1.bias": "model-00014-of-00014.safetensors",
|
| 718 |
+
"model.visual.blocks.0.mlp.linear_fc1.weight": "model-00014-of-00014.safetensors",
|
| 719 |
+
"model.visual.blocks.0.mlp.linear_fc2.bias": "model-00014-of-00014.safetensors",
|
| 720 |
+
"model.visual.blocks.0.mlp.linear_fc2.weight": "model-00014-of-00014.safetensors",
|
| 721 |
+
"model.visual.blocks.0.norm1.bias": "model-00014-of-00014.safetensors",
|
| 722 |
+
"model.visual.blocks.0.norm1.weight": "model-00014-of-00014.safetensors",
|
| 723 |
+
"model.visual.blocks.0.norm2.bias": "model-00014-of-00014.safetensors",
|
| 724 |
+
"model.visual.blocks.0.norm2.weight": "model-00014-of-00014.safetensors",
|
| 725 |
+
"model.visual.blocks.1.attn.proj.bias": "model-00014-of-00014.safetensors",
|
| 726 |
+
"model.visual.blocks.1.attn.proj.weight": "model-00014-of-00014.safetensors",
|
| 727 |
+
"model.visual.blocks.1.attn.qkv.bias": "model-00014-of-00014.safetensors",
|
| 728 |
+
"model.visual.blocks.1.attn.qkv.weight": "model-00014-of-00014.safetensors",
|
| 729 |
+
"model.visual.blocks.1.mlp.linear_fc1.bias": "model-00014-of-00014.safetensors",
|
| 730 |
+
"model.visual.blocks.1.mlp.linear_fc1.weight": "model-00014-of-00014.safetensors",
|
| 731 |
+
"model.visual.blocks.1.mlp.linear_fc2.bias": "model-00014-of-00014.safetensors",
|
| 732 |
+
"model.visual.blocks.1.mlp.linear_fc2.weight": "model-00014-of-00014.safetensors",
|
| 733 |
+
"model.visual.blocks.1.norm1.bias": "model-00014-of-00014.safetensors",
|
| 734 |
+
"model.visual.blocks.1.norm1.weight": "model-00014-of-00014.safetensors",
|
| 735 |
+
"model.visual.blocks.1.norm2.bias": "model-00014-of-00014.safetensors",
|
| 736 |
+
"model.visual.blocks.1.norm2.weight": "model-00014-of-00014.safetensors",
|
| 737 |
+
"model.visual.blocks.10.attn.proj.bias": "model-00014-of-00014.safetensors",
|
| 738 |
+
"model.visual.blocks.10.attn.proj.weight": "model-00014-of-00014.safetensors",
|
| 739 |
+
"model.visual.blocks.10.attn.qkv.bias": "model-00014-of-00014.safetensors",
|
| 740 |
+
"model.visual.blocks.10.attn.qkv.weight": "model-00014-of-00014.safetensors",
|
| 741 |
+
"model.visual.blocks.10.mlp.linear_fc1.bias": "model-00014-of-00014.safetensors",
|
| 742 |
+
"model.visual.blocks.10.mlp.linear_fc1.weight": "model-00014-of-00014.safetensors",
|
| 743 |
+
"model.visual.blocks.10.mlp.linear_fc2.bias": "model-00014-of-00014.safetensors",
|
| 744 |
+
"model.visual.blocks.10.mlp.linear_fc2.weight": "model-00014-of-00014.safetensors",
|
| 745 |
+
"model.visual.blocks.10.norm1.bias": "model-00014-of-00014.safetensors",
|
| 746 |
+
"model.visual.blocks.10.norm1.weight": "model-00014-of-00014.safetensors",
|
| 747 |
+
"model.visual.blocks.10.norm2.bias": "model-00014-of-00014.safetensors",
|
| 748 |
+
"model.visual.blocks.10.norm2.weight": "model-00014-of-00014.safetensors",
|
| 749 |
+
"model.visual.blocks.11.attn.proj.bias": "model-00014-of-00014.safetensors",
|
| 750 |
+
"model.visual.blocks.11.attn.proj.weight": "model-00014-of-00014.safetensors",
|
| 751 |
+
"model.visual.blocks.11.attn.qkv.bias": "model-00014-of-00014.safetensors",
|
| 752 |
+
"model.visual.blocks.11.attn.qkv.weight": "model-00014-of-00014.safetensors",
|
| 753 |
+
"model.visual.blocks.11.mlp.linear_fc1.bias": "model-00014-of-00014.safetensors",
|
| 754 |
+
"model.visual.blocks.11.mlp.linear_fc1.weight": "model-00014-of-00014.safetensors",
|
| 755 |
+
"model.visual.blocks.11.mlp.linear_fc2.bias": "model-00014-of-00014.safetensors",
|
| 756 |
+
"model.visual.blocks.11.mlp.linear_fc2.weight": "model-00014-of-00014.safetensors",
|
| 757 |
+
"model.visual.blocks.11.norm1.bias": "model-00014-of-00014.safetensors",
|
| 758 |
+
"model.visual.blocks.11.norm1.weight": "model-00014-of-00014.safetensors",
|
| 759 |
+
"model.visual.blocks.11.norm2.bias": "model-00014-of-00014.safetensors",
|
| 760 |
+
"model.visual.blocks.11.norm2.weight": "model-00014-of-00014.safetensors",
|
| 761 |
+
"model.visual.blocks.12.attn.proj.bias": "model-00014-of-00014.safetensors",
|
| 762 |
+
"model.visual.blocks.12.attn.proj.weight": "model-00014-of-00014.safetensors",
|
| 763 |
+
"model.visual.blocks.12.attn.qkv.bias": "model-00014-of-00014.safetensors",
|
| 764 |
+
"model.visual.blocks.12.attn.qkv.weight": "model-00014-of-00014.safetensors",
|
| 765 |
+
"model.visual.blocks.12.mlp.linear_fc1.bias": "model-00014-of-00014.safetensors",
|
| 766 |
+
"model.visual.blocks.12.mlp.linear_fc1.weight": "model-00014-of-00014.safetensors",
|
| 767 |
+
"model.visual.blocks.12.mlp.linear_fc2.bias": "model-00014-of-00014.safetensors",
|
| 768 |
+
"model.visual.blocks.12.mlp.linear_fc2.weight": "model-00014-of-00014.safetensors",
|
| 769 |
+
"model.visual.blocks.12.norm1.bias": "model-00014-of-00014.safetensors",
|
| 770 |
+
"model.visual.blocks.12.norm1.weight": "model-00014-of-00014.safetensors",
|
| 771 |
+
"model.visual.blocks.12.norm2.bias": "model-00014-of-00014.safetensors",
|
| 772 |
+
"model.visual.blocks.12.norm2.weight": "model-00014-of-00014.safetensors",
|
| 773 |
+
"model.visual.blocks.13.attn.proj.bias": "model-00014-of-00014.safetensors",
|
| 774 |
+
"model.visual.blocks.13.attn.proj.weight": "model-00014-of-00014.safetensors",
|
| 775 |
+
"model.visual.blocks.13.attn.qkv.bias": "model-00014-of-00014.safetensors",
|
| 776 |
+
"model.visual.blocks.13.attn.qkv.weight": "model-00014-of-00014.safetensors",
|
| 777 |
+
"model.visual.blocks.13.mlp.linear_fc1.bias": "model-00014-of-00014.safetensors",
|
| 778 |
+
"model.visual.blocks.13.mlp.linear_fc1.weight": "model-00014-of-00014.safetensors",
|
| 779 |
+
"model.visual.blocks.13.mlp.linear_fc2.bias": "model-00014-of-00014.safetensors",
|
| 780 |
+
"model.visual.blocks.13.mlp.linear_fc2.weight": "model-00014-of-00014.safetensors",
|
| 781 |
+
"model.visual.blocks.13.norm1.bias": "model-00014-of-00014.safetensors",
|
| 782 |
+
"model.visual.blocks.13.norm1.weight": "model-00014-of-00014.safetensors",
|
| 783 |
+
"model.visual.blocks.13.norm2.bias": "model-00014-of-00014.safetensors",
|
| 784 |
+
"model.visual.blocks.13.norm2.weight": "model-00014-of-00014.safetensors",
|
| 785 |
+
"model.visual.blocks.14.attn.proj.bias": "model-00014-of-00014.safetensors",
|
| 786 |
+
"model.visual.blocks.14.attn.proj.weight": "model-00014-of-00014.safetensors",
|
| 787 |
+
"model.visual.blocks.14.attn.qkv.bias": "model-00014-of-00014.safetensors",
|
| 788 |
+
"model.visual.blocks.14.attn.qkv.weight": "model-00014-of-00014.safetensors",
|
| 789 |
+
"model.visual.blocks.14.mlp.linear_fc1.bias": "model-00014-of-00014.safetensors",
|
| 790 |
+
"model.visual.blocks.14.mlp.linear_fc1.weight": "model-00014-of-00014.safetensors",
|
| 791 |
+
"model.visual.blocks.14.mlp.linear_fc2.bias": "model-00014-of-00014.safetensors",
|
| 792 |
+
"model.visual.blocks.14.mlp.linear_fc2.weight": "model-00014-of-00014.safetensors",
|
| 793 |
+
"model.visual.blocks.14.norm1.bias": "model-00014-of-00014.safetensors",
|
| 794 |
+
"model.visual.blocks.14.norm1.weight": "model-00014-of-00014.safetensors",
|
| 795 |
+
"model.visual.blocks.14.norm2.bias": "model-00014-of-00014.safetensors",
|
| 796 |
+
"model.visual.blocks.14.norm2.weight": "model-00014-of-00014.safetensors",
|
| 797 |
+
"model.visual.blocks.15.attn.proj.bias": "model-00014-of-00014.safetensors",
|
| 798 |
+
"model.visual.blocks.15.attn.proj.weight": "model-00014-of-00014.safetensors",
|
| 799 |
+
"model.visual.blocks.15.attn.qkv.bias": "model-00014-of-00014.safetensors",
|
| 800 |
+
"model.visual.blocks.15.attn.qkv.weight": "model-00014-of-00014.safetensors",
|
| 801 |
+
"model.visual.blocks.15.mlp.linear_fc1.bias": "model-00014-of-00014.safetensors",
|
| 802 |
+
"model.visual.blocks.15.mlp.linear_fc1.weight": "model-00014-of-00014.safetensors",
|
| 803 |
+
"model.visual.blocks.15.mlp.linear_fc2.bias": "model-00014-of-00014.safetensors",
|
| 804 |
+
"model.visual.blocks.15.mlp.linear_fc2.weight": "model-00014-of-00014.safetensors",
|
| 805 |
+
"model.visual.blocks.15.norm1.bias": "model-00014-of-00014.safetensors",
|
| 806 |
+
"model.visual.blocks.15.norm1.weight": "model-00014-of-00014.safetensors",
|
| 807 |
+
"model.visual.blocks.15.norm2.bias": "model-00014-of-00014.safetensors",
|
| 808 |
+
"model.visual.blocks.15.norm2.weight": "model-00014-of-00014.safetensors",
|
| 809 |
+
"model.visual.blocks.16.attn.proj.bias": "model-00014-of-00014.safetensors",
|
| 810 |
+
"model.visual.blocks.16.attn.proj.weight": "model-00014-of-00014.safetensors",
|
| 811 |
+
"model.visual.blocks.16.attn.qkv.bias": "model-00014-of-00014.safetensors",
|
| 812 |
+
"model.visual.blocks.16.attn.qkv.weight": "model-00014-of-00014.safetensors",
|
| 813 |
+
"model.visual.blocks.16.mlp.linear_fc1.bias": "model-00014-of-00014.safetensors",
|
| 814 |
+
"model.visual.blocks.16.mlp.linear_fc1.weight": "model-00014-of-00014.safetensors",
|
| 815 |
+
"model.visual.blocks.16.mlp.linear_fc2.bias": "model-00014-of-00014.safetensors",
|
| 816 |
+
"model.visual.blocks.16.mlp.linear_fc2.weight": "model-00014-of-00014.safetensors",
|
| 817 |
+
"model.visual.blocks.16.norm1.bias": "model-00014-of-00014.safetensors",
|
| 818 |
+
"model.visual.blocks.16.norm1.weight": "model-00014-of-00014.safetensors",
|
| 819 |
+
"model.visual.blocks.16.norm2.bias": "model-00014-of-00014.safetensors",
|
| 820 |
+
"model.visual.blocks.16.norm2.weight": "model-00014-of-00014.safetensors",
|
| 821 |
+
"model.visual.blocks.17.attn.proj.bias": "model-00014-of-00014.safetensors",
|
| 822 |
+
"model.visual.blocks.17.attn.proj.weight": "model-00014-of-00014.safetensors",
|
| 823 |
+
"model.visual.blocks.17.attn.qkv.bias": "model-00014-of-00014.safetensors",
|
| 824 |
+
"model.visual.blocks.17.attn.qkv.weight": "model-00014-of-00014.safetensors",
|
| 825 |
+
"model.visual.blocks.17.mlp.linear_fc1.bias": "model-00014-of-00014.safetensors",
|
| 826 |
+
"model.visual.blocks.17.mlp.linear_fc1.weight": "model-00014-of-00014.safetensors",
|
| 827 |
+
"model.visual.blocks.17.mlp.linear_fc2.bias": "model-00014-of-00014.safetensors",
|
| 828 |
+
"model.visual.blocks.17.mlp.linear_fc2.weight": "model-00014-of-00014.safetensors",
|
| 829 |
+
"model.visual.blocks.17.norm1.bias": "model-00014-of-00014.safetensors",
|
| 830 |
+
"model.visual.blocks.17.norm1.weight": "model-00014-of-00014.safetensors",
|
| 831 |
+
"model.visual.blocks.17.norm2.bias": "model-00014-of-00014.safetensors",
|
| 832 |
+
"model.visual.blocks.17.norm2.weight": "model-00014-of-00014.safetensors",
|
| 833 |
+
"model.visual.blocks.18.attn.proj.bias": "model-00014-of-00014.safetensors",
|
| 834 |
+
"model.visual.blocks.18.attn.proj.weight": "model-00014-of-00014.safetensors",
|
| 835 |
+
"model.visual.blocks.18.attn.qkv.bias": "model-00014-of-00014.safetensors",
|
| 836 |
+
"model.visual.blocks.18.attn.qkv.weight": "model-00014-of-00014.safetensors",
|
| 837 |
+
"model.visual.blocks.18.mlp.linear_fc1.bias": "model-00014-of-00014.safetensors",
|
| 838 |
+
"model.visual.blocks.18.mlp.linear_fc1.weight": "model-00014-of-00014.safetensors",
|
| 839 |
+
"model.visual.blocks.18.mlp.linear_fc2.bias": "model-00014-of-00014.safetensors",
|
| 840 |
+
"model.visual.blocks.18.mlp.linear_fc2.weight": "model-00014-of-00014.safetensors",
|
| 841 |
+
"model.visual.blocks.18.norm1.bias": "model-00014-of-00014.safetensors",
|
| 842 |
+
"model.visual.blocks.18.norm1.weight": "model-00014-of-00014.safetensors",
|
| 843 |
+
"model.visual.blocks.18.norm2.bias": "model-00014-of-00014.safetensors",
|
| 844 |
+
"model.visual.blocks.18.norm2.weight": "model-00014-of-00014.safetensors",
|
| 845 |
+
"model.visual.blocks.19.attn.proj.bias": "model-00014-of-00014.safetensors",
|
| 846 |
+
"model.visual.blocks.19.attn.proj.weight": "model-00014-of-00014.safetensors",
|
| 847 |
+
"model.visual.blocks.19.attn.qkv.bias": "model-00014-of-00014.safetensors",
|
| 848 |
+
"model.visual.blocks.19.attn.qkv.weight": "model-00014-of-00014.safetensors",
|
| 849 |
+
"model.visual.blocks.19.mlp.linear_fc1.bias": "model-00014-of-00014.safetensors",
|
| 850 |
+
"model.visual.blocks.19.mlp.linear_fc1.weight": "model-00014-of-00014.safetensors",
|
| 851 |
+
"model.visual.blocks.19.mlp.linear_fc2.bias": "model-00014-of-00014.safetensors",
|
| 852 |
+
"model.visual.blocks.19.mlp.linear_fc2.weight": "model-00014-of-00014.safetensors",
|
| 853 |
+
"model.visual.blocks.19.norm1.bias": "model-00014-of-00014.safetensors",
|
| 854 |
+
"model.visual.blocks.19.norm1.weight": "model-00014-of-00014.safetensors",
|
| 855 |
+
"model.visual.blocks.19.norm2.bias": "model-00014-of-00014.safetensors",
|
| 856 |
+
"model.visual.blocks.19.norm2.weight": "model-00014-of-00014.safetensors",
|
| 857 |
+
"model.visual.blocks.2.attn.proj.bias": "model-00014-of-00014.safetensors",
|
| 858 |
+
"model.visual.blocks.2.attn.proj.weight": "model-00014-of-00014.safetensors",
|
| 859 |
+
"model.visual.blocks.2.attn.qkv.bias": "model-00014-of-00014.safetensors",
|
| 860 |
+
"model.visual.blocks.2.attn.qkv.weight": "model-00014-of-00014.safetensors",
|
| 861 |
+
"model.visual.blocks.2.mlp.linear_fc1.bias": "model-00014-of-00014.safetensors",
|
| 862 |
+
"model.visual.blocks.2.mlp.linear_fc1.weight": "model-00014-of-00014.safetensors",
|
| 863 |
+
"model.visual.blocks.2.mlp.linear_fc2.bias": "model-00014-of-00014.safetensors",
|
| 864 |
+
"model.visual.blocks.2.mlp.linear_fc2.weight": "model-00014-of-00014.safetensors",
|
| 865 |
+
"model.visual.blocks.2.norm1.bias": "model-00014-of-00014.safetensors",
|
| 866 |
+
"model.visual.blocks.2.norm1.weight": "model-00014-of-00014.safetensors",
|
| 867 |
+
"model.visual.blocks.2.norm2.bias": "model-00014-of-00014.safetensors",
|
| 868 |
+
"model.visual.blocks.2.norm2.weight": "model-00014-of-00014.safetensors",
|
| 869 |
+
"model.visual.blocks.20.attn.proj.bias": "model-00014-of-00014.safetensors",
|
| 870 |
+
"model.visual.blocks.20.attn.proj.weight": "model-00014-of-00014.safetensors",
|
| 871 |
+
"model.visual.blocks.20.attn.qkv.bias": "model-00014-of-00014.safetensors",
|
| 872 |
+
"model.visual.blocks.20.attn.qkv.weight": "model-00014-of-00014.safetensors",
|
| 873 |
+
"model.visual.blocks.20.mlp.linear_fc1.bias": "model-00014-of-00014.safetensors",
|
| 874 |
+
"model.visual.blocks.20.mlp.linear_fc1.weight": "model-00014-of-00014.safetensors",
|
| 875 |
+
"model.visual.blocks.20.mlp.linear_fc2.bias": "model-00014-of-00014.safetensors",
|
| 876 |
+
"model.visual.blocks.20.mlp.linear_fc2.weight": "model-00014-of-00014.safetensors",
|
| 877 |
+
"model.visual.blocks.20.norm1.bias": "model-00014-of-00014.safetensors",
|
| 878 |
+
"model.visual.blocks.20.norm1.weight": "model-00014-of-00014.safetensors",
|
| 879 |
+
"model.visual.blocks.20.norm2.bias": "model-00014-of-00014.safetensors",
|
| 880 |
+
"model.visual.blocks.20.norm2.weight": "model-00014-of-00014.safetensors",
|
| 881 |
+
"model.visual.blocks.21.attn.proj.bias": "model-00014-of-00014.safetensors",
|
| 882 |
+
"model.visual.blocks.21.attn.proj.weight": "model-00014-of-00014.safetensors",
|
| 883 |
+
"model.visual.blocks.21.attn.qkv.bias": "model-00014-of-00014.safetensors",
|
| 884 |
+
"model.visual.blocks.21.attn.qkv.weight": "model-00014-of-00014.safetensors",
|
| 885 |
+
"model.visual.blocks.21.mlp.linear_fc1.bias": "model-00014-of-00014.safetensors",
|
| 886 |
+
"model.visual.blocks.21.mlp.linear_fc1.weight": "model-00014-of-00014.safetensors",
|
| 887 |
+
"model.visual.blocks.21.mlp.linear_fc2.bias": "model-00014-of-00014.safetensors",
|
| 888 |
+
"model.visual.blocks.21.mlp.linear_fc2.weight": "model-00014-of-00014.safetensors",
|
| 889 |
+
"model.visual.blocks.21.norm1.bias": "model-00014-of-00014.safetensors",
|
| 890 |
+
"model.visual.blocks.21.norm1.weight": "model-00014-of-00014.safetensors",
|
| 891 |
+
"model.visual.blocks.21.norm2.bias": "model-00014-of-00014.safetensors",
|
| 892 |
+
"model.visual.blocks.21.norm2.weight": "model-00014-of-00014.safetensors",
|
| 893 |
+
"model.visual.blocks.22.attn.proj.bias": "model-00014-of-00014.safetensors",
|
| 894 |
+
"model.visual.blocks.22.attn.proj.weight": "model-00014-of-00014.safetensors",
|
| 895 |
+
"model.visual.blocks.22.attn.qkv.bias": "model-00014-of-00014.safetensors",
|
| 896 |
+
"model.visual.blocks.22.attn.qkv.weight": "model-00014-of-00014.safetensors",
|
| 897 |
+
"model.visual.blocks.22.mlp.linear_fc1.bias": "model-00014-of-00014.safetensors",
|
| 898 |
+
"model.visual.blocks.22.mlp.linear_fc1.weight": "model-00014-of-00014.safetensors",
|
| 899 |
+
"model.visual.blocks.22.mlp.linear_fc2.bias": "model-00014-of-00014.safetensors",
|
| 900 |
+
"model.visual.blocks.22.mlp.linear_fc2.weight": "model-00014-of-00014.safetensors",
|
| 901 |
+
"model.visual.blocks.22.norm1.bias": "model-00014-of-00014.safetensors",
|
| 902 |
+
"model.visual.blocks.22.norm1.weight": "model-00014-of-00014.safetensors",
|
| 903 |
+
"model.visual.blocks.22.norm2.bias": "model-00014-of-00014.safetensors",
|
| 904 |
+
"model.visual.blocks.22.norm2.weight": "model-00014-of-00014.safetensors",
|
| 905 |
+
"model.visual.blocks.23.attn.proj.bias": "model-00014-of-00014.safetensors",
|
| 906 |
+
"model.visual.blocks.23.attn.proj.weight": "model-00014-of-00014.safetensors",
|
| 907 |
+
"model.visual.blocks.23.attn.qkv.bias": "model-00014-of-00014.safetensors",
|
| 908 |
+
"model.visual.blocks.23.attn.qkv.weight": "model-00014-of-00014.safetensors",
|
| 909 |
+
"model.visual.blocks.23.mlp.linear_fc1.bias": "model-00014-of-00014.safetensors",
|
| 910 |
+
"model.visual.blocks.23.mlp.linear_fc1.weight": "model-00014-of-00014.safetensors",
|
| 911 |
+
"model.visual.blocks.23.mlp.linear_fc2.bias": "model-00014-of-00014.safetensors",
|
| 912 |
+
"model.visual.blocks.23.mlp.linear_fc2.weight": "model-00014-of-00014.safetensors",
|
| 913 |
+
"model.visual.blocks.23.norm1.bias": "model-00014-of-00014.safetensors",
|
| 914 |
+
"model.visual.blocks.23.norm1.weight": "model-00014-of-00014.safetensors",
|
| 915 |
+
"model.visual.blocks.23.norm2.bias": "model-00014-of-00014.safetensors",
|
| 916 |
+
"model.visual.blocks.23.norm2.weight": "model-00014-of-00014.safetensors",
|
| 917 |
+
"model.visual.blocks.24.attn.proj.bias": "model-00014-of-00014.safetensors",
|
| 918 |
+
"model.visual.blocks.24.attn.proj.weight": "model-00014-of-00014.safetensors",
|
| 919 |
+
"model.visual.blocks.24.attn.qkv.bias": "model-00014-of-00014.safetensors",
|
| 920 |
+
"model.visual.blocks.24.attn.qkv.weight": "model-00014-of-00014.safetensors",
|
| 921 |
+
"model.visual.blocks.24.mlp.linear_fc1.bias": "model-00014-of-00014.safetensors",
|
| 922 |
+
"model.visual.blocks.24.mlp.linear_fc1.weight": "model-00014-of-00014.safetensors",
|
| 923 |
+
"model.visual.blocks.24.mlp.linear_fc2.bias": "model-00014-of-00014.safetensors",
|
| 924 |
+
"model.visual.blocks.24.mlp.linear_fc2.weight": "model-00014-of-00014.safetensors",
|
| 925 |
+
"model.visual.blocks.24.norm1.bias": "model-00014-of-00014.safetensors",
|
| 926 |
+
"model.visual.blocks.24.norm1.weight": "model-00014-of-00014.safetensors",
|
| 927 |
+
"model.visual.blocks.24.norm2.bias": "model-00014-of-00014.safetensors",
|
| 928 |
+
"model.visual.blocks.24.norm2.weight": "model-00014-of-00014.safetensors",
|
| 929 |
+
"model.visual.blocks.25.attn.proj.bias": "model-00014-of-00014.safetensors",
|
| 930 |
+
"model.visual.blocks.25.attn.proj.weight": "model-00014-of-00014.safetensors",
|
| 931 |
+
"model.visual.blocks.25.attn.qkv.bias": "model-00014-of-00014.safetensors",
|
| 932 |
+
"model.visual.blocks.25.attn.qkv.weight": "model-00014-of-00014.safetensors",
|
| 933 |
+
"model.visual.blocks.25.mlp.linear_fc1.bias": "model-00014-of-00014.safetensors",
|
| 934 |
+
"model.visual.blocks.25.mlp.linear_fc1.weight": "model-00014-of-00014.safetensors",
|
| 935 |
+
"model.visual.blocks.25.mlp.linear_fc2.bias": "model-00014-of-00014.safetensors",
|
| 936 |
+
"model.visual.blocks.25.mlp.linear_fc2.weight": "model-00014-of-00014.safetensors",
|
| 937 |
+
"model.visual.blocks.25.norm1.bias": "model-00014-of-00014.safetensors",
|
| 938 |
+
"model.visual.blocks.25.norm1.weight": "model-00014-of-00014.safetensors",
|
| 939 |
+
"model.visual.blocks.25.norm2.bias": "model-00014-of-00014.safetensors",
|
| 940 |
+
"model.visual.blocks.25.norm2.weight": "model-00014-of-00014.safetensors",
|
| 941 |
+
"model.visual.blocks.26.attn.proj.bias": "model-00014-of-00014.safetensors",
|
| 942 |
+
"model.visual.blocks.26.attn.proj.weight": "model-00014-of-00014.safetensors",
|
| 943 |
+
"model.visual.blocks.26.attn.qkv.bias": "model-00014-of-00014.safetensors",
|
| 944 |
+
"model.visual.blocks.26.attn.qkv.weight": "model-00014-of-00014.safetensors",
|
| 945 |
+
"model.visual.blocks.26.mlp.linear_fc1.bias": "model-00014-of-00014.safetensors",
|
| 946 |
+
"model.visual.blocks.26.mlp.linear_fc1.weight": "model-00014-of-00014.safetensors",
|
| 947 |
+
"model.visual.blocks.26.mlp.linear_fc2.bias": "model-00014-of-00014.safetensors",
|
| 948 |
+
"model.visual.blocks.26.mlp.linear_fc2.weight": "model-00014-of-00014.safetensors",
|
| 949 |
+
"model.visual.blocks.26.norm1.bias": "model-00014-of-00014.safetensors",
|
| 950 |
+
"model.visual.blocks.26.norm1.weight": "model-00014-of-00014.safetensors",
|
| 951 |
+
"model.visual.blocks.26.norm2.bias": "model-00014-of-00014.safetensors",
|
| 952 |
+
"model.visual.blocks.26.norm2.weight": "model-00014-of-00014.safetensors",
|
| 953 |
+
"model.visual.blocks.3.attn.proj.bias": "model-00014-of-00014.safetensors",
|
| 954 |
+
"model.visual.blocks.3.attn.proj.weight": "model-00014-of-00014.safetensors",
|
| 955 |
+
"model.visual.blocks.3.attn.qkv.bias": "model-00014-of-00014.safetensors",
|
| 956 |
+
"model.visual.blocks.3.attn.qkv.weight": "model-00014-of-00014.safetensors",
|
| 957 |
+
"model.visual.blocks.3.mlp.linear_fc1.bias": "model-00014-of-00014.safetensors",
|
| 958 |
+
"model.visual.blocks.3.mlp.linear_fc1.weight": "model-00014-of-00014.safetensors",
|
| 959 |
+
"model.visual.blocks.3.mlp.linear_fc2.bias": "model-00014-of-00014.safetensors",
|
| 960 |
+
"model.visual.blocks.3.mlp.linear_fc2.weight": "model-00014-of-00014.safetensors",
|
| 961 |
+
"model.visual.blocks.3.norm1.bias": "model-00014-of-00014.safetensors",
|
| 962 |
+
"model.visual.blocks.3.norm1.weight": "model-00014-of-00014.safetensors",
|
| 963 |
+
"model.visual.blocks.3.norm2.bias": "model-00014-of-00014.safetensors",
|
| 964 |
+
"model.visual.blocks.3.norm2.weight": "model-00014-of-00014.safetensors",
|
| 965 |
+
"model.visual.blocks.4.attn.proj.bias": "model-00014-of-00014.safetensors",
|
| 966 |
+
"model.visual.blocks.4.attn.proj.weight": "model-00014-of-00014.safetensors",
|
| 967 |
+
"model.visual.blocks.4.attn.qkv.bias": "model-00014-of-00014.safetensors",
|
| 968 |
+
"model.visual.blocks.4.attn.qkv.weight": "model-00014-of-00014.safetensors",
|
| 969 |
+
"model.visual.blocks.4.mlp.linear_fc1.bias": "model-00014-of-00014.safetensors",
|
| 970 |
+
"model.visual.blocks.4.mlp.linear_fc1.weight": "model-00014-of-00014.safetensors",
|
| 971 |
+
"model.visual.blocks.4.mlp.linear_fc2.bias": "model-00014-of-00014.safetensors",
|
| 972 |
+
"model.visual.blocks.4.mlp.linear_fc2.weight": "model-00014-of-00014.safetensors",
|
| 973 |
+
"model.visual.blocks.4.norm1.bias": "model-00014-of-00014.safetensors",
|
| 974 |
+
"model.visual.blocks.4.norm1.weight": "model-00014-of-00014.safetensors",
|
| 975 |
+
"model.visual.blocks.4.norm2.bias": "model-00014-of-00014.safetensors",
|
| 976 |
+
"model.visual.blocks.4.norm2.weight": "model-00014-of-00014.safetensors",
|
| 977 |
+
"model.visual.blocks.5.attn.proj.bias": "model-00014-of-00014.safetensors",
|
| 978 |
+
"model.visual.blocks.5.attn.proj.weight": "model-00014-of-00014.safetensors",
|
| 979 |
+
"model.visual.blocks.5.attn.qkv.bias": "model-00014-of-00014.safetensors",
|
| 980 |
+
"model.visual.blocks.5.attn.qkv.weight": "model-00014-of-00014.safetensors",
|
| 981 |
+
"model.visual.blocks.5.mlp.linear_fc1.bias": "model-00014-of-00014.safetensors",
|
| 982 |
+
"model.visual.blocks.5.mlp.linear_fc1.weight": "model-00014-of-00014.safetensors",
|
| 983 |
+
"model.visual.blocks.5.mlp.linear_fc2.bias": "model-00014-of-00014.safetensors",
|
| 984 |
+
"model.visual.blocks.5.mlp.linear_fc2.weight": "model-00014-of-00014.safetensors",
|
| 985 |
+
"model.visual.blocks.5.norm1.bias": "model-00014-of-00014.safetensors",
|
| 986 |
+
"model.visual.blocks.5.norm1.weight": "model-00014-of-00014.safetensors",
|
| 987 |
+
"model.visual.blocks.5.norm2.bias": "model-00014-of-00014.safetensors",
|
| 988 |
+
"model.visual.blocks.5.norm2.weight": "model-00014-of-00014.safetensors",
|
| 989 |
+
"model.visual.blocks.6.attn.proj.bias": "model-00014-of-00014.safetensors",
|
| 990 |
+
"model.visual.blocks.6.attn.proj.weight": "model-00014-of-00014.safetensors",
|
| 991 |
+
"model.visual.blocks.6.attn.qkv.bias": "model-00014-of-00014.safetensors",
|
| 992 |
+
"model.visual.blocks.6.attn.qkv.weight": "model-00014-of-00014.safetensors",
|
| 993 |
+
"model.visual.blocks.6.mlp.linear_fc1.bias": "model-00014-of-00014.safetensors",
|
| 994 |
+
"model.visual.blocks.6.mlp.linear_fc1.weight": "model-00014-of-00014.safetensors",
|
| 995 |
+
"model.visual.blocks.6.mlp.linear_fc2.bias": "model-00014-of-00014.safetensors",
|
| 996 |
+
"model.visual.blocks.6.mlp.linear_fc2.weight": "model-00014-of-00014.safetensors",
|
| 997 |
+
"model.visual.blocks.6.norm1.bias": "model-00014-of-00014.safetensors",
|
| 998 |
+
"model.visual.blocks.6.norm1.weight": "model-00014-of-00014.safetensors",
|
| 999 |
+
"model.visual.blocks.6.norm2.bias": "model-00014-of-00014.safetensors",
|
| 1000 |
+
"model.visual.blocks.6.norm2.weight": "model-00014-of-00014.safetensors",
|
| 1001 |
+
"model.visual.blocks.7.attn.proj.bias": "model-00014-of-00014.safetensors",
|
| 1002 |
+
"model.visual.blocks.7.attn.proj.weight": "model-00014-of-00014.safetensors",
|
| 1003 |
+
"model.visual.blocks.7.attn.qkv.bias": "model-00014-of-00014.safetensors",
|
| 1004 |
+
"model.visual.blocks.7.attn.qkv.weight": "model-00014-of-00014.safetensors",
|
| 1005 |
+
"model.visual.blocks.7.mlp.linear_fc1.bias": "model-00014-of-00014.safetensors",
|
| 1006 |
+
"model.visual.blocks.7.mlp.linear_fc1.weight": "model-00014-of-00014.safetensors",
|
| 1007 |
+
"model.visual.blocks.7.mlp.linear_fc2.bias": "model-00014-of-00014.safetensors",
|
| 1008 |
+
"model.visual.blocks.7.mlp.linear_fc2.weight": "model-00014-of-00014.safetensors",
|
| 1009 |
+
"model.visual.blocks.7.norm1.bias": "model-00014-of-00014.safetensors",
|
| 1010 |
+
"model.visual.blocks.7.norm1.weight": "model-00014-of-00014.safetensors",
|
| 1011 |
+
"model.visual.blocks.7.norm2.bias": "model-00014-of-00014.safetensors",
|
| 1012 |
+
"model.visual.blocks.7.norm2.weight": "model-00014-of-00014.safetensors",
|
| 1013 |
+
"model.visual.blocks.8.attn.proj.bias": "model-00014-of-00014.safetensors",
|
| 1014 |
+
"model.visual.blocks.8.attn.proj.weight": "model-00014-of-00014.safetensors",
|
| 1015 |
+
"model.visual.blocks.8.attn.qkv.bias": "model-00014-of-00014.safetensors",
|
| 1016 |
+
"model.visual.blocks.8.attn.qkv.weight": "model-00014-of-00014.safetensors",
|
| 1017 |
+
"model.visual.blocks.8.mlp.linear_fc1.bias": "model-00014-of-00014.safetensors",
|
| 1018 |
+
"model.visual.blocks.8.mlp.linear_fc1.weight": "model-00014-of-00014.safetensors",
|
| 1019 |
+
"model.visual.blocks.8.mlp.linear_fc2.bias": "model-00014-of-00014.safetensors",
|
| 1020 |
+
"model.visual.blocks.8.mlp.linear_fc2.weight": "model-00014-of-00014.safetensors",
|
| 1021 |
+
"model.visual.blocks.8.norm1.bias": "model-00014-of-00014.safetensors",
|
| 1022 |
+
"model.visual.blocks.8.norm1.weight": "model-00014-of-00014.safetensors",
|
| 1023 |
+
"model.visual.blocks.8.norm2.bias": "model-00014-of-00014.safetensors",
|
| 1024 |
+
"model.visual.blocks.8.norm2.weight": "model-00014-of-00014.safetensors",
|
| 1025 |
+
"model.visual.blocks.9.attn.proj.bias": "model-00014-of-00014.safetensors",
|
| 1026 |
+
"model.visual.blocks.9.attn.proj.weight": "model-00014-of-00014.safetensors",
|
| 1027 |
+
"model.visual.blocks.9.attn.qkv.bias": "model-00014-of-00014.safetensors",
|
| 1028 |
+
"model.visual.blocks.9.attn.qkv.weight": "model-00014-of-00014.safetensors",
|
| 1029 |
+
"model.visual.blocks.9.mlp.linear_fc1.bias": "model-00014-of-00014.safetensors",
|
| 1030 |
+
"model.visual.blocks.9.mlp.linear_fc1.weight": "model-00014-of-00014.safetensors",
|
| 1031 |
+
"model.visual.blocks.9.mlp.linear_fc2.bias": "model-00014-of-00014.safetensors",
|
| 1032 |
+
"model.visual.blocks.9.mlp.linear_fc2.weight": "model-00014-of-00014.safetensors",
|
| 1033 |
+
"model.visual.blocks.9.norm1.bias": "model-00014-of-00014.safetensors",
|
| 1034 |
+
"model.visual.blocks.9.norm1.weight": "model-00014-of-00014.safetensors",
|
| 1035 |
+
"model.visual.blocks.9.norm2.bias": "model-00014-of-00014.safetensors",
|
| 1036 |
+
"model.visual.blocks.9.norm2.weight": "model-00014-of-00014.safetensors",
|
| 1037 |
+
"model.visual.deepstack_merger_list.0.linear_fc1.bias": "model-00014-of-00014.safetensors",
|
| 1038 |
+
"model.visual.deepstack_merger_list.0.linear_fc1.weight": "model-00014-of-00014.safetensors",
|
| 1039 |
+
"model.visual.deepstack_merger_list.0.linear_fc2.bias": "model-00014-of-00014.safetensors",
|
| 1040 |
+
"model.visual.deepstack_merger_list.0.linear_fc2.weight": "model-00014-of-00014.safetensors",
|
| 1041 |
+
"model.visual.deepstack_merger_list.0.norm.bias": "model-00014-of-00014.safetensors",
|
| 1042 |
+
"model.visual.deepstack_merger_list.0.norm.weight": "model-00014-of-00014.safetensors",
|
| 1043 |
+
"model.visual.deepstack_merger_list.1.linear_fc1.bias": "model-00014-of-00014.safetensors",
|
| 1044 |
+
"model.visual.deepstack_merger_list.1.linear_fc1.weight": "model-00014-of-00014.safetensors",
|
| 1045 |
+
"model.visual.deepstack_merger_list.1.linear_fc2.bias": "model-00014-of-00014.safetensors",
|
| 1046 |
+
"model.visual.deepstack_merger_list.1.linear_fc2.weight": "model-00014-of-00014.safetensors",
|
| 1047 |
+
"model.visual.deepstack_merger_list.1.norm.bias": "model-00014-of-00014.safetensors",
|
| 1048 |
+
"model.visual.deepstack_merger_list.1.norm.weight": "model-00014-of-00014.safetensors",
|
| 1049 |
+
"model.visual.deepstack_merger_list.2.linear_fc1.bias": "model-00014-of-00014.safetensors",
|
| 1050 |
+
"model.visual.deepstack_merger_list.2.linear_fc1.weight": "model-00014-of-00014.safetensors",
|
| 1051 |
+
"model.visual.deepstack_merger_list.2.linear_fc2.bias": "model-00014-of-00014.safetensors",
|
| 1052 |
+
"model.visual.deepstack_merger_list.2.linear_fc2.weight": "model-00014-of-00014.safetensors",
|
| 1053 |
+
"model.visual.deepstack_merger_list.2.norm.bias": "model-00014-of-00014.safetensors",
|
| 1054 |
+
"model.visual.deepstack_merger_list.2.norm.weight": "model-00014-of-00014.safetensors",
|
| 1055 |
+
"model.visual.merger.linear_fc1.bias": "model-00014-of-00014.safetensors",
|
| 1056 |
+
"model.visual.merger.linear_fc1.weight": "model-00014-of-00014.safetensors",
|
| 1057 |
+
"model.visual.merger.linear_fc2.bias": "model-00014-of-00014.safetensors",
|
| 1058 |
+
"model.visual.merger.linear_fc2.weight": "model-00014-of-00014.safetensors",
|
| 1059 |
+
"model.visual.merger.norm.bias": "model-00014-of-00014.safetensors",
|
| 1060 |
+
"model.visual.merger.norm.weight": "model-00014-of-00014.safetensors",
|
| 1061 |
+
"model.visual.patch_embed.proj.bias": "model-00014-of-00014.safetensors",
|
| 1062 |
+
"model.visual.patch_embed.proj.weight": "model-00014-of-00014.safetensors",
|
| 1063 |
+
"model.visual.pos_embed.weight": "model-00014-of-00014.safetensors"
|
| 1064 |
+
}
|
| 1065 |
+
}
|
FL2VA/text_encoder/preprocessor_config.json
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"size": {
|
| 3 |
+
"longest_edge": 16777216,
|
| 4 |
+
"shortest_edge": 65536
|
| 5 |
+
},
|
| 6 |
+
"patch_size": 16,
|
| 7 |
+
"temporal_patch_size": 2,
|
| 8 |
+
"merge_size": 2,
|
| 9 |
+
"image_mean": [
|
| 10 |
+
0.5,
|
| 11 |
+
0.5,
|
| 12 |
+
0.5
|
| 13 |
+
],
|
| 14 |
+
"image_std": [
|
| 15 |
+
0.5,
|
| 16 |
+
0.5,
|
| 17 |
+
0.5
|
| 18 |
+
],
|
| 19 |
+
"processor_class": "Qwen3VLProcessor",
|
| 20 |
+
"image_processor_type": "Qwen2VLImageProcessorFast"
|
| 21 |
+
}
|
FL2VA/text_encoder/tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
FL2VA/text_encoder/tokenizer_config.json
ADDED
|
@@ -0,0 +1,246 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_bos_token": false,
|
| 3 |
+
"add_prefix_space": false,
|
| 4 |
+
"added_tokens_decoder": {
|
| 5 |
+
"151643": {
|
| 6 |
+
"content": "<|endoftext|>",
|
| 7 |
+
"lstrip": false,
|
| 8 |
+
"normalized": false,
|
| 9 |
+
"rstrip": false,
|
| 10 |
+
"single_word": false,
|
| 11 |
+
"special": true
|
| 12 |
+
},
|
| 13 |
+
"151644": {
|
| 14 |
+
"content": "<|im_start|>",
|
| 15 |
+
"lstrip": false,
|
| 16 |
+
"normalized": false,
|
| 17 |
+
"rstrip": false,
|
| 18 |
+
"single_word": false,
|
| 19 |
+
"special": true
|
| 20 |
+
},
|
| 21 |
+
"151645": {
|
| 22 |
+
"content": "<|im_end|>",
|
| 23 |
+
"lstrip": false,
|
| 24 |
+
"normalized": false,
|
| 25 |
+
"rstrip": false,
|
| 26 |
+
"single_word": false,
|
| 27 |
+
"special": true
|
| 28 |
+
},
|
| 29 |
+
"151646": {
|
| 30 |
+
"content": "<|object_ref_start|>",
|
| 31 |
+
"lstrip": false,
|
| 32 |
+
"normalized": false,
|
| 33 |
+
"rstrip": false,
|
| 34 |
+
"single_word": false,
|
| 35 |
+
"special": true
|
| 36 |
+
},
|
| 37 |
+
"151647": {
|
| 38 |
+
"content": "<|object_ref_end|>",
|
| 39 |
+
"lstrip": false,
|
| 40 |
+
"normalized": false,
|
| 41 |
+
"rstrip": false,
|
| 42 |
+
"single_word": false,
|
| 43 |
+
"special": true
|
| 44 |
+
},
|
| 45 |
+
"151648": {
|
| 46 |
+
"content": "<|box_start|>",
|
| 47 |
+
"lstrip": false,
|
| 48 |
+
"normalized": false,
|
| 49 |
+
"rstrip": false,
|
| 50 |
+
"single_word": false,
|
| 51 |
+
"special": true
|
| 52 |
+
},
|
| 53 |
+
"151649": {
|
| 54 |
+
"content": "<|box_end|>",
|
| 55 |
+
"lstrip": false,
|
| 56 |
+
"normalized": false,
|
| 57 |
+
"rstrip": false,
|
| 58 |
+
"single_word": false,
|
| 59 |
+
"special": true
|
| 60 |
+
},
|
| 61 |
+
"151650": {
|
| 62 |
+
"content": "<|quad_start|>",
|
| 63 |
+
"lstrip": false,
|
| 64 |
+
"normalized": false,
|
| 65 |
+
"rstrip": false,
|
| 66 |
+
"single_word": false,
|
| 67 |
+
"special": true
|
| 68 |
+
},
|
| 69 |
+
"151651": {
|
| 70 |
+
"content": "<|quad_end|>",
|
| 71 |
+
"lstrip": false,
|
| 72 |
+
"normalized": false,
|
| 73 |
+
"rstrip": false,
|
| 74 |
+
"single_word": false,
|
| 75 |
+
"special": true
|
| 76 |
+
},
|
| 77 |
+
"151652": {
|
| 78 |
+
"content": "<|vision_start|>",
|
| 79 |
+
"lstrip": false,
|
| 80 |
+
"normalized": false,
|
| 81 |
+
"rstrip": false,
|
| 82 |
+
"single_word": false,
|
| 83 |
+
"special": true
|
| 84 |
+
},
|
| 85 |
+
"151653": {
|
| 86 |
+
"content": "<|vision_end|>",
|
| 87 |
+
"lstrip": false,
|
| 88 |
+
"normalized": false,
|
| 89 |
+
"rstrip": false,
|
| 90 |
+
"single_word": false,
|
| 91 |
+
"special": true
|
| 92 |
+
},
|
| 93 |
+
"151654": {
|
| 94 |
+
"content": "<|vision_pad|>",
|
| 95 |
+
"lstrip": false,
|
| 96 |
+
"normalized": false,
|
| 97 |
+
"rstrip": false,
|
| 98 |
+
"single_word": false,
|
| 99 |
+
"special": true
|
| 100 |
+
},
|
| 101 |
+
"151655": {
|
| 102 |
+
"content": "<|image_pad|>",
|
| 103 |
+
"lstrip": false,
|
| 104 |
+
"normalized": false,
|
| 105 |
+
"rstrip": false,
|
| 106 |
+
"single_word": false,
|
| 107 |
+
"special": true
|
| 108 |
+
},
|
| 109 |
+
"151656": {
|
| 110 |
+
"content": "<|video_pad|>",
|
| 111 |
+
"lstrip": false,
|
| 112 |
+
"normalized": false,
|
| 113 |
+
"rstrip": false,
|
| 114 |
+
"single_word": false,
|
| 115 |
+
"special": true
|
| 116 |
+
},
|
| 117 |
+
"151657": {
|
| 118 |
+
"content": "<tool_call>",
|
| 119 |
+
"lstrip": false,
|
| 120 |
+
"normalized": false,
|
| 121 |
+
"rstrip": false,
|
| 122 |
+
"single_word": false,
|
| 123 |
+
"special": false
|
| 124 |
+
},
|
| 125 |
+
"151658": {
|
| 126 |
+
"content": "</tool_call>",
|
| 127 |
+
"lstrip": false,
|
| 128 |
+
"normalized": false,
|
| 129 |
+
"rstrip": false,
|
| 130 |
+
"single_word": false,
|
| 131 |
+
"special": false
|
| 132 |
+
},
|
| 133 |
+
"151659": {
|
| 134 |
+
"content": "<|fim_prefix|>",
|
| 135 |
+
"lstrip": false,
|
| 136 |
+
"normalized": false,
|
| 137 |
+
"rstrip": false,
|
| 138 |
+
"single_word": false,
|
| 139 |
+
"special": false
|
| 140 |
+
},
|
| 141 |
+
"151660": {
|
| 142 |
+
"content": "<|fim_middle|>",
|
| 143 |
+
"lstrip": false,
|
| 144 |
+
"normalized": false,
|
| 145 |
+
"rstrip": false,
|
| 146 |
+
"single_word": false,
|
| 147 |
+
"special": false
|
| 148 |
+
},
|
| 149 |
+
"151661": {
|
| 150 |
+
"content": "<|fim_suffix|>",
|
| 151 |
+
"lstrip": false,
|
| 152 |
+
"normalized": false,
|
| 153 |
+
"rstrip": false,
|
| 154 |
+
"single_word": false,
|
| 155 |
+
"special": false
|
| 156 |
+
},
|
| 157 |
+
"151662": {
|
| 158 |
+
"content": "<|fim_pad|>",
|
| 159 |
+
"lstrip": false,
|
| 160 |
+
"normalized": false,
|
| 161 |
+
"rstrip": false,
|
| 162 |
+
"single_word": false,
|
| 163 |
+
"special": false
|
| 164 |
+
},
|
| 165 |
+
"151663": {
|
| 166 |
+
"content": "<|repo_name|>",
|
| 167 |
+
"lstrip": false,
|
| 168 |
+
"normalized": false,
|
| 169 |
+
"rstrip": false,
|
| 170 |
+
"single_word": false,
|
| 171 |
+
"special": false
|
| 172 |
+
},
|
| 173 |
+
"151664": {
|
| 174 |
+
"content": "<|file_sep|>",
|
| 175 |
+
"lstrip": false,
|
| 176 |
+
"normalized": false,
|
| 177 |
+
"rstrip": false,
|
| 178 |
+
"single_word": false,
|
| 179 |
+
"special": false
|
| 180 |
+
},
|
| 181 |
+
"151665": {
|
| 182 |
+
"content": "<tool_response>",
|
| 183 |
+
"lstrip": false,
|
| 184 |
+
"normalized": false,
|
| 185 |
+
"rstrip": false,
|
| 186 |
+
"single_word": false,
|
| 187 |
+
"special": false
|
| 188 |
+
},
|
| 189 |
+
"151666": {
|
| 190 |
+
"content": "</tool_response>",
|
| 191 |
+
"lstrip": false,
|
| 192 |
+
"normalized": false,
|
| 193 |
+
"rstrip": false,
|
| 194 |
+
"single_word": false,
|
| 195 |
+
"special": false
|
| 196 |
+
},
|
| 197 |
+
"151667": {
|
| 198 |
+
"content": "<think>",
|
| 199 |
+
"lstrip": false,
|
| 200 |
+
"normalized": false,
|
| 201 |
+
"rstrip": false,
|
| 202 |
+
"single_word": false,
|
| 203 |
+
"special": false
|
| 204 |
+
},
|
| 205 |
+
"151668": {
|
| 206 |
+
"content": "</think>",
|
| 207 |
+
"lstrip": false,
|
| 208 |
+
"normalized": false,
|
| 209 |
+
"rstrip": false,
|
| 210 |
+
"single_word": false,
|
| 211 |
+
"special": false
|
| 212 |
+
}
|
| 213 |
+
},
|
| 214 |
+
"additional_special_tokens": [
|
| 215 |
+
"<|im_start|>",
|
| 216 |
+
"<|im_end|>",
|
| 217 |
+
"<|object_ref_start|>",
|
| 218 |
+
"<|object_ref_end|>",
|
| 219 |
+
"<|box_start|>",
|
| 220 |
+
"<|box_end|>",
|
| 221 |
+
"<|quad_start|>",
|
| 222 |
+
"<|quad_end|>",
|
| 223 |
+
"<|vision_start|>",
|
| 224 |
+
"<|vision_end|>",
|
| 225 |
+
"<|vision_pad|>",
|
| 226 |
+
"<|image_pad|>",
|
| 227 |
+
"<|video_pad|>",
|
| 228 |
+
"<d>",
|
| 229 |
+
"</d>",
|
| 230 |
+
"<|cutoff|>",
|
| 231 |
+
"<|lyrics_start|>",
|
| 232 |
+
"<|lyrics_end|>",
|
| 233 |
+
"<|caption_start|>",
|
| 234 |
+
"<|caption_end|>"
|
| 235 |
+
],
|
| 236 |
+
"bos_token": null,
|
| 237 |
+
"chat_template": "{%- if tools %}\n {{- '<|im_start|>system\\n' }}\n {%- if messages[0].role == 'system' %}\n {%- if messages[0].content is string %}\n {{- messages[0].content }}\n {%- else %}\n {%- for content in messages[0].content %}\n {%- if 'text' in content %}\n {{- content.text }}\n {%- endif %}\n {%- endfor %}\n {%- endif %}\n {{- '\\n\\n' }}\n {%- endif %}\n {{- \"# Tools\\n\\nYou may call one or more functions to assist with the user query.\\n\\nYou are provided with function signatures within <tools></tools> XML tags:\\n<tools>\" }}\n {%- for tool in tools %}\n {{- \"\\n\" }}\n {{- tool | tojson }}\n {%- endfor %}\n {{- \"\\n</tools>\\n\\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\\n<tool_call>\\n{\\\"name\\\": <function-name>, \\\"arguments\\\": <args-json-object>}\\n</tool_call><|im_end|>\\n\" }}\n{%- else %}\n {%- if messages[0].role == 'system' %}\n {{- '<|im_start|>system\\n' }}\n {%- if messages[0].content is string %}\n {{- messages[0].content }}\n {%- else %}\n {%- for content in messages[0].content %}\n {%- if 'text' in content %}\n {{- content.text }}\n {%- endif %}\n {%- endfor %}\n {%- endif %}\n {{- '<|im_end|>\\n' }}\n {%- endif %}\n{%- endif %}\n{%- set image_count = namespace(value=0) %}\n{%- set video_count = namespace(value=0) %}\n{%- for message in messages %}\n {%- if message.role == \"user\" %}\n {{- '<|im_start|>' + message.role + '\\n' }}\n {%- if message.content is string %}\n {{- message.content }}\n {%- else %}\n {%- for content in message.content %}\n {%- if content.type == 'image' or 'image' in content or 'image_url' in content %}\n {%- set image_count.value = image_count.value + 1 %}\n {%- if add_vision_id %}Picture {{ image_count.value }}: {% endif -%}\n <|vision_start|><|image_pad|><|vision_end|>\n {%- elif content.type == 'video' or 'video' in content %}\n {%- set video_count.value = video_count.value + 1 %}\n {%- if add_vision_id %}Video {{ video_count.value }}: {% endif -%}\n <|vision_start|><|video_pad|><|vision_end|>\n {%- elif 'text' in content %}\n {{- content.text }}\n {%- endif %}\n {%- endfor %}\n {%- endif %}\n {{- '<|im_end|>\\n' }}\n {%- elif message.role == \"assistant\" %}\n {{- '<|im_start|>' + message.role + '\\n' }}\n {%- if message.content is string %}\n {{- message.content }}\n {%- else %}\n {%- for content_item in message.content %}\n {%- if 'text' in content_item %}\n {{- content_item.text }}\n {%- endif %}\n {%- endfor %}\n {%- endif %}\n {%- if message.tool_calls %}\n {%- for tool_call in message.tool_calls %}\n {%- if (loop.first and message.content) or (not loop.first) %}\n {{- '\\n' }}\n {%- endif %}\n {%- if tool_call.function %}\n {%- set tool_call = tool_call.function %}\n {%- endif %}\n {{- '<tool_call>\\n{\"name\": \"' }}\n {{- tool_call.name }}\n {{- '\", \"arguments\": ' }}\n {%- if tool_call.arguments is string %}\n {{- tool_call.arguments }}\n {%- else %}\n {{- tool_call.arguments | tojson }}\n {%- endif %}\n {{- '}\\n</tool_call>' }}\n {%- endfor %}\n {%- endif %}\n {{- '<|im_end|>\\n' }}\n {%- elif message.role == \"tool\" %}\n {%- if loop.first or (messages[loop.index0 - 1].role != \"tool\") %}\n {{- '<|im_start|>user' }}\n {%- endif %}\n {{- '\\n<tool_response>\\n' }}\n {%- if message.content is string %}\n {{- message.content }}\n {%- else %}\n {%- for content in message.content %}\n {%- if content.type == 'image' or 'image' in content or 'image_url' in content %}\n {%- set image_count.value = image_count.value + 1 %}\n {%- if add_vision_id %}Picture {{ image_count.value }}: {% endif -%}\n <|vision_start|><|image_pad|><|vision_end|>\n {%- elif content.type == 'video' or 'video' in content %}\n {%- set video_count.value = video_count.value + 1 %}\n {%- if add_vision_id %}Video {{ video_count.value }}: {% endif -%}\n <|vision_start|><|video_pad|><|vision_end|>\n {%- elif 'text' in content %}\n {{- content.text }}\n {%- endif %}\n {%- endfor %}\n {%- endif %}\n {{- '\\n</tool_response>' }}\n {%- if loop.last or (messages[loop.index0 + 1].role != \"tool\") %}\n {{- '<|im_end|>\\n' }}\n {%- endif %}\n {%- endif %}\n{%- endfor %}\n{%- if add_generation_prompt %}\n {{- '<|im_start|>assistant\\n' }}\n{%- endif %}\n",
|
| 238 |
+
"clean_up_tokenization_spaces": false,
|
| 239 |
+
"eos_token": "<|im_end|>",
|
| 240 |
+
"errors": "replace",
|
| 241 |
+
"model_max_length": 262144,
|
| 242 |
+
"pad_token": "<|endoftext|>",
|
| 243 |
+
"split_special_tokens": false,
|
| 244 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 245 |
+
"unk_token": null
|
| 246 |
+
}
|
FL2VA/text_encoder/video_preprocessor_config.json
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"size": {
|
| 3 |
+
"longest_edge": 25165824,
|
| 4 |
+
"shortest_edge": 4096
|
| 5 |
+
},
|
| 6 |
+
"patch_size": 16,
|
| 7 |
+
"temporal_patch_size": 2,
|
| 8 |
+
"merge_size": 2,
|
| 9 |
+
"image_mean": [
|
| 10 |
+
0.5,
|
| 11 |
+
0.5,
|
| 12 |
+
0.5
|
| 13 |
+
],
|
| 14 |
+
"image_std": [
|
| 15 |
+
0.5,
|
| 16 |
+
0.5,
|
| 17 |
+
0.5
|
| 18 |
+
],
|
| 19 |
+
"processor_class": "Qwen3VLProcessor",
|
| 20 |
+
"video_processor_type": "Qwen3VLVideoProcessor"
|
| 21 |
+
}
|
FL2VA/text_encoder/vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
FL2VA/tokenizer/merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
FL2VA/tokenizer/tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
FL2VA/tokenizer/tokenizer_config.json
ADDED
|
@@ -0,0 +1,246 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_bos_token": false,
|
| 3 |
+
"add_prefix_space": false,
|
| 4 |
+
"added_tokens_decoder": {
|
| 5 |
+
"151643": {
|
| 6 |
+
"content": "<|endoftext|>",
|
| 7 |
+
"lstrip": false,
|
| 8 |
+
"normalized": false,
|
| 9 |
+
"rstrip": false,
|
| 10 |
+
"single_word": false,
|
| 11 |
+
"special": true
|
| 12 |
+
},
|
| 13 |
+
"151644": {
|
| 14 |
+
"content": "<|im_start|>",
|
| 15 |
+
"lstrip": false,
|
| 16 |
+
"normalized": false,
|
| 17 |
+
"rstrip": false,
|
| 18 |
+
"single_word": false,
|
| 19 |
+
"special": true
|
| 20 |
+
},
|
| 21 |
+
"151645": {
|
| 22 |
+
"content": "<|im_end|>",
|
| 23 |
+
"lstrip": false,
|
| 24 |
+
"normalized": false,
|
| 25 |
+
"rstrip": false,
|
| 26 |
+
"single_word": false,
|
| 27 |
+
"special": true
|
| 28 |
+
},
|
| 29 |
+
"151646": {
|
| 30 |
+
"content": "<|object_ref_start|>",
|
| 31 |
+
"lstrip": false,
|
| 32 |
+
"normalized": false,
|
| 33 |
+
"rstrip": false,
|
| 34 |
+
"single_word": false,
|
| 35 |
+
"special": true
|
| 36 |
+
},
|
| 37 |
+
"151647": {
|
| 38 |
+
"content": "<|object_ref_end|>",
|
| 39 |
+
"lstrip": false,
|
| 40 |
+
"normalized": false,
|
| 41 |
+
"rstrip": false,
|
| 42 |
+
"single_word": false,
|
| 43 |
+
"special": true
|
| 44 |
+
},
|
| 45 |
+
"151648": {
|
| 46 |
+
"content": "<|box_start|>",
|
| 47 |
+
"lstrip": false,
|
| 48 |
+
"normalized": false,
|
| 49 |
+
"rstrip": false,
|
| 50 |
+
"single_word": false,
|
| 51 |
+
"special": true
|
| 52 |
+
},
|
| 53 |
+
"151649": {
|
| 54 |
+
"content": "<|box_end|>",
|
| 55 |
+
"lstrip": false,
|
| 56 |
+
"normalized": false,
|
| 57 |
+
"rstrip": false,
|
| 58 |
+
"single_word": false,
|
| 59 |
+
"special": true
|
| 60 |
+
},
|
| 61 |
+
"151650": {
|
| 62 |
+
"content": "<|quad_start|>",
|
| 63 |
+
"lstrip": false,
|
| 64 |
+
"normalized": false,
|
| 65 |
+
"rstrip": false,
|
| 66 |
+
"single_word": false,
|
| 67 |
+
"special": true
|
| 68 |
+
},
|
| 69 |
+
"151651": {
|
| 70 |
+
"content": "<|quad_end|>",
|
| 71 |
+
"lstrip": false,
|
| 72 |
+
"normalized": false,
|
| 73 |
+
"rstrip": false,
|
| 74 |
+
"single_word": false,
|
| 75 |
+
"special": true
|
| 76 |
+
},
|
| 77 |
+
"151652": {
|
| 78 |
+
"content": "<|vision_start|>",
|
| 79 |
+
"lstrip": false,
|
| 80 |
+
"normalized": false,
|
| 81 |
+
"rstrip": false,
|
| 82 |
+
"single_word": false,
|
| 83 |
+
"special": true
|
| 84 |
+
},
|
| 85 |
+
"151653": {
|
| 86 |
+
"content": "<|vision_end|>",
|
| 87 |
+
"lstrip": false,
|
| 88 |
+
"normalized": false,
|
| 89 |
+
"rstrip": false,
|
| 90 |
+
"single_word": false,
|
| 91 |
+
"special": true
|
| 92 |
+
},
|
| 93 |
+
"151654": {
|
| 94 |
+
"content": "<|vision_pad|>",
|
| 95 |
+
"lstrip": false,
|
| 96 |
+
"normalized": false,
|
| 97 |
+
"rstrip": false,
|
| 98 |
+
"single_word": false,
|
| 99 |
+
"special": true
|
| 100 |
+
},
|
| 101 |
+
"151655": {
|
| 102 |
+
"content": "<|image_pad|>",
|
| 103 |
+
"lstrip": false,
|
| 104 |
+
"normalized": false,
|
| 105 |
+
"rstrip": false,
|
| 106 |
+
"single_word": false,
|
| 107 |
+
"special": true
|
| 108 |
+
},
|
| 109 |
+
"151656": {
|
| 110 |
+
"content": "<|video_pad|>",
|
| 111 |
+
"lstrip": false,
|
| 112 |
+
"normalized": false,
|
| 113 |
+
"rstrip": false,
|
| 114 |
+
"single_word": false,
|
| 115 |
+
"special": true
|
| 116 |
+
},
|
| 117 |
+
"151657": {
|
| 118 |
+
"content": "<tool_call>",
|
| 119 |
+
"lstrip": false,
|
| 120 |
+
"normalized": false,
|
| 121 |
+
"rstrip": false,
|
| 122 |
+
"single_word": false,
|
| 123 |
+
"special": false
|
| 124 |
+
},
|
| 125 |
+
"151658": {
|
| 126 |
+
"content": "</tool_call>",
|
| 127 |
+
"lstrip": false,
|
| 128 |
+
"normalized": false,
|
| 129 |
+
"rstrip": false,
|
| 130 |
+
"single_word": false,
|
| 131 |
+
"special": false
|
| 132 |
+
},
|
| 133 |
+
"151659": {
|
| 134 |
+
"content": "<|fim_prefix|>",
|
| 135 |
+
"lstrip": false,
|
| 136 |
+
"normalized": false,
|
| 137 |
+
"rstrip": false,
|
| 138 |
+
"single_word": false,
|
| 139 |
+
"special": false
|
| 140 |
+
},
|
| 141 |
+
"151660": {
|
| 142 |
+
"content": "<|fim_middle|>",
|
| 143 |
+
"lstrip": false,
|
| 144 |
+
"normalized": false,
|
| 145 |
+
"rstrip": false,
|
| 146 |
+
"single_word": false,
|
| 147 |
+
"special": false
|
| 148 |
+
},
|
| 149 |
+
"151661": {
|
| 150 |
+
"content": "<|fim_suffix|>",
|
| 151 |
+
"lstrip": false,
|
| 152 |
+
"normalized": false,
|
| 153 |
+
"rstrip": false,
|
| 154 |
+
"single_word": false,
|
| 155 |
+
"special": false
|
| 156 |
+
},
|
| 157 |
+
"151662": {
|
| 158 |
+
"content": "<|fim_pad|>",
|
| 159 |
+
"lstrip": false,
|
| 160 |
+
"normalized": false,
|
| 161 |
+
"rstrip": false,
|
| 162 |
+
"single_word": false,
|
| 163 |
+
"special": false
|
| 164 |
+
},
|
| 165 |
+
"151663": {
|
| 166 |
+
"content": "<|repo_name|>",
|
| 167 |
+
"lstrip": false,
|
| 168 |
+
"normalized": false,
|
| 169 |
+
"rstrip": false,
|
| 170 |
+
"single_word": false,
|
| 171 |
+
"special": false
|
| 172 |
+
},
|
| 173 |
+
"151664": {
|
| 174 |
+
"content": "<|file_sep|>",
|
| 175 |
+
"lstrip": false,
|
| 176 |
+
"normalized": false,
|
| 177 |
+
"rstrip": false,
|
| 178 |
+
"single_word": false,
|
| 179 |
+
"special": false
|
| 180 |
+
},
|
| 181 |
+
"151665": {
|
| 182 |
+
"content": "<tool_response>",
|
| 183 |
+
"lstrip": false,
|
| 184 |
+
"normalized": false,
|
| 185 |
+
"rstrip": false,
|
| 186 |
+
"single_word": false,
|
| 187 |
+
"special": false
|
| 188 |
+
},
|
| 189 |
+
"151666": {
|
| 190 |
+
"content": "</tool_response>",
|
| 191 |
+
"lstrip": false,
|
| 192 |
+
"normalized": false,
|
| 193 |
+
"rstrip": false,
|
| 194 |
+
"single_word": false,
|
| 195 |
+
"special": false
|
| 196 |
+
},
|
| 197 |
+
"151667": {
|
| 198 |
+
"content": "<think>",
|
| 199 |
+
"lstrip": false,
|
| 200 |
+
"normalized": false,
|
| 201 |
+
"rstrip": false,
|
| 202 |
+
"single_word": false,
|
| 203 |
+
"special": false
|
| 204 |
+
},
|
| 205 |
+
"151668": {
|
| 206 |
+
"content": "</think>",
|
| 207 |
+
"lstrip": false,
|
| 208 |
+
"normalized": false,
|
| 209 |
+
"rstrip": false,
|
| 210 |
+
"single_word": false,
|
| 211 |
+
"special": false
|
| 212 |
+
}
|
| 213 |
+
},
|
| 214 |
+
"additional_special_tokens": [
|
| 215 |
+
"<|im_start|>",
|
| 216 |
+
"<|im_end|>",
|
| 217 |
+
"<|object_ref_start|>",
|
| 218 |
+
"<|object_ref_end|>",
|
| 219 |
+
"<|box_start|>",
|
| 220 |
+
"<|box_end|>",
|
| 221 |
+
"<|quad_start|>",
|
| 222 |
+
"<|quad_end|>",
|
| 223 |
+
"<|vision_start|>",
|
| 224 |
+
"<|vision_end|>",
|
| 225 |
+
"<|vision_pad|>",
|
| 226 |
+
"<|image_pad|>",
|
| 227 |
+
"<|video_pad|>",
|
| 228 |
+
"<d>",
|
| 229 |
+
"</d>",
|
| 230 |
+
"<|cutoff|>",
|
| 231 |
+
"<|lyrics_start|>",
|
| 232 |
+
"<|lyrics_end|>",
|
| 233 |
+
"<|caption_start|>",
|
| 234 |
+
"<|caption_end|>"
|
| 235 |
+
],
|
| 236 |
+
"bos_token": null,
|
| 237 |
+
"chat_template": "{%- if tools %}\n {{- '<|im_start|>system\\n' }}\n {%- if messages[0].role == 'system' %}\n {%- if messages[0].content is string %}\n {{- messages[0].content }}\n {%- else %}\n {%- for content in messages[0].content %}\n {%- if 'text' in content %}\n {{- content.text }}\n {%- endif %}\n {%- endfor %}\n {%- endif %}\n {{- '\\n\\n' }}\n {%- endif %}\n {{- \"# Tools\\n\\nYou may call one or more functions to assist with the user query.\\n\\nYou are provided with function signatures within <tools></tools> XML tags:\\n<tools>\" }}\n {%- for tool in tools %}\n {{- \"\\n\" }}\n {{- tool | tojson }}\n {%- endfor %}\n {{- \"\\n</tools>\\n\\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\\n<tool_call>\\n{\\\"name\\\": <function-name>, \\\"arguments\\\": <args-json-object>}\\n</tool_call><|im_end|>\\n\" }}\n{%- else %}\n {%- if messages[0].role == 'system' %}\n {{- '<|im_start|>system\\n' }}\n {%- if messages[0].content is string %}\n {{- messages[0].content }}\n {%- else %}\n {%- for content in messages[0].content %}\n {%- if 'text' in content %}\n {{- content.text }}\n {%- endif %}\n {%- endfor %}\n {%- endif %}\n {{- '<|im_end|>\\n' }}\n {%- endif %}\n{%- endif %}\n{%- set image_count = namespace(value=0) %}\n{%- set video_count = namespace(value=0) %}\n{%- for message in messages %}\n {%- if message.role == \"user\" %}\n {{- '<|im_start|>' + message.role + '\\n' }}\n {%- if message.content is string %}\n {{- message.content }}\n {%- else %}\n {%- for content in message.content %}\n {%- if content.type == 'image' or 'image' in content or 'image_url' in content %}\n {%- set image_count.value = image_count.value + 1 %}\n {%- if add_vision_id %}Picture {{ image_count.value }}: {% endif -%}\n <|vision_start|><|image_pad|><|vision_end|>\n {%- elif content.type == 'video' or 'video' in content %}\n {%- set video_count.value = video_count.value + 1 %}\n {%- if add_vision_id %}Video {{ video_count.value }}: {% endif -%}\n <|vision_start|><|video_pad|><|vision_end|>\n {%- elif 'text' in content %}\n {{- content.text }}\n {%- endif %}\n {%- endfor %}\n {%- endif %}\n {{- '<|im_end|>\\n' }}\n {%- elif message.role == \"assistant\" %}\n {{- '<|im_start|>' + message.role + '\\n' }}\n {%- if message.content is string %}\n {{- message.content }}\n {%- else %}\n {%- for content_item in message.content %}\n {%- if 'text' in content_item %}\n {{- content_item.text }}\n {%- endif %}\n {%- endfor %}\n {%- endif %}\n {%- if message.tool_calls %}\n {%- for tool_call in message.tool_calls %}\n {%- if (loop.first and message.content) or (not loop.first) %}\n {{- '\\n' }}\n {%- endif %}\n {%- if tool_call.function %}\n {%- set tool_call = tool_call.function %}\n {%- endif %}\n {{- '<tool_call>\\n{\"name\": \"' }}\n {{- tool_call.name }}\n {{- '\", \"arguments\": ' }}\n {%- if tool_call.arguments is string %}\n {{- tool_call.arguments }}\n {%- else %}\n {{- tool_call.arguments | tojson }}\n {%- endif %}\n {{- '}\\n</tool_call>' }}\n {%- endfor %}\n {%- endif %}\n {{- '<|im_end|>\\n' }}\n {%- elif message.role == \"tool\" %}\n {%- if loop.first or (messages[loop.index0 - 1].role != \"tool\") %}\n {{- '<|im_start|>user' }}\n {%- endif %}\n {{- '\\n<tool_response>\\n' }}\n {%- if message.content is string %}\n {{- message.content }}\n {%- else %}\n {%- for content in message.content %}\n {%- if content.type == 'image' or 'image' in content or 'image_url' in content %}\n {%- set image_count.value = image_count.value + 1 %}\n {%- if add_vision_id %}Picture {{ image_count.value }}: {% endif -%}\n <|vision_start|><|image_pad|><|vision_end|>\n {%- elif content.type == 'video' or 'video' in content %}\n {%- set video_count.value = video_count.value + 1 %}\n {%- if add_vision_id %}Video {{ video_count.value }}: {% endif -%}\n <|vision_start|><|video_pad|><|vision_end|>\n {%- elif 'text' in content %}\n {{- content.text }}\n {%- endif %}\n {%- endfor %}\n {%- endif %}\n {{- '\\n</tool_response>' }}\n {%- if loop.last or (messages[loop.index0 + 1].role != \"tool\") %}\n {{- '<|im_end|>\\n' }}\n {%- endif %}\n {%- endif %}\n{%- endfor %}\n{%- if add_generation_prompt %}\n {{- '<|im_start|>assistant\\n' }}\n{%- endif %}\n",
|
| 238 |
+
"clean_up_tokenization_spaces": false,
|
| 239 |
+
"eos_token": "<|im_end|>",
|
| 240 |
+
"errors": "replace",
|
| 241 |
+
"model_max_length": 262144,
|
| 242 |
+
"pad_token": "<|endoftext|>",
|
| 243 |
+
"split_special_tokens": false,
|
| 244 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 245 |
+
"unk_token": null
|
| 246 |
+
}
|
FL2VA/tokenizer/vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
FL2VA/transformer/config.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "MiniMaxH3DiTModel",
|
| 3 |
+
"_diffusers_version": "0.32.2",
|
| 4 |
+
"hidden_size": 5376,
|
| 5 |
+
"num_layers": 50,
|
| 6 |
+
"token_refiner_num_layers": 2,
|
| 7 |
+
"num_attention_heads": 56,
|
| 8 |
+
"attention_head_dim": 128,
|
| 9 |
+
"ffn_hidden_size": 14336,
|
| 10 |
+
"latents_dim": 24,
|
| 11 |
+
"audio_latents_dim": 32,
|
| 12 |
+
"patch_size": [
|
| 13 |
+
1,
|
| 14 |
+
2,
|
| 15 |
+
2
|
| 16 |
+
],
|
| 17 |
+
"text_dim": 5120,
|
| 18 |
+
"timestep_input_dim": 256,
|
| 19 |
+
"time_embed_hidden_size": 5376,
|
| 20 |
+
"time_embed_dim": 2688,
|
| 21 |
+
"adaln_out_features": 96768,
|
| 22 |
+
"final_adaln_out_features": 10752,
|
| 23 |
+
"rope_inv_freq_len": 16,
|
| 24 |
+
"norm_eps": 1e-05,
|
| 25 |
+
"qk_norm_eps": 1e-05,
|
| 26 |
+
"final_norm_eps": 1e-05
|
| 27 |
+
}
|