Upload MarkupDMForCausalLM
Browse files- config.json +2 -1
- generation_config.json +4 -0
- loss_utils.py +70 -0
- model-00001-of-00007.safetensors +3 -0
- model-00002-of-00007.safetensors +3 -0
- model-00003-of-00007.safetensors +3 -0
- model-00004-of-00007.safetensors +3 -0
- model-00005-of-00007.safetensors +3 -0
- model-00006-of-00007.safetensors +3 -0
- model-00007-of-00007.safetensors +3 -0
- model.safetensors.index.json +862 -0
- modeling_markupdm.py +291 -0
config.json
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
{
|
|
|
|
| 2 |
"architectures": [
|
| 3 |
"MarkupDMForCausalLM"
|
| 4 |
],
|
|
@@ -109,7 +110,7 @@
|
|
| 109 |
"validate_runner_input": true,
|
| 110 |
"vocab_size": 49156
|
| 111 |
},
|
| 112 |
-
"torch_dtype": "
|
| 113 |
"transformers_version": "4.47.1",
|
| 114 |
"vision_model": {
|
| 115 |
"_attn_implementation_autoset": true,
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "/data/sc1_7b/",
|
| 3 |
"architectures": [
|
| 4 |
"MarkupDMForCausalLM"
|
| 5 |
],
|
|
|
|
| 110 |
"validate_runner_input": true,
|
| 111 |
"vocab_size": 49156
|
| 112 |
},
|
| 113 |
+
"torch_dtype": "float32",
|
| 114 |
"transformers_version": "4.47.1",
|
| 115 |
"vision_model": {
|
| 116 |
"_attn_implementation_autoset": true,
|
generation_config.json
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"transformers_version": "4.47.1"
|
| 4 |
+
}
|
loss_utils.py
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import torch
|
| 2 |
+
import torch.nn.functional as F
|
| 3 |
+
|
| 4 |
+
|
| 5 |
+
def fixed_cross_entropy(
|
| 6 |
+
source,
|
| 7 |
+
target,
|
| 8 |
+
num_items_in_batch: int | None = None,
|
| 9 |
+
ignore_index: int = -100,
|
| 10 |
+
weight=None,
|
| 11 |
+
**kwargs,
|
| 12 |
+
):
|
| 13 |
+
reduction = "sum" if num_items_in_batch is not None else "mean"
|
| 14 |
+
loss = F.cross_entropy(
|
| 15 |
+
source,
|
| 16 |
+
target,
|
| 17 |
+
ignore_index=ignore_index,
|
| 18 |
+
reduction=reduction,
|
| 19 |
+
weight=weight,
|
| 20 |
+
)
|
| 21 |
+
if reduction == "sum":
|
| 22 |
+
loss = loss / num_items_in_batch
|
| 23 |
+
return loss
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
def WeightedCausalLMLoss(
|
| 27 |
+
logits,
|
| 28 |
+
labels,
|
| 29 |
+
image_vocab_size: int,
|
| 30 |
+
image_loss_weight: float = 1.0,
|
| 31 |
+
image_token_ratio: float = 2.4,
|
| 32 |
+
num_items_in_batch: int | None = None,
|
| 33 |
+
ignore_index: int = -100,
|
| 34 |
+
**kwargs,
|
| 35 |
+
):
|
| 36 |
+
# Upcast to float if we need to compute the loss to avoid potential precision issues
|
| 37 |
+
logits = logits.float()
|
| 38 |
+
labels = labels.to(logits.device)
|
| 39 |
+
# Shift so that tokens < n predict n
|
| 40 |
+
labels = F.pad(labels, (0, 1), value=ignore_index)
|
| 41 |
+
shift_labels = labels[..., 1:].contiguous()
|
| 42 |
+
|
| 43 |
+
# Compute loss weight
|
| 44 |
+
if image_loss_weight != 1.0:
|
| 45 |
+
weight = torch.ones(logits.size(-1), device=logits.device)
|
| 46 |
+
weight[-image_vocab_size:] = image_loss_weight
|
| 47 |
+
else:
|
| 48 |
+
weight = None
|
| 49 |
+
|
| 50 |
+
# Flatten the tokens
|
| 51 |
+
logits = logits.view(-1, logits.size(-1))
|
| 52 |
+
shift_labels = shift_labels.view(-1)
|
| 53 |
+
# Enable model parallelism
|
| 54 |
+
shift_labels = shift_labels.to(logits.device)
|
| 55 |
+
loss = fixed_cross_entropy(
|
| 56 |
+
logits,
|
| 57 |
+
shift_labels,
|
| 58 |
+
num_items_in_batch,
|
| 59 |
+
ignore_index,
|
| 60 |
+
weight=weight,
|
| 61 |
+
**kwargs,
|
| 62 |
+
)
|
| 63 |
+
|
| 64 |
+
# Scale the loss
|
| 65 |
+
if image_loss_weight != 1.0:
|
| 66 |
+
denom = 1.0 + (image_token_ratio * image_loss_weight)
|
| 67 |
+
scale = (1.0 + image_token_ratio) / denom
|
| 68 |
+
loss = scale * loss
|
| 69 |
+
|
| 70 |
+
return loss
|
model-00001-of-00007.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b058405d23164ca8d26e91ce20cf49fc99cd442caa6cd914d147f2015f5dac7d
|
| 3 |
+
size 4992416320
|
model-00002-of-00007.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2ba2cefc5b1a7588acb5755d67509a421ec0d6258f9978b188764da4d9f6d08d
|
| 3 |
+
size 4866738392
|
model-00003-of-00007.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2d2441c4371eec710283c3c64e6a64cf4cb88a95d005649b867a6edea4ad947e
|
| 3 |
+
size 4996760392
|
model-00004-of-00007.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:adff42c2b9d2b958ac392bad93ec35481e09542daedc70b65d66e7bb741662ba
|
| 3 |
+
size 4996744232
|
model-00005-of-00007.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:69aa7595a22a7af21b3dc9d9dc2f21de5ff934d751843c41d588cfad33c98a98
|
| 3 |
+
size 4866738448
|
model-00006-of-00007.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7ff4adac6d7765c488f13b4f15dc8611d00f2a7c70cdd225d46db493812dd0a4
|
| 3 |
+
size 4868418560
|
model-00007-of-00007.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:22648970d028e874ebf1d1ede749501b1706fc82dc2dd8706866ad6fed446602
|
| 3 |
+
size 268501200
|
model.safetensors.index.json
ADDED
|
@@ -0,0 +1,862 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"metadata": {
|
| 3 |
+
"total_size": 29856215152
|
| 4 |
+
},
|
| 5 |
+
"weight_map": {
|
| 6 |
+
"proj_vt.bias": "model-00006-of-00007.safetensors",
|
| 7 |
+
"proj_vt.weight": "model-00006-of-00007.safetensors",
|
| 8 |
+
"text_model.transformer.h.0.attn.c_attn.bias": "model-00001-of-00007.safetensors",
|
| 9 |
+
"text_model.transformer.h.0.attn.c_attn.weight": "model-00001-of-00007.safetensors",
|
| 10 |
+
"text_model.transformer.h.0.attn.c_proj.bias": "model-00001-of-00007.safetensors",
|
| 11 |
+
"text_model.transformer.h.0.attn.c_proj.weight": "model-00001-of-00007.safetensors",
|
| 12 |
+
"text_model.transformer.h.0.ln_1.bias": "model-00001-of-00007.safetensors",
|
| 13 |
+
"text_model.transformer.h.0.ln_1.weight": "model-00001-of-00007.safetensors",
|
| 14 |
+
"text_model.transformer.h.0.ln_2.bias": "model-00001-of-00007.safetensors",
|
| 15 |
+
"text_model.transformer.h.0.ln_2.weight": "model-00001-of-00007.safetensors",
|
| 16 |
+
"text_model.transformer.h.0.mlp.c_fc.bias": "model-00001-of-00007.safetensors",
|
| 17 |
+
"text_model.transformer.h.0.mlp.c_fc.weight": "model-00001-of-00007.safetensors",
|
| 18 |
+
"text_model.transformer.h.0.mlp.c_proj.bias": "model-00001-of-00007.safetensors",
|
| 19 |
+
"text_model.transformer.h.0.mlp.c_proj.weight": "model-00001-of-00007.safetensors",
|
| 20 |
+
"text_model.transformer.h.1.attn.c_attn.bias": "model-00001-of-00007.safetensors",
|
| 21 |
+
"text_model.transformer.h.1.attn.c_attn.weight": "model-00001-of-00007.safetensors",
|
| 22 |
+
"text_model.transformer.h.1.attn.c_proj.bias": "model-00001-of-00007.safetensors",
|
| 23 |
+
"text_model.transformer.h.1.attn.c_proj.weight": "model-00001-of-00007.safetensors",
|
| 24 |
+
"text_model.transformer.h.1.ln_1.bias": "model-00001-of-00007.safetensors",
|
| 25 |
+
"text_model.transformer.h.1.ln_1.weight": "model-00001-of-00007.safetensors",
|
| 26 |
+
"text_model.transformer.h.1.ln_2.bias": "model-00001-of-00007.safetensors",
|
| 27 |
+
"text_model.transformer.h.1.ln_2.weight": "model-00001-of-00007.safetensors",
|
| 28 |
+
"text_model.transformer.h.1.mlp.c_fc.bias": "model-00001-of-00007.safetensors",
|
| 29 |
+
"text_model.transformer.h.1.mlp.c_fc.weight": "model-00001-of-00007.safetensors",
|
| 30 |
+
"text_model.transformer.h.1.mlp.c_proj.bias": "model-00001-of-00007.safetensors",
|
| 31 |
+
"text_model.transformer.h.1.mlp.c_proj.weight": "model-00001-of-00007.safetensors",
|
| 32 |
+
"text_model.transformer.h.10.attn.c_attn.bias": "model-00002-of-00007.safetensors",
|
| 33 |
+
"text_model.transformer.h.10.attn.c_attn.weight": "model-00002-of-00007.safetensors",
|
| 34 |
+
"text_model.transformer.h.10.attn.c_proj.bias": "model-00002-of-00007.safetensors",
|
| 35 |
+
"text_model.transformer.h.10.attn.c_proj.weight": "model-00002-of-00007.safetensors",
|
| 36 |
+
"text_model.transformer.h.10.ln_1.bias": "model-00002-of-00007.safetensors",
|
| 37 |
+
"text_model.transformer.h.10.ln_1.weight": "model-00002-of-00007.safetensors",
|
| 38 |
+
"text_model.transformer.h.10.ln_2.bias": "model-00002-of-00007.safetensors",
|
| 39 |
+
"text_model.transformer.h.10.ln_2.weight": "model-00002-of-00007.safetensors",
|
| 40 |
+
"text_model.transformer.h.10.mlp.c_fc.bias": "model-00002-of-00007.safetensors",
|
| 41 |
+
"text_model.transformer.h.10.mlp.c_fc.weight": "model-00002-of-00007.safetensors",
|
| 42 |
+
"text_model.transformer.h.10.mlp.c_proj.bias": "model-00002-of-00007.safetensors",
|
| 43 |
+
"text_model.transformer.h.10.mlp.c_proj.weight": "model-00002-of-00007.safetensors",
|
| 44 |
+
"text_model.transformer.h.11.attn.c_attn.bias": "model-00002-of-00007.safetensors",
|
| 45 |
+
"text_model.transformer.h.11.attn.c_attn.weight": "model-00002-of-00007.safetensors",
|
| 46 |
+
"text_model.transformer.h.11.attn.c_proj.bias": "model-00002-of-00007.safetensors",
|
| 47 |
+
"text_model.transformer.h.11.attn.c_proj.weight": "model-00002-of-00007.safetensors",
|
| 48 |
+
"text_model.transformer.h.11.ln_1.bias": "model-00002-of-00007.safetensors",
|
| 49 |
+
"text_model.transformer.h.11.ln_1.weight": "model-00002-of-00007.safetensors",
|
| 50 |
+
"text_model.transformer.h.11.ln_2.bias": "model-00002-of-00007.safetensors",
|
| 51 |
+
"text_model.transformer.h.11.ln_2.weight": "model-00002-of-00007.safetensors",
|
| 52 |
+
"text_model.transformer.h.11.mlp.c_fc.bias": "model-00002-of-00007.safetensors",
|
| 53 |
+
"text_model.transformer.h.11.mlp.c_fc.weight": "model-00002-of-00007.safetensors",
|
| 54 |
+
"text_model.transformer.h.11.mlp.c_proj.bias": "model-00002-of-00007.safetensors",
|
| 55 |
+
"text_model.transformer.h.11.mlp.c_proj.weight": "model-00002-of-00007.safetensors",
|
| 56 |
+
"text_model.transformer.h.12.attn.c_attn.bias": "model-00002-of-00007.safetensors",
|
| 57 |
+
"text_model.transformer.h.12.attn.c_attn.weight": "model-00002-of-00007.safetensors",
|
| 58 |
+
"text_model.transformer.h.12.attn.c_proj.bias": "model-00002-of-00007.safetensors",
|
| 59 |
+
"text_model.transformer.h.12.attn.c_proj.weight": "model-00002-of-00007.safetensors",
|
| 60 |
+
"text_model.transformer.h.12.ln_1.bias": "model-00002-of-00007.safetensors",
|
| 61 |
+
"text_model.transformer.h.12.ln_1.weight": "model-00002-of-00007.safetensors",
|
| 62 |
+
"text_model.transformer.h.12.ln_2.bias": "model-00002-of-00007.safetensors",
|
| 63 |
+
"text_model.transformer.h.12.ln_2.weight": "model-00002-of-00007.safetensors",
|
| 64 |
+
"text_model.transformer.h.12.mlp.c_fc.bias": "model-00002-of-00007.safetensors",
|
| 65 |
+
"text_model.transformer.h.12.mlp.c_fc.weight": "model-00002-of-00007.safetensors",
|
| 66 |
+
"text_model.transformer.h.12.mlp.c_proj.bias": "model-00002-of-00007.safetensors",
|
| 67 |
+
"text_model.transformer.h.12.mlp.c_proj.weight": "model-00002-of-00007.safetensors",
|
| 68 |
+
"text_model.transformer.h.13.attn.c_attn.bias": "model-00002-of-00007.safetensors",
|
| 69 |
+
"text_model.transformer.h.13.attn.c_attn.weight": "model-00002-of-00007.safetensors",
|
| 70 |
+
"text_model.transformer.h.13.attn.c_proj.bias": "model-00002-of-00007.safetensors",
|
| 71 |
+
"text_model.transformer.h.13.attn.c_proj.weight": "model-00002-of-00007.safetensors",
|
| 72 |
+
"text_model.transformer.h.13.ln_1.bias": "model-00002-of-00007.safetensors",
|
| 73 |
+
"text_model.transformer.h.13.ln_1.weight": "model-00002-of-00007.safetensors",
|
| 74 |
+
"text_model.transformer.h.13.ln_2.bias": "model-00002-of-00007.safetensors",
|
| 75 |
+
"text_model.transformer.h.13.ln_2.weight": "model-00002-of-00007.safetensors",
|
| 76 |
+
"text_model.transformer.h.13.mlp.c_fc.bias": "model-00003-of-00007.safetensors",
|
| 77 |
+
"text_model.transformer.h.13.mlp.c_fc.weight": "model-00003-of-00007.safetensors",
|
| 78 |
+
"text_model.transformer.h.13.mlp.c_proj.bias": "model-00003-of-00007.safetensors",
|
| 79 |
+
"text_model.transformer.h.13.mlp.c_proj.weight": "model-00003-of-00007.safetensors",
|
| 80 |
+
"text_model.transformer.h.14.attn.c_attn.bias": "model-00003-of-00007.safetensors",
|
| 81 |
+
"text_model.transformer.h.14.attn.c_attn.weight": "model-00003-of-00007.safetensors",
|
| 82 |
+
"text_model.transformer.h.14.attn.c_proj.bias": "model-00003-of-00007.safetensors",
|
| 83 |
+
"text_model.transformer.h.14.attn.c_proj.weight": "model-00003-of-00007.safetensors",
|
| 84 |
+
"text_model.transformer.h.14.ln_1.bias": "model-00003-of-00007.safetensors",
|
| 85 |
+
"text_model.transformer.h.14.ln_1.weight": "model-00003-of-00007.safetensors",
|
| 86 |
+
"text_model.transformer.h.14.ln_2.bias": "model-00003-of-00007.safetensors",
|
| 87 |
+
"text_model.transformer.h.14.ln_2.weight": "model-00003-of-00007.safetensors",
|
| 88 |
+
"text_model.transformer.h.14.mlp.c_fc.bias": "model-00003-of-00007.safetensors",
|
| 89 |
+
"text_model.transformer.h.14.mlp.c_fc.weight": "model-00003-of-00007.safetensors",
|
| 90 |
+
"text_model.transformer.h.14.mlp.c_proj.bias": "model-00003-of-00007.safetensors",
|
| 91 |
+
"text_model.transformer.h.14.mlp.c_proj.weight": "model-00003-of-00007.safetensors",
|
| 92 |
+
"text_model.transformer.h.15.attn.c_attn.bias": "model-00003-of-00007.safetensors",
|
| 93 |
+
"text_model.transformer.h.15.attn.c_attn.weight": "model-00003-of-00007.safetensors",
|
| 94 |
+
"text_model.transformer.h.15.attn.c_proj.bias": "model-00003-of-00007.safetensors",
|
| 95 |
+
"text_model.transformer.h.15.attn.c_proj.weight": "model-00003-of-00007.safetensors",
|
| 96 |
+
"text_model.transformer.h.15.ln_1.bias": "model-00003-of-00007.safetensors",
|
| 97 |
+
"text_model.transformer.h.15.ln_1.weight": "model-00003-of-00007.safetensors",
|
| 98 |
+
"text_model.transformer.h.15.ln_2.bias": "model-00003-of-00007.safetensors",
|
| 99 |
+
"text_model.transformer.h.15.ln_2.weight": "model-00003-of-00007.safetensors",
|
| 100 |
+
"text_model.transformer.h.15.mlp.c_fc.bias": "model-00003-of-00007.safetensors",
|
| 101 |
+
"text_model.transformer.h.15.mlp.c_fc.weight": "model-00003-of-00007.safetensors",
|
| 102 |
+
"text_model.transformer.h.15.mlp.c_proj.bias": "model-00003-of-00007.safetensors",
|
| 103 |
+
"text_model.transformer.h.15.mlp.c_proj.weight": "model-00003-of-00007.safetensors",
|
| 104 |
+
"text_model.transformer.h.16.attn.c_attn.bias": "model-00003-of-00007.safetensors",
|
| 105 |
+
"text_model.transformer.h.16.attn.c_attn.weight": "model-00003-of-00007.safetensors",
|
| 106 |
+
"text_model.transformer.h.16.attn.c_proj.bias": "model-00003-of-00007.safetensors",
|
| 107 |
+
"text_model.transformer.h.16.attn.c_proj.weight": "model-00003-of-00007.safetensors",
|
| 108 |
+
"text_model.transformer.h.16.ln_1.bias": "model-00003-of-00007.safetensors",
|
| 109 |
+
"text_model.transformer.h.16.ln_1.weight": "model-00003-of-00007.safetensors",
|
| 110 |
+
"text_model.transformer.h.16.ln_2.bias": "model-00003-of-00007.safetensors",
|
| 111 |
+
"text_model.transformer.h.16.ln_2.weight": "model-00003-of-00007.safetensors",
|
| 112 |
+
"text_model.transformer.h.16.mlp.c_fc.bias": "model-00003-of-00007.safetensors",
|
| 113 |
+
"text_model.transformer.h.16.mlp.c_fc.weight": "model-00003-of-00007.safetensors",
|
| 114 |
+
"text_model.transformer.h.16.mlp.c_proj.bias": "model-00003-of-00007.safetensors",
|
| 115 |
+
"text_model.transformer.h.16.mlp.c_proj.weight": "model-00003-of-00007.safetensors",
|
| 116 |
+
"text_model.transformer.h.17.attn.c_attn.bias": "model-00003-of-00007.safetensors",
|
| 117 |
+
"text_model.transformer.h.17.attn.c_attn.weight": "model-00003-of-00007.safetensors",
|
| 118 |
+
"text_model.transformer.h.17.attn.c_proj.bias": "model-00003-of-00007.safetensors",
|
| 119 |
+
"text_model.transformer.h.17.attn.c_proj.weight": "model-00003-of-00007.safetensors",
|
| 120 |
+
"text_model.transformer.h.17.ln_1.bias": "model-00003-of-00007.safetensors",
|
| 121 |
+
"text_model.transformer.h.17.ln_1.weight": "model-00003-of-00007.safetensors",
|
| 122 |
+
"text_model.transformer.h.17.ln_2.bias": "model-00003-of-00007.safetensors",
|
| 123 |
+
"text_model.transformer.h.17.ln_2.weight": "model-00003-of-00007.safetensors",
|
| 124 |
+
"text_model.transformer.h.17.mlp.c_fc.bias": "model-00003-of-00007.safetensors",
|
| 125 |
+
"text_model.transformer.h.17.mlp.c_fc.weight": "model-00003-of-00007.safetensors",
|
| 126 |
+
"text_model.transformer.h.17.mlp.c_proj.bias": "model-00003-of-00007.safetensors",
|
| 127 |
+
"text_model.transformer.h.17.mlp.c_proj.weight": "model-00003-of-00007.safetensors",
|
| 128 |
+
"text_model.transformer.h.18.attn.c_attn.bias": "model-00003-of-00007.safetensors",
|
| 129 |
+
"text_model.transformer.h.18.attn.c_attn.weight": "model-00003-of-00007.safetensors",
|
| 130 |
+
"text_model.transformer.h.18.attn.c_proj.bias": "model-00003-of-00007.safetensors",
|
| 131 |
+
"text_model.transformer.h.18.attn.c_proj.weight": "model-00003-of-00007.safetensors",
|
| 132 |
+
"text_model.transformer.h.18.ln_1.bias": "model-00003-of-00007.safetensors",
|
| 133 |
+
"text_model.transformer.h.18.ln_1.weight": "model-00003-of-00007.safetensors",
|
| 134 |
+
"text_model.transformer.h.18.ln_2.bias": "model-00003-of-00007.safetensors",
|
| 135 |
+
"text_model.transformer.h.18.ln_2.weight": "model-00003-of-00007.safetensors",
|
| 136 |
+
"text_model.transformer.h.18.mlp.c_fc.bias": "model-00003-of-00007.safetensors",
|
| 137 |
+
"text_model.transformer.h.18.mlp.c_fc.weight": "model-00003-of-00007.safetensors",
|
| 138 |
+
"text_model.transformer.h.18.mlp.c_proj.bias": "model-00003-of-00007.safetensors",
|
| 139 |
+
"text_model.transformer.h.18.mlp.c_proj.weight": "model-00003-of-00007.safetensors",
|
| 140 |
+
"text_model.transformer.h.19.attn.c_attn.bias": "model-00003-of-00007.safetensors",
|
| 141 |
+
"text_model.transformer.h.19.attn.c_attn.weight": "model-00003-of-00007.safetensors",
|
| 142 |
+
"text_model.transformer.h.19.attn.c_proj.bias": "model-00003-of-00007.safetensors",
|
| 143 |
+
"text_model.transformer.h.19.attn.c_proj.weight": "model-00003-of-00007.safetensors",
|
| 144 |
+
"text_model.transformer.h.19.ln_1.bias": "model-00003-of-00007.safetensors",
|
| 145 |
+
"text_model.transformer.h.19.ln_1.weight": "model-00003-of-00007.safetensors",
|
| 146 |
+
"text_model.transformer.h.19.ln_2.bias": "model-00003-of-00007.safetensors",
|
| 147 |
+
"text_model.transformer.h.19.ln_2.weight": "model-00003-of-00007.safetensors",
|
| 148 |
+
"text_model.transformer.h.19.mlp.c_fc.bias": "model-00003-of-00007.safetensors",
|
| 149 |
+
"text_model.transformer.h.19.mlp.c_fc.weight": "model-00003-of-00007.safetensors",
|
| 150 |
+
"text_model.transformer.h.19.mlp.c_proj.bias": "model-00003-of-00007.safetensors",
|
| 151 |
+
"text_model.transformer.h.19.mlp.c_proj.weight": "model-00003-of-00007.safetensors",
|
| 152 |
+
"text_model.transformer.h.2.attn.c_attn.bias": "model-00001-of-00007.safetensors",
|
| 153 |
+
"text_model.transformer.h.2.attn.c_attn.weight": "model-00001-of-00007.safetensors",
|
| 154 |
+
"text_model.transformer.h.2.attn.c_proj.bias": "model-00001-of-00007.safetensors",
|
| 155 |
+
"text_model.transformer.h.2.attn.c_proj.weight": "model-00001-of-00007.safetensors",
|
| 156 |
+
"text_model.transformer.h.2.ln_1.bias": "model-00001-of-00007.safetensors",
|
| 157 |
+
"text_model.transformer.h.2.ln_1.weight": "model-00001-of-00007.safetensors",
|
| 158 |
+
"text_model.transformer.h.2.ln_2.bias": "model-00001-of-00007.safetensors",
|
| 159 |
+
"text_model.transformer.h.2.ln_2.weight": "model-00001-of-00007.safetensors",
|
| 160 |
+
"text_model.transformer.h.2.mlp.c_fc.bias": "model-00001-of-00007.safetensors",
|
| 161 |
+
"text_model.transformer.h.2.mlp.c_fc.weight": "model-00001-of-00007.safetensors",
|
| 162 |
+
"text_model.transformer.h.2.mlp.c_proj.bias": "model-00001-of-00007.safetensors",
|
| 163 |
+
"text_model.transformer.h.2.mlp.c_proj.weight": "model-00001-of-00007.safetensors",
|
| 164 |
+
"text_model.transformer.h.20.attn.c_attn.bias": "model-00003-of-00007.safetensors",
|
| 165 |
+
"text_model.transformer.h.20.attn.c_attn.weight": "model-00003-of-00007.safetensors",
|
| 166 |
+
"text_model.transformer.h.20.attn.c_proj.bias": "model-00003-of-00007.safetensors",
|
| 167 |
+
"text_model.transformer.h.20.attn.c_proj.weight": "model-00003-of-00007.safetensors",
|
| 168 |
+
"text_model.transformer.h.20.ln_1.bias": "model-00003-of-00007.safetensors",
|
| 169 |
+
"text_model.transformer.h.20.ln_1.weight": "model-00003-of-00007.safetensors",
|
| 170 |
+
"text_model.transformer.h.20.ln_2.bias": "model-00003-of-00007.safetensors",
|
| 171 |
+
"text_model.transformer.h.20.ln_2.weight": "model-00003-of-00007.safetensors",
|
| 172 |
+
"text_model.transformer.h.20.mlp.c_fc.bias": "model-00003-of-00007.safetensors",
|
| 173 |
+
"text_model.transformer.h.20.mlp.c_fc.weight": "model-00003-of-00007.safetensors",
|
| 174 |
+
"text_model.transformer.h.20.mlp.c_proj.bias": "model-00004-of-00007.safetensors",
|
| 175 |
+
"text_model.transformer.h.20.mlp.c_proj.weight": "model-00004-of-00007.safetensors",
|
| 176 |
+
"text_model.transformer.h.21.attn.c_attn.bias": "model-00004-of-00007.safetensors",
|
| 177 |
+
"text_model.transformer.h.21.attn.c_attn.weight": "model-00004-of-00007.safetensors",
|
| 178 |
+
"text_model.transformer.h.21.attn.c_proj.bias": "model-00004-of-00007.safetensors",
|
| 179 |
+
"text_model.transformer.h.21.attn.c_proj.weight": "model-00004-of-00007.safetensors",
|
| 180 |
+
"text_model.transformer.h.21.ln_1.bias": "model-00004-of-00007.safetensors",
|
| 181 |
+
"text_model.transformer.h.21.ln_1.weight": "model-00004-of-00007.safetensors",
|
| 182 |
+
"text_model.transformer.h.21.ln_2.bias": "model-00004-of-00007.safetensors",
|
| 183 |
+
"text_model.transformer.h.21.ln_2.weight": "model-00004-of-00007.safetensors",
|
| 184 |
+
"text_model.transformer.h.21.mlp.c_fc.bias": "model-00004-of-00007.safetensors",
|
| 185 |
+
"text_model.transformer.h.21.mlp.c_fc.weight": "model-00004-of-00007.safetensors",
|
| 186 |
+
"text_model.transformer.h.21.mlp.c_proj.bias": "model-00004-of-00007.safetensors",
|
| 187 |
+
"text_model.transformer.h.21.mlp.c_proj.weight": "model-00004-of-00007.safetensors",
|
| 188 |
+
"text_model.transformer.h.22.attn.c_attn.bias": "model-00004-of-00007.safetensors",
|
| 189 |
+
"text_model.transformer.h.22.attn.c_attn.weight": "model-00004-of-00007.safetensors",
|
| 190 |
+
"text_model.transformer.h.22.attn.c_proj.bias": "model-00004-of-00007.safetensors",
|
| 191 |
+
"text_model.transformer.h.22.attn.c_proj.weight": "model-00004-of-00007.safetensors",
|
| 192 |
+
"text_model.transformer.h.22.ln_1.bias": "model-00004-of-00007.safetensors",
|
| 193 |
+
"text_model.transformer.h.22.ln_1.weight": "model-00004-of-00007.safetensors",
|
| 194 |
+
"text_model.transformer.h.22.ln_2.bias": "model-00004-of-00007.safetensors",
|
| 195 |
+
"text_model.transformer.h.22.ln_2.weight": "model-00004-of-00007.safetensors",
|
| 196 |
+
"text_model.transformer.h.22.mlp.c_fc.bias": "model-00004-of-00007.safetensors",
|
| 197 |
+
"text_model.transformer.h.22.mlp.c_fc.weight": "model-00004-of-00007.safetensors",
|
| 198 |
+
"text_model.transformer.h.22.mlp.c_proj.bias": "model-00004-of-00007.safetensors",
|
| 199 |
+
"text_model.transformer.h.22.mlp.c_proj.weight": "model-00004-of-00007.safetensors",
|
| 200 |
+
"text_model.transformer.h.23.attn.c_attn.bias": "model-00004-of-00007.safetensors",
|
| 201 |
+
"text_model.transformer.h.23.attn.c_attn.weight": "model-00004-of-00007.safetensors",
|
| 202 |
+
"text_model.transformer.h.23.attn.c_proj.bias": "model-00004-of-00007.safetensors",
|
| 203 |
+
"text_model.transformer.h.23.attn.c_proj.weight": "model-00004-of-00007.safetensors",
|
| 204 |
+
"text_model.transformer.h.23.ln_1.bias": "model-00004-of-00007.safetensors",
|
| 205 |
+
"text_model.transformer.h.23.ln_1.weight": "model-00004-of-00007.safetensors",
|
| 206 |
+
"text_model.transformer.h.23.ln_2.bias": "model-00004-of-00007.safetensors",
|
| 207 |
+
"text_model.transformer.h.23.ln_2.weight": "model-00004-of-00007.safetensors",
|
| 208 |
+
"text_model.transformer.h.23.mlp.c_fc.bias": "model-00004-of-00007.safetensors",
|
| 209 |
+
"text_model.transformer.h.23.mlp.c_fc.weight": "model-00004-of-00007.safetensors",
|
| 210 |
+
"text_model.transformer.h.23.mlp.c_proj.bias": "model-00004-of-00007.safetensors",
|
| 211 |
+
"text_model.transformer.h.23.mlp.c_proj.weight": "model-00004-of-00007.safetensors",
|
| 212 |
+
"text_model.transformer.h.24.attn.c_attn.bias": "model-00004-of-00007.safetensors",
|
| 213 |
+
"text_model.transformer.h.24.attn.c_attn.weight": "model-00004-of-00007.safetensors",
|
| 214 |
+
"text_model.transformer.h.24.attn.c_proj.bias": "model-00004-of-00007.safetensors",
|
| 215 |
+
"text_model.transformer.h.24.attn.c_proj.weight": "model-00004-of-00007.safetensors",
|
| 216 |
+
"text_model.transformer.h.24.ln_1.bias": "model-00004-of-00007.safetensors",
|
| 217 |
+
"text_model.transformer.h.24.ln_1.weight": "model-00004-of-00007.safetensors",
|
| 218 |
+
"text_model.transformer.h.24.ln_2.bias": "model-00004-of-00007.safetensors",
|
| 219 |
+
"text_model.transformer.h.24.ln_2.weight": "model-00004-of-00007.safetensors",
|
| 220 |
+
"text_model.transformer.h.24.mlp.c_fc.bias": "model-00004-of-00007.safetensors",
|
| 221 |
+
"text_model.transformer.h.24.mlp.c_fc.weight": "model-00004-of-00007.safetensors",
|
| 222 |
+
"text_model.transformer.h.24.mlp.c_proj.bias": "model-00004-of-00007.safetensors",
|
| 223 |
+
"text_model.transformer.h.24.mlp.c_proj.weight": "model-00004-of-00007.safetensors",
|
| 224 |
+
"text_model.transformer.h.25.attn.c_attn.bias": "model-00004-of-00007.safetensors",
|
| 225 |
+
"text_model.transformer.h.25.attn.c_attn.weight": "model-00004-of-00007.safetensors",
|
| 226 |
+
"text_model.transformer.h.25.attn.c_proj.bias": "model-00004-of-00007.safetensors",
|
| 227 |
+
"text_model.transformer.h.25.attn.c_proj.weight": "model-00004-of-00007.safetensors",
|
| 228 |
+
"text_model.transformer.h.25.ln_1.bias": "model-00004-of-00007.safetensors",
|
| 229 |
+
"text_model.transformer.h.25.ln_1.weight": "model-00004-of-00007.safetensors",
|
| 230 |
+
"text_model.transformer.h.25.ln_2.bias": "model-00004-of-00007.safetensors",
|
| 231 |
+
"text_model.transformer.h.25.ln_2.weight": "model-00004-of-00007.safetensors",
|
| 232 |
+
"text_model.transformer.h.25.mlp.c_fc.bias": "model-00004-of-00007.safetensors",
|
| 233 |
+
"text_model.transformer.h.25.mlp.c_fc.weight": "model-00004-of-00007.safetensors",
|
| 234 |
+
"text_model.transformer.h.25.mlp.c_proj.bias": "model-00004-of-00007.safetensors",
|
| 235 |
+
"text_model.transformer.h.25.mlp.c_proj.weight": "model-00004-of-00007.safetensors",
|
| 236 |
+
"text_model.transformer.h.26.attn.c_attn.bias": "model-00004-of-00007.safetensors",
|
| 237 |
+
"text_model.transformer.h.26.attn.c_attn.weight": "model-00004-of-00007.safetensors",
|
| 238 |
+
"text_model.transformer.h.26.attn.c_proj.bias": "model-00004-of-00007.safetensors",
|
| 239 |
+
"text_model.transformer.h.26.attn.c_proj.weight": "model-00004-of-00007.safetensors",
|
| 240 |
+
"text_model.transformer.h.26.ln_1.bias": "model-00004-of-00007.safetensors",
|
| 241 |
+
"text_model.transformer.h.26.ln_1.weight": "model-00004-of-00007.safetensors",
|
| 242 |
+
"text_model.transformer.h.26.ln_2.bias": "model-00004-of-00007.safetensors",
|
| 243 |
+
"text_model.transformer.h.26.ln_2.weight": "model-00004-of-00007.safetensors",
|
| 244 |
+
"text_model.transformer.h.26.mlp.c_fc.bias": "model-00004-of-00007.safetensors",
|
| 245 |
+
"text_model.transformer.h.26.mlp.c_fc.weight": "model-00004-of-00007.safetensors",
|
| 246 |
+
"text_model.transformer.h.26.mlp.c_proj.bias": "model-00004-of-00007.safetensors",
|
| 247 |
+
"text_model.transformer.h.26.mlp.c_proj.weight": "model-00004-of-00007.safetensors",
|
| 248 |
+
"text_model.transformer.h.27.attn.c_attn.bias": "model-00004-of-00007.safetensors",
|
| 249 |
+
"text_model.transformer.h.27.attn.c_attn.weight": "model-00004-of-00007.safetensors",
|
| 250 |
+
"text_model.transformer.h.27.attn.c_proj.bias": "model-00004-of-00007.safetensors",
|
| 251 |
+
"text_model.transformer.h.27.attn.c_proj.weight": "model-00004-of-00007.safetensors",
|
| 252 |
+
"text_model.transformer.h.27.ln_1.bias": "model-00004-of-00007.safetensors",
|
| 253 |
+
"text_model.transformer.h.27.ln_1.weight": "model-00004-of-00007.safetensors",
|
| 254 |
+
"text_model.transformer.h.27.ln_2.bias": "model-00004-of-00007.safetensors",
|
| 255 |
+
"text_model.transformer.h.27.ln_2.weight": "model-00004-of-00007.safetensors",
|
| 256 |
+
"text_model.transformer.h.27.mlp.c_fc.bias": "model-00004-of-00007.safetensors",
|
| 257 |
+
"text_model.transformer.h.27.mlp.c_fc.weight": "model-00004-of-00007.safetensors",
|
| 258 |
+
"text_model.transformer.h.27.mlp.c_proj.bias": "model-00004-of-00007.safetensors",
|
| 259 |
+
"text_model.transformer.h.27.mlp.c_proj.weight": "model-00004-of-00007.safetensors",
|
| 260 |
+
"text_model.transformer.h.28.attn.c_attn.bias": "model-00005-of-00007.safetensors",
|
| 261 |
+
"text_model.transformer.h.28.attn.c_attn.weight": "model-00005-of-00007.safetensors",
|
| 262 |
+
"text_model.transformer.h.28.attn.c_proj.bias": "model-00005-of-00007.safetensors",
|
| 263 |
+
"text_model.transformer.h.28.attn.c_proj.weight": "model-00005-of-00007.safetensors",
|
| 264 |
+
"text_model.transformer.h.28.ln_1.bias": "model-00004-of-00007.safetensors",
|
| 265 |
+
"text_model.transformer.h.28.ln_1.weight": "model-00004-of-00007.safetensors",
|
| 266 |
+
"text_model.transformer.h.28.ln_2.bias": "model-00005-of-00007.safetensors",
|
| 267 |
+
"text_model.transformer.h.28.ln_2.weight": "model-00005-of-00007.safetensors",
|
| 268 |
+
"text_model.transformer.h.28.mlp.c_fc.bias": "model-00005-of-00007.safetensors",
|
| 269 |
+
"text_model.transformer.h.28.mlp.c_fc.weight": "model-00005-of-00007.safetensors",
|
| 270 |
+
"text_model.transformer.h.28.mlp.c_proj.bias": "model-00005-of-00007.safetensors",
|
| 271 |
+
"text_model.transformer.h.28.mlp.c_proj.weight": "model-00005-of-00007.safetensors",
|
| 272 |
+
"text_model.transformer.h.29.attn.c_attn.bias": "model-00005-of-00007.safetensors",
|
| 273 |
+
"text_model.transformer.h.29.attn.c_attn.weight": "model-00005-of-00007.safetensors",
|
| 274 |
+
"text_model.transformer.h.29.attn.c_proj.bias": "model-00005-of-00007.safetensors",
|
| 275 |
+
"text_model.transformer.h.29.attn.c_proj.weight": "model-00005-of-00007.safetensors",
|
| 276 |
+
"text_model.transformer.h.29.ln_1.bias": "model-00005-of-00007.safetensors",
|
| 277 |
+
"text_model.transformer.h.29.ln_1.weight": "model-00005-of-00007.safetensors",
|
| 278 |
+
"text_model.transformer.h.29.ln_2.bias": "model-00005-of-00007.safetensors",
|
| 279 |
+
"text_model.transformer.h.29.ln_2.weight": "model-00005-of-00007.safetensors",
|
| 280 |
+
"text_model.transformer.h.29.mlp.c_fc.bias": "model-00005-of-00007.safetensors",
|
| 281 |
+
"text_model.transformer.h.29.mlp.c_fc.weight": "model-00005-of-00007.safetensors",
|
| 282 |
+
"text_model.transformer.h.29.mlp.c_proj.bias": "model-00005-of-00007.safetensors",
|
| 283 |
+
"text_model.transformer.h.29.mlp.c_proj.weight": "model-00005-of-00007.safetensors",
|
| 284 |
+
"text_model.transformer.h.3.attn.c_attn.bias": "model-00001-of-00007.safetensors",
|
| 285 |
+
"text_model.transformer.h.3.attn.c_attn.weight": "model-00001-of-00007.safetensors",
|
| 286 |
+
"text_model.transformer.h.3.attn.c_proj.bias": "model-00001-of-00007.safetensors",
|
| 287 |
+
"text_model.transformer.h.3.attn.c_proj.weight": "model-00001-of-00007.safetensors",
|
| 288 |
+
"text_model.transformer.h.3.ln_1.bias": "model-00001-of-00007.safetensors",
|
| 289 |
+
"text_model.transformer.h.3.ln_1.weight": "model-00001-of-00007.safetensors",
|
| 290 |
+
"text_model.transformer.h.3.ln_2.bias": "model-00001-of-00007.safetensors",
|
| 291 |
+
"text_model.transformer.h.3.ln_2.weight": "model-00001-of-00007.safetensors",
|
| 292 |
+
"text_model.transformer.h.3.mlp.c_fc.bias": "model-00001-of-00007.safetensors",
|
| 293 |
+
"text_model.transformer.h.3.mlp.c_fc.weight": "model-00001-of-00007.safetensors",
|
| 294 |
+
"text_model.transformer.h.3.mlp.c_proj.bias": "model-00001-of-00007.safetensors",
|
| 295 |
+
"text_model.transformer.h.3.mlp.c_proj.weight": "model-00001-of-00007.safetensors",
|
| 296 |
+
"text_model.transformer.h.30.attn.c_attn.bias": "model-00005-of-00007.safetensors",
|
| 297 |
+
"text_model.transformer.h.30.attn.c_attn.weight": "model-00005-of-00007.safetensors",
|
| 298 |
+
"text_model.transformer.h.30.attn.c_proj.bias": "model-00005-of-00007.safetensors",
|
| 299 |
+
"text_model.transformer.h.30.attn.c_proj.weight": "model-00005-of-00007.safetensors",
|
| 300 |
+
"text_model.transformer.h.30.ln_1.bias": "model-00005-of-00007.safetensors",
|
| 301 |
+
"text_model.transformer.h.30.ln_1.weight": "model-00005-of-00007.safetensors",
|
| 302 |
+
"text_model.transformer.h.30.ln_2.bias": "model-00005-of-00007.safetensors",
|
| 303 |
+
"text_model.transformer.h.30.ln_2.weight": "model-00005-of-00007.safetensors",
|
| 304 |
+
"text_model.transformer.h.30.mlp.c_fc.bias": "model-00005-of-00007.safetensors",
|
| 305 |
+
"text_model.transformer.h.30.mlp.c_fc.weight": "model-00005-of-00007.safetensors",
|
| 306 |
+
"text_model.transformer.h.30.mlp.c_proj.bias": "model-00005-of-00007.safetensors",
|
| 307 |
+
"text_model.transformer.h.30.mlp.c_proj.weight": "model-00005-of-00007.safetensors",
|
| 308 |
+
"text_model.transformer.h.31.attn.c_attn.bias": "model-00005-of-00007.safetensors",
|
| 309 |
+
"text_model.transformer.h.31.attn.c_attn.weight": "model-00005-of-00007.safetensors",
|
| 310 |
+
"text_model.transformer.h.31.attn.c_proj.bias": "model-00005-of-00007.safetensors",
|
| 311 |
+
"text_model.transformer.h.31.attn.c_proj.weight": "model-00005-of-00007.safetensors",
|
| 312 |
+
"text_model.transformer.h.31.ln_1.bias": "model-00005-of-00007.safetensors",
|
| 313 |
+
"text_model.transformer.h.31.ln_1.weight": "model-00005-of-00007.safetensors",
|
| 314 |
+
"text_model.transformer.h.31.ln_2.bias": "model-00005-of-00007.safetensors",
|
| 315 |
+
"text_model.transformer.h.31.ln_2.weight": "model-00005-of-00007.safetensors",
|
| 316 |
+
"text_model.transformer.h.31.mlp.c_fc.bias": "model-00005-of-00007.safetensors",
|
| 317 |
+
"text_model.transformer.h.31.mlp.c_fc.weight": "model-00005-of-00007.safetensors",
|
| 318 |
+
"text_model.transformer.h.31.mlp.c_proj.bias": "model-00005-of-00007.safetensors",
|
| 319 |
+
"text_model.transformer.h.31.mlp.c_proj.weight": "model-00005-of-00007.safetensors",
|
| 320 |
+
"text_model.transformer.h.32.attn.c_attn.bias": "model-00005-of-00007.safetensors",
|
| 321 |
+
"text_model.transformer.h.32.attn.c_attn.weight": "model-00005-of-00007.safetensors",
|
| 322 |
+
"text_model.transformer.h.32.attn.c_proj.bias": "model-00005-of-00007.safetensors",
|
| 323 |
+
"text_model.transformer.h.32.attn.c_proj.weight": "model-00005-of-00007.safetensors",
|
| 324 |
+
"text_model.transformer.h.32.ln_1.bias": "model-00005-of-00007.safetensors",
|
| 325 |
+
"text_model.transformer.h.32.ln_1.weight": "model-00005-of-00007.safetensors",
|
| 326 |
+
"text_model.transformer.h.32.ln_2.bias": "model-00005-of-00007.safetensors",
|
| 327 |
+
"text_model.transformer.h.32.ln_2.weight": "model-00005-of-00007.safetensors",
|
| 328 |
+
"text_model.transformer.h.32.mlp.c_fc.bias": "model-00005-of-00007.safetensors",
|
| 329 |
+
"text_model.transformer.h.32.mlp.c_fc.weight": "model-00005-of-00007.safetensors",
|
| 330 |
+
"text_model.transformer.h.32.mlp.c_proj.bias": "model-00005-of-00007.safetensors",
|
| 331 |
+
"text_model.transformer.h.32.mlp.c_proj.weight": "model-00005-of-00007.safetensors",
|
| 332 |
+
"text_model.transformer.h.33.attn.c_attn.bias": "model-00005-of-00007.safetensors",
|
| 333 |
+
"text_model.transformer.h.33.attn.c_attn.weight": "model-00005-of-00007.safetensors",
|
| 334 |
+
"text_model.transformer.h.33.attn.c_proj.bias": "model-00005-of-00007.safetensors",
|
| 335 |
+
"text_model.transformer.h.33.attn.c_proj.weight": "model-00005-of-00007.safetensors",
|
| 336 |
+
"text_model.transformer.h.33.ln_1.bias": "model-00005-of-00007.safetensors",
|
| 337 |
+
"text_model.transformer.h.33.ln_1.weight": "model-00005-of-00007.safetensors",
|
| 338 |
+
"text_model.transformer.h.33.ln_2.bias": "model-00005-of-00007.safetensors",
|
| 339 |
+
"text_model.transformer.h.33.ln_2.weight": "model-00005-of-00007.safetensors",
|
| 340 |
+
"text_model.transformer.h.33.mlp.c_fc.bias": "model-00005-of-00007.safetensors",
|
| 341 |
+
"text_model.transformer.h.33.mlp.c_fc.weight": "model-00005-of-00007.safetensors",
|
| 342 |
+
"text_model.transformer.h.33.mlp.c_proj.bias": "model-00005-of-00007.safetensors",
|
| 343 |
+
"text_model.transformer.h.33.mlp.c_proj.weight": "model-00005-of-00007.safetensors",
|
| 344 |
+
"text_model.transformer.h.34.attn.c_attn.bias": "model-00005-of-00007.safetensors",
|
| 345 |
+
"text_model.transformer.h.34.attn.c_attn.weight": "model-00005-of-00007.safetensors",
|
| 346 |
+
"text_model.transformer.h.34.attn.c_proj.bias": "model-00005-of-00007.safetensors",
|
| 347 |
+
"text_model.transformer.h.34.attn.c_proj.weight": "model-00005-of-00007.safetensors",
|
| 348 |
+
"text_model.transformer.h.34.ln_1.bias": "model-00005-of-00007.safetensors",
|
| 349 |
+
"text_model.transformer.h.34.ln_1.weight": "model-00005-of-00007.safetensors",
|
| 350 |
+
"text_model.transformer.h.34.ln_2.bias": "model-00005-of-00007.safetensors",
|
| 351 |
+
"text_model.transformer.h.34.ln_2.weight": "model-00005-of-00007.safetensors",
|
| 352 |
+
"text_model.transformer.h.34.mlp.c_fc.bias": "model-00005-of-00007.safetensors",
|
| 353 |
+
"text_model.transformer.h.34.mlp.c_fc.weight": "model-00005-of-00007.safetensors",
|
| 354 |
+
"text_model.transformer.h.34.mlp.c_proj.bias": "model-00005-of-00007.safetensors",
|
| 355 |
+
"text_model.transformer.h.34.mlp.c_proj.weight": "model-00005-of-00007.safetensors",
|
| 356 |
+
"text_model.transformer.h.35.attn.c_attn.bias": "model-00005-of-00007.safetensors",
|
| 357 |
+
"text_model.transformer.h.35.attn.c_attn.weight": "model-00005-of-00007.safetensors",
|
| 358 |
+
"text_model.transformer.h.35.attn.c_proj.bias": "model-00005-of-00007.safetensors",
|
| 359 |
+
"text_model.transformer.h.35.attn.c_proj.weight": "model-00005-of-00007.safetensors",
|
| 360 |
+
"text_model.transformer.h.35.ln_1.bias": "model-00005-of-00007.safetensors",
|
| 361 |
+
"text_model.transformer.h.35.ln_1.weight": "model-00005-of-00007.safetensors",
|
| 362 |
+
"text_model.transformer.h.35.ln_2.bias": "model-00005-of-00007.safetensors",
|
| 363 |
+
"text_model.transformer.h.35.ln_2.weight": "model-00005-of-00007.safetensors",
|
| 364 |
+
"text_model.transformer.h.35.mlp.c_fc.bias": "model-00006-of-00007.safetensors",
|
| 365 |
+
"text_model.transformer.h.35.mlp.c_fc.weight": "model-00006-of-00007.safetensors",
|
| 366 |
+
"text_model.transformer.h.35.mlp.c_proj.bias": "model-00006-of-00007.safetensors",
|
| 367 |
+
"text_model.transformer.h.35.mlp.c_proj.weight": "model-00006-of-00007.safetensors",
|
| 368 |
+
"text_model.transformer.h.36.attn.c_attn.bias": "model-00006-of-00007.safetensors",
|
| 369 |
+
"text_model.transformer.h.36.attn.c_attn.weight": "model-00006-of-00007.safetensors",
|
| 370 |
+
"text_model.transformer.h.36.attn.c_proj.bias": "model-00006-of-00007.safetensors",
|
| 371 |
+
"text_model.transformer.h.36.attn.c_proj.weight": "model-00006-of-00007.safetensors",
|
| 372 |
+
"text_model.transformer.h.36.ln_1.bias": "model-00006-of-00007.safetensors",
|
| 373 |
+
"text_model.transformer.h.36.ln_1.weight": "model-00006-of-00007.safetensors",
|
| 374 |
+
"text_model.transformer.h.36.ln_2.bias": "model-00006-of-00007.safetensors",
|
| 375 |
+
"text_model.transformer.h.36.ln_2.weight": "model-00006-of-00007.safetensors",
|
| 376 |
+
"text_model.transformer.h.36.mlp.c_fc.bias": "model-00006-of-00007.safetensors",
|
| 377 |
+
"text_model.transformer.h.36.mlp.c_fc.weight": "model-00006-of-00007.safetensors",
|
| 378 |
+
"text_model.transformer.h.36.mlp.c_proj.bias": "model-00006-of-00007.safetensors",
|
| 379 |
+
"text_model.transformer.h.36.mlp.c_proj.weight": "model-00006-of-00007.safetensors",
|
| 380 |
+
"text_model.transformer.h.37.attn.c_attn.bias": "model-00006-of-00007.safetensors",
|
| 381 |
+
"text_model.transformer.h.37.attn.c_attn.weight": "model-00006-of-00007.safetensors",
|
| 382 |
+
"text_model.transformer.h.37.attn.c_proj.bias": "model-00006-of-00007.safetensors",
|
| 383 |
+
"text_model.transformer.h.37.attn.c_proj.weight": "model-00006-of-00007.safetensors",
|
| 384 |
+
"text_model.transformer.h.37.ln_1.bias": "model-00006-of-00007.safetensors",
|
| 385 |
+
"text_model.transformer.h.37.ln_1.weight": "model-00006-of-00007.safetensors",
|
| 386 |
+
"text_model.transformer.h.37.ln_2.bias": "model-00006-of-00007.safetensors",
|
| 387 |
+
"text_model.transformer.h.37.ln_2.weight": "model-00006-of-00007.safetensors",
|
| 388 |
+
"text_model.transformer.h.37.mlp.c_fc.bias": "model-00006-of-00007.safetensors",
|
| 389 |
+
"text_model.transformer.h.37.mlp.c_fc.weight": "model-00006-of-00007.safetensors",
|
| 390 |
+
"text_model.transformer.h.37.mlp.c_proj.bias": "model-00006-of-00007.safetensors",
|
| 391 |
+
"text_model.transformer.h.37.mlp.c_proj.weight": "model-00006-of-00007.safetensors",
|
| 392 |
+
"text_model.transformer.h.38.attn.c_attn.bias": "model-00006-of-00007.safetensors",
|
| 393 |
+
"text_model.transformer.h.38.attn.c_attn.weight": "model-00006-of-00007.safetensors",
|
| 394 |
+
"text_model.transformer.h.38.attn.c_proj.bias": "model-00006-of-00007.safetensors",
|
| 395 |
+
"text_model.transformer.h.38.attn.c_proj.weight": "model-00006-of-00007.safetensors",
|
| 396 |
+
"text_model.transformer.h.38.ln_1.bias": "model-00006-of-00007.safetensors",
|
| 397 |
+
"text_model.transformer.h.38.ln_1.weight": "model-00006-of-00007.safetensors",
|
| 398 |
+
"text_model.transformer.h.38.ln_2.bias": "model-00006-of-00007.safetensors",
|
| 399 |
+
"text_model.transformer.h.38.ln_2.weight": "model-00006-of-00007.safetensors",
|
| 400 |
+
"text_model.transformer.h.38.mlp.c_fc.bias": "model-00006-of-00007.safetensors",
|
| 401 |
+
"text_model.transformer.h.38.mlp.c_fc.weight": "model-00006-of-00007.safetensors",
|
| 402 |
+
"text_model.transformer.h.38.mlp.c_proj.bias": "model-00006-of-00007.safetensors",
|
| 403 |
+
"text_model.transformer.h.38.mlp.c_proj.weight": "model-00006-of-00007.safetensors",
|
| 404 |
+
"text_model.transformer.h.39.attn.c_attn.bias": "model-00006-of-00007.safetensors",
|
| 405 |
+
"text_model.transformer.h.39.attn.c_attn.weight": "model-00006-of-00007.safetensors",
|
| 406 |
+
"text_model.transformer.h.39.attn.c_proj.bias": "model-00006-of-00007.safetensors",
|
| 407 |
+
"text_model.transformer.h.39.attn.c_proj.weight": "model-00006-of-00007.safetensors",
|
| 408 |
+
"text_model.transformer.h.39.ln_1.bias": "model-00006-of-00007.safetensors",
|
| 409 |
+
"text_model.transformer.h.39.ln_1.weight": "model-00006-of-00007.safetensors",
|
| 410 |
+
"text_model.transformer.h.39.ln_2.bias": "model-00006-of-00007.safetensors",
|
| 411 |
+
"text_model.transformer.h.39.ln_2.weight": "model-00006-of-00007.safetensors",
|
| 412 |
+
"text_model.transformer.h.39.mlp.c_fc.bias": "model-00006-of-00007.safetensors",
|
| 413 |
+
"text_model.transformer.h.39.mlp.c_fc.weight": "model-00006-of-00007.safetensors",
|
| 414 |
+
"text_model.transformer.h.39.mlp.c_proj.bias": "model-00006-of-00007.safetensors",
|
| 415 |
+
"text_model.transformer.h.39.mlp.c_proj.weight": "model-00006-of-00007.safetensors",
|
| 416 |
+
"text_model.transformer.h.4.attn.c_attn.bias": "model-00001-of-00007.safetensors",
|
| 417 |
+
"text_model.transformer.h.4.attn.c_attn.weight": "model-00001-of-00007.safetensors",
|
| 418 |
+
"text_model.transformer.h.4.attn.c_proj.bias": "model-00001-of-00007.safetensors",
|
| 419 |
+
"text_model.transformer.h.4.attn.c_proj.weight": "model-00001-of-00007.safetensors",
|
| 420 |
+
"text_model.transformer.h.4.ln_1.bias": "model-00001-of-00007.safetensors",
|
| 421 |
+
"text_model.transformer.h.4.ln_1.weight": "model-00001-of-00007.safetensors",
|
| 422 |
+
"text_model.transformer.h.4.ln_2.bias": "model-00001-of-00007.safetensors",
|
| 423 |
+
"text_model.transformer.h.4.ln_2.weight": "model-00001-of-00007.safetensors",
|
| 424 |
+
"text_model.transformer.h.4.mlp.c_fc.bias": "model-00001-of-00007.safetensors",
|
| 425 |
+
"text_model.transformer.h.4.mlp.c_fc.weight": "model-00001-of-00007.safetensors",
|
| 426 |
+
"text_model.transformer.h.4.mlp.c_proj.bias": "model-00001-of-00007.safetensors",
|
| 427 |
+
"text_model.transformer.h.4.mlp.c_proj.weight": "model-00001-of-00007.safetensors",
|
| 428 |
+
"text_model.transformer.h.40.attn.c_attn.bias": "model-00006-of-00007.safetensors",
|
| 429 |
+
"text_model.transformer.h.40.attn.c_attn.weight": "model-00006-of-00007.safetensors",
|
| 430 |
+
"text_model.transformer.h.40.attn.c_proj.bias": "model-00006-of-00007.safetensors",
|
| 431 |
+
"text_model.transformer.h.40.attn.c_proj.weight": "model-00006-of-00007.safetensors",
|
| 432 |
+
"text_model.transformer.h.40.ln_1.bias": "model-00006-of-00007.safetensors",
|
| 433 |
+
"text_model.transformer.h.40.ln_1.weight": "model-00006-of-00007.safetensors",
|
| 434 |
+
"text_model.transformer.h.40.ln_2.bias": "model-00006-of-00007.safetensors",
|
| 435 |
+
"text_model.transformer.h.40.ln_2.weight": "model-00006-of-00007.safetensors",
|
| 436 |
+
"text_model.transformer.h.40.mlp.c_fc.bias": "model-00006-of-00007.safetensors",
|
| 437 |
+
"text_model.transformer.h.40.mlp.c_fc.weight": "model-00006-of-00007.safetensors",
|
| 438 |
+
"text_model.transformer.h.40.mlp.c_proj.bias": "model-00006-of-00007.safetensors",
|
| 439 |
+
"text_model.transformer.h.40.mlp.c_proj.weight": "model-00006-of-00007.safetensors",
|
| 440 |
+
"text_model.transformer.h.41.attn.c_attn.bias": "model-00006-of-00007.safetensors",
|
| 441 |
+
"text_model.transformer.h.41.attn.c_attn.weight": "model-00006-of-00007.safetensors",
|
| 442 |
+
"text_model.transformer.h.41.attn.c_proj.bias": "model-00006-of-00007.safetensors",
|
| 443 |
+
"text_model.transformer.h.41.attn.c_proj.weight": "model-00006-of-00007.safetensors",
|
| 444 |
+
"text_model.transformer.h.41.ln_1.bias": "model-00006-of-00007.safetensors",
|
| 445 |
+
"text_model.transformer.h.41.ln_1.weight": "model-00006-of-00007.safetensors",
|
| 446 |
+
"text_model.transformer.h.41.ln_2.bias": "model-00006-of-00007.safetensors",
|
| 447 |
+
"text_model.transformer.h.41.ln_2.weight": "model-00006-of-00007.safetensors",
|
| 448 |
+
"text_model.transformer.h.41.mlp.c_fc.bias": "model-00006-of-00007.safetensors",
|
| 449 |
+
"text_model.transformer.h.41.mlp.c_fc.weight": "model-00006-of-00007.safetensors",
|
| 450 |
+
"text_model.transformer.h.41.mlp.c_proj.bias": "model-00006-of-00007.safetensors",
|
| 451 |
+
"text_model.transformer.h.41.mlp.c_proj.weight": "model-00006-of-00007.safetensors",
|
| 452 |
+
"text_model.transformer.h.5.attn.c_attn.bias": "model-00001-of-00007.safetensors",
|
| 453 |
+
"text_model.transformer.h.5.attn.c_attn.weight": "model-00001-of-00007.safetensors",
|
| 454 |
+
"text_model.transformer.h.5.attn.c_proj.bias": "model-00001-of-00007.safetensors",
|
| 455 |
+
"text_model.transformer.h.5.attn.c_proj.weight": "model-00001-of-00007.safetensors",
|
| 456 |
+
"text_model.transformer.h.5.ln_1.bias": "model-00001-of-00007.safetensors",
|
| 457 |
+
"text_model.transformer.h.5.ln_1.weight": "model-00001-of-00007.safetensors",
|
| 458 |
+
"text_model.transformer.h.5.ln_2.bias": "model-00001-of-00007.safetensors",
|
| 459 |
+
"text_model.transformer.h.5.ln_2.weight": "model-00001-of-00007.safetensors",
|
| 460 |
+
"text_model.transformer.h.5.mlp.c_fc.bias": "model-00001-of-00007.safetensors",
|
| 461 |
+
"text_model.transformer.h.5.mlp.c_fc.weight": "model-00001-of-00007.safetensors",
|
| 462 |
+
"text_model.transformer.h.5.mlp.c_proj.bias": "model-00001-of-00007.safetensors",
|
| 463 |
+
"text_model.transformer.h.5.mlp.c_proj.weight": "model-00001-of-00007.safetensors",
|
| 464 |
+
"text_model.transformer.h.6.attn.c_attn.bias": "model-00002-of-00007.safetensors",
|
| 465 |
+
"text_model.transformer.h.6.attn.c_attn.weight": "model-00002-of-00007.safetensors",
|
| 466 |
+
"text_model.transformer.h.6.attn.c_proj.bias": "model-00002-of-00007.safetensors",
|
| 467 |
+
"text_model.transformer.h.6.attn.c_proj.weight": "model-00002-of-00007.safetensors",
|
| 468 |
+
"text_model.transformer.h.6.ln_1.bias": "model-00001-of-00007.safetensors",
|
| 469 |
+
"text_model.transformer.h.6.ln_1.weight": "model-00001-of-00007.safetensors",
|
| 470 |
+
"text_model.transformer.h.6.ln_2.bias": "model-00002-of-00007.safetensors",
|
| 471 |
+
"text_model.transformer.h.6.ln_2.weight": "model-00002-of-00007.safetensors",
|
| 472 |
+
"text_model.transformer.h.6.mlp.c_fc.bias": "model-00002-of-00007.safetensors",
|
| 473 |
+
"text_model.transformer.h.6.mlp.c_fc.weight": "model-00002-of-00007.safetensors",
|
| 474 |
+
"text_model.transformer.h.6.mlp.c_proj.bias": "model-00002-of-00007.safetensors",
|
| 475 |
+
"text_model.transformer.h.6.mlp.c_proj.weight": "model-00002-of-00007.safetensors",
|
| 476 |
+
"text_model.transformer.h.7.attn.c_attn.bias": "model-00002-of-00007.safetensors",
|
| 477 |
+
"text_model.transformer.h.7.attn.c_attn.weight": "model-00002-of-00007.safetensors",
|
| 478 |
+
"text_model.transformer.h.7.attn.c_proj.bias": "model-00002-of-00007.safetensors",
|
| 479 |
+
"text_model.transformer.h.7.attn.c_proj.weight": "model-00002-of-00007.safetensors",
|
| 480 |
+
"text_model.transformer.h.7.ln_1.bias": "model-00002-of-00007.safetensors",
|
| 481 |
+
"text_model.transformer.h.7.ln_1.weight": "model-00002-of-00007.safetensors",
|
| 482 |
+
"text_model.transformer.h.7.ln_2.bias": "model-00002-of-00007.safetensors",
|
| 483 |
+
"text_model.transformer.h.7.ln_2.weight": "model-00002-of-00007.safetensors",
|
| 484 |
+
"text_model.transformer.h.7.mlp.c_fc.bias": "model-00002-of-00007.safetensors",
|
| 485 |
+
"text_model.transformer.h.7.mlp.c_fc.weight": "model-00002-of-00007.safetensors",
|
| 486 |
+
"text_model.transformer.h.7.mlp.c_proj.bias": "model-00002-of-00007.safetensors",
|
| 487 |
+
"text_model.transformer.h.7.mlp.c_proj.weight": "model-00002-of-00007.safetensors",
|
| 488 |
+
"text_model.transformer.h.8.attn.c_attn.bias": "model-00002-of-00007.safetensors",
|
| 489 |
+
"text_model.transformer.h.8.attn.c_attn.weight": "model-00002-of-00007.safetensors",
|
| 490 |
+
"text_model.transformer.h.8.attn.c_proj.bias": "model-00002-of-00007.safetensors",
|
| 491 |
+
"text_model.transformer.h.8.attn.c_proj.weight": "model-00002-of-00007.safetensors",
|
| 492 |
+
"text_model.transformer.h.8.ln_1.bias": "model-00002-of-00007.safetensors",
|
| 493 |
+
"text_model.transformer.h.8.ln_1.weight": "model-00002-of-00007.safetensors",
|
| 494 |
+
"text_model.transformer.h.8.ln_2.bias": "model-00002-of-00007.safetensors",
|
| 495 |
+
"text_model.transformer.h.8.ln_2.weight": "model-00002-of-00007.safetensors",
|
| 496 |
+
"text_model.transformer.h.8.mlp.c_fc.bias": "model-00002-of-00007.safetensors",
|
| 497 |
+
"text_model.transformer.h.8.mlp.c_fc.weight": "model-00002-of-00007.safetensors",
|
| 498 |
+
"text_model.transformer.h.8.mlp.c_proj.bias": "model-00002-of-00007.safetensors",
|
| 499 |
+
"text_model.transformer.h.8.mlp.c_proj.weight": "model-00002-of-00007.safetensors",
|
| 500 |
+
"text_model.transformer.h.9.attn.c_attn.bias": "model-00002-of-00007.safetensors",
|
| 501 |
+
"text_model.transformer.h.9.attn.c_attn.weight": "model-00002-of-00007.safetensors",
|
| 502 |
+
"text_model.transformer.h.9.attn.c_proj.bias": "model-00002-of-00007.safetensors",
|
| 503 |
+
"text_model.transformer.h.9.attn.c_proj.weight": "model-00002-of-00007.safetensors",
|
| 504 |
+
"text_model.transformer.h.9.ln_1.bias": "model-00002-of-00007.safetensors",
|
| 505 |
+
"text_model.transformer.h.9.ln_1.weight": "model-00002-of-00007.safetensors",
|
| 506 |
+
"text_model.transformer.h.9.ln_2.bias": "model-00002-of-00007.safetensors",
|
| 507 |
+
"text_model.transformer.h.9.ln_2.weight": "model-00002-of-00007.safetensors",
|
| 508 |
+
"text_model.transformer.h.9.mlp.c_fc.bias": "model-00002-of-00007.safetensors",
|
| 509 |
+
"text_model.transformer.h.9.mlp.c_fc.weight": "model-00002-of-00007.safetensors",
|
| 510 |
+
"text_model.transformer.h.9.mlp.c_proj.bias": "model-00002-of-00007.safetensors",
|
| 511 |
+
"text_model.transformer.h.9.mlp.c_proj.weight": "model-00002-of-00007.safetensors",
|
| 512 |
+
"text_model.transformer.ln_f.bias": "model-00006-of-00007.safetensors",
|
| 513 |
+
"text_model.transformer.ln_f.weight": "model-00006-of-00007.safetensors",
|
| 514 |
+
"text_model.transformer.wpe.weight": "model-00001-of-00007.safetensors",
|
| 515 |
+
"text_model.transformer.wte.weight": "model-00001-of-00007.safetensors",
|
| 516 |
+
"vis_head.bias": "model-00007-of-00007.safetensors",
|
| 517 |
+
"vis_head.weight": "model-00007-of-00007.safetensors",
|
| 518 |
+
"vision_model.model.decoder.conv_in.bias": "model-00006-of-00007.safetensors",
|
| 519 |
+
"vision_model.model.decoder.conv_in.weight": "model-00006-of-00007.safetensors",
|
| 520 |
+
"vision_model.model.decoder.conv_out.bias": "model-00006-of-00007.safetensors",
|
| 521 |
+
"vision_model.model.decoder.conv_out.weight": "model-00006-of-00007.safetensors",
|
| 522 |
+
"vision_model.model.decoder.mid.attn_1.k.bias": "model-00006-of-00007.safetensors",
|
| 523 |
+
"vision_model.model.decoder.mid.attn_1.k.weight": "model-00006-of-00007.safetensors",
|
| 524 |
+
"vision_model.model.decoder.mid.attn_1.norm.bias": "model-00006-of-00007.safetensors",
|
| 525 |
+
"vision_model.model.decoder.mid.attn_1.norm.weight": "model-00006-of-00007.safetensors",
|
| 526 |
+
"vision_model.model.decoder.mid.attn_1.proj_out.bias": "model-00006-of-00007.safetensors",
|
| 527 |
+
"vision_model.model.decoder.mid.attn_1.proj_out.weight": "model-00006-of-00007.safetensors",
|
| 528 |
+
"vision_model.model.decoder.mid.attn_1.q.bias": "model-00006-of-00007.safetensors",
|
| 529 |
+
"vision_model.model.decoder.mid.attn_1.q.weight": "model-00006-of-00007.safetensors",
|
| 530 |
+
"vision_model.model.decoder.mid.attn_1.v.bias": "model-00006-of-00007.safetensors",
|
| 531 |
+
"vision_model.model.decoder.mid.attn_1.v.weight": "model-00006-of-00007.safetensors",
|
| 532 |
+
"vision_model.model.decoder.mid.block_1.conv1.bias": "model-00006-of-00007.safetensors",
|
| 533 |
+
"vision_model.model.decoder.mid.block_1.conv1.weight": "model-00006-of-00007.safetensors",
|
| 534 |
+
"vision_model.model.decoder.mid.block_1.conv2.bias": "model-00006-of-00007.safetensors",
|
| 535 |
+
"vision_model.model.decoder.mid.block_1.conv2.weight": "model-00006-of-00007.safetensors",
|
| 536 |
+
"vision_model.model.decoder.mid.block_1.norm1.bias": "model-00006-of-00007.safetensors",
|
| 537 |
+
"vision_model.model.decoder.mid.block_1.norm1.weight": "model-00006-of-00007.safetensors",
|
| 538 |
+
"vision_model.model.decoder.mid.block_1.norm2.bias": "model-00006-of-00007.safetensors",
|
| 539 |
+
"vision_model.model.decoder.mid.block_1.norm2.weight": "model-00006-of-00007.safetensors",
|
| 540 |
+
"vision_model.model.decoder.mid.block_2.conv1.bias": "model-00006-of-00007.safetensors",
|
| 541 |
+
"vision_model.model.decoder.mid.block_2.conv1.weight": "model-00006-of-00007.safetensors",
|
| 542 |
+
"vision_model.model.decoder.mid.block_2.conv2.bias": "model-00006-of-00007.safetensors",
|
| 543 |
+
"vision_model.model.decoder.mid.block_2.conv2.weight": "model-00006-of-00007.safetensors",
|
| 544 |
+
"vision_model.model.decoder.mid.block_2.norm1.bias": "model-00006-of-00007.safetensors",
|
| 545 |
+
"vision_model.model.decoder.mid.block_2.norm1.weight": "model-00006-of-00007.safetensors",
|
| 546 |
+
"vision_model.model.decoder.mid.block_2.norm2.bias": "model-00006-of-00007.safetensors",
|
| 547 |
+
"vision_model.model.decoder.mid.block_2.norm2.weight": "model-00006-of-00007.safetensors",
|
| 548 |
+
"vision_model.model.decoder.norm_out.bias": "model-00006-of-00007.safetensors",
|
| 549 |
+
"vision_model.model.decoder.norm_out.weight": "model-00006-of-00007.safetensors",
|
| 550 |
+
"vision_model.model.decoder.up.0.block.0.conv1.bias": "model-00006-of-00007.safetensors",
|
| 551 |
+
"vision_model.model.decoder.up.0.block.0.conv1.weight": "model-00006-of-00007.safetensors",
|
| 552 |
+
"vision_model.model.decoder.up.0.block.0.conv2.bias": "model-00006-of-00007.safetensors",
|
| 553 |
+
"vision_model.model.decoder.up.0.block.0.conv2.weight": "model-00006-of-00007.safetensors",
|
| 554 |
+
"vision_model.model.decoder.up.0.block.0.norm1.bias": "model-00006-of-00007.safetensors",
|
| 555 |
+
"vision_model.model.decoder.up.0.block.0.norm1.weight": "model-00006-of-00007.safetensors",
|
| 556 |
+
"vision_model.model.decoder.up.0.block.0.norm2.bias": "model-00006-of-00007.safetensors",
|
| 557 |
+
"vision_model.model.decoder.up.0.block.0.norm2.weight": "model-00006-of-00007.safetensors",
|
| 558 |
+
"vision_model.model.decoder.up.0.block.1.conv1.bias": "model-00006-of-00007.safetensors",
|
| 559 |
+
"vision_model.model.decoder.up.0.block.1.conv1.weight": "model-00006-of-00007.safetensors",
|
| 560 |
+
"vision_model.model.decoder.up.0.block.1.conv2.bias": "model-00006-of-00007.safetensors",
|
| 561 |
+
"vision_model.model.decoder.up.0.block.1.conv2.weight": "model-00006-of-00007.safetensors",
|
| 562 |
+
"vision_model.model.decoder.up.0.block.1.norm1.bias": "model-00006-of-00007.safetensors",
|
| 563 |
+
"vision_model.model.decoder.up.0.block.1.norm1.weight": "model-00006-of-00007.safetensors",
|
| 564 |
+
"vision_model.model.decoder.up.0.block.1.norm2.bias": "model-00006-of-00007.safetensors",
|
| 565 |
+
"vision_model.model.decoder.up.0.block.1.norm2.weight": "model-00006-of-00007.safetensors",
|
| 566 |
+
"vision_model.model.decoder.up.0.block.2.conv1.bias": "model-00006-of-00007.safetensors",
|
| 567 |
+
"vision_model.model.decoder.up.0.block.2.conv1.weight": "model-00006-of-00007.safetensors",
|
| 568 |
+
"vision_model.model.decoder.up.0.block.2.conv2.bias": "model-00006-of-00007.safetensors",
|
| 569 |
+
"vision_model.model.decoder.up.0.block.2.conv2.weight": "model-00006-of-00007.safetensors",
|
| 570 |
+
"vision_model.model.decoder.up.0.block.2.norm1.bias": "model-00006-of-00007.safetensors",
|
| 571 |
+
"vision_model.model.decoder.up.0.block.2.norm1.weight": "model-00006-of-00007.safetensors",
|
| 572 |
+
"vision_model.model.decoder.up.0.block.2.norm2.bias": "model-00006-of-00007.safetensors",
|
| 573 |
+
"vision_model.model.decoder.up.0.block.2.norm2.weight": "model-00006-of-00007.safetensors",
|
| 574 |
+
"vision_model.model.decoder.up.1.block.0.conv1.bias": "model-00006-of-00007.safetensors",
|
| 575 |
+
"vision_model.model.decoder.up.1.block.0.conv1.weight": "model-00006-of-00007.safetensors",
|
| 576 |
+
"vision_model.model.decoder.up.1.block.0.conv2.bias": "model-00006-of-00007.safetensors",
|
| 577 |
+
"vision_model.model.decoder.up.1.block.0.conv2.weight": "model-00006-of-00007.safetensors",
|
| 578 |
+
"vision_model.model.decoder.up.1.block.0.nin_shortcut.bias": "model-00006-of-00007.safetensors",
|
| 579 |
+
"vision_model.model.decoder.up.1.block.0.nin_shortcut.weight": "model-00006-of-00007.safetensors",
|
| 580 |
+
"vision_model.model.decoder.up.1.block.0.norm1.bias": "model-00006-of-00007.safetensors",
|
| 581 |
+
"vision_model.model.decoder.up.1.block.0.norm1.weight": "model-00006-of-00007.safetensors",
|
| 582 |
+
"vision_model.model.decoder.up.1.block.0.norm2.bias": "model-00006-of-00007.safetensors",
|
| 583 |
+
"vision_model.model.decoder.up.1.block.0.norm2.weight": "model-00006-of-00007.safetensors",
|
| 584 |
+
"vision_model.model.decoder.up.1.block.1.conv1.bias": "model-00006-of-00007.safetensors",
|
| 585 |
+
"vision_model.model.decoder.up.1.block.1.conv1.weight": "model-00006-of-00007.safetensors",
|
| 586 |
+
"vision_model.model.decoder.up.1.block.1.conv2.bias": "model-00006-of-00007.safetensors",
|
| 587 |
+
"vision_model.model.decoder.up.1.block.1.conv2.weight": "model-00006-of-00007.safetensors",
|
| 588 |
+
"vision_model.model.decoder.up.1.block.1.norm1.bias": "model-00006-of-00007.safetensors",
|
| 589 |
+
"vision_model.model.decoder.up.1.block.1.norm1.weight": "model-00006-of-00007.safetensors",
|
| 590 |
+
"vision_model.model.decoder.up.1.block.1.norm2.bias": "model-00006-of-00007.safetensors",
|
| 591 |
+
"vision_model.model.decoder.up.1.block.1.norm2.weight": "model-00006-of-00007.safetensors",
|
| 592 |
+
"vision_model.model.decoder.up.1.block.2.conv1.bias": "model-00006-of-00007.safetensors",
|
| 593 |
+
"vision_model.model.decoder.up.1.block.2.conv1.weight": "model-00006-of-00007.safetensors",
|
| 594 |
+
"vision_model.model.decoder.up.1.block.2.conv2.bias": "model-00006-of-00007.safetensors",
|
| 595 |
+
"vision_model.model.decoder.up.1.block.2.conv2.weight": "model-00006-of-00007.safetensors",
|
| 596 |
+
"vision_model.model.decoder.up.1.block.2.norm1.bias": "model-00006-of-00007.safetensors",
|
| 597 |
+
"vision_model.model.decoder.up.1.block.2.norm1.weight": "model-00006-of-00007.safetensors",
|
| 598 |
+
"vision_model.model.decoder.up.1.block.2.norm2.bias": "model-00006-of-00007.safetensors",
|
| 599 |
+
"vision_model.model.decoder.up.1.block.2.norm2.weight": "model-00006-of-00007.safetensors",
|
| 600 |
+
"vision_model.model.decoder.up.1.upsample.conv.bias": "model-00006-of-00007.safetensors",
|
| 601 |
+
"vision_model.model.decoder.up.1.upsample.conv.weight": "model-00006-of-00007.safetensors",
|
| 602 |
+
"vision_model.model.decoder.up.2.block.0.conv1.bias": "model-00006-of-00007.safetensors",
|
| 603 |
+
"vision_model.model.decoder.up.2.block.0.conv1.weight": "model-00006-of-00007.safetensors",
|
| 604 |
+
"vision_model.model.decoder.up.2.block.0.conv2.bias": "model-00006-of-00007.safetensors",
|
| 605 |
+
"vision_model.model.decoder.up.2.block.0.conv2.weight": "model-00006-of-00007.safetensors",
|
| 606 |
+
"vision_model.model.decoder.up.2.block.0.norm1.bias": "model-00006-of-00007.safetensors",
|
| 607 |
+
"vision_model.model.decoder.up.2.block.0.norm1.weight": "model-00006-of-00007.safetensors",
|
| 608 |
+
"vision_model.model.decoder.up.2.block.0.norm2.bias": "model-00006-of-00007.safetensors",
|
| 609 |
+
"vision_model.model.decoder.up.2.block.0.norm2.weight": "model-00006-of-00007.safetensors",
|
| 610 |
+
"vision_model.model.decoder.up.2.block.1.conv1.bias": "model-00006-of-00007.safetensors",
|
| 611 |
+
"vision_model.model.decoder.up.2.block.1.conv1.weight": "model-00006-of-00007.safetensors",
|
| 612 |
+
"vision_model.model.decoder.up.2.block.1.conv2.bias": "model-00006-of-00007.safetensors",
|
| 613 |
+
"vision_model.model.decoder.up.2.block.1.conv2.weight": "model-00006-of-00007.safetensors",
|
| 614 |
+
"vision_model.model.decoder.up.2.block.1.norm1.bias": "model-00006-of-00007.safetensors",
|
| 615 |
+
"vision_model.model.decoder.up.2.block.1.norm1.weight": "model-00006-of-00007.safetensors",
|
| 616 |
+
"vision_model.model.decoder.up.2.block.1.norm2.bias": "model-00006-of-00007.safetensors",
|
| 617 |
+
"vision_model.model.decoder.up.2.block.1.norm2.weight": "model-00006-of-00007.safetensors",
|
| 618 |
+
"vision_model.model.decoder.up.2.block.2.conv1.bias": "model-00006-of-00007.safetensors",
|
| 619 |
+
"vision_model.model.decoder.up.2.block.2.conv1.weight": "model-00006-of-00007.safetensors",
|
| 620 |
+
"vision_model.model.decoder.up.2.block.2.conv2.bias": "model-00006-of-00007.safetensors",
|
| 621 |
+
"vision_model.model.decoder.up.2.block.2.conv2.weight": "model-00006-of-00007.safetensors",
|
| 622 |
+
"vision_model.model.decoder.up.2.block.2.norm1.bias": "model-00006-of-00007.safetensors",
|
| 623 |
+
"vision_model.model.decoder.up.2.block.2.norm1.weight": "model-00006-of-00007.safetensors",
|
| 624 |
+
"vision_model.model.decoder.up.2.block.2.norm2.bias": "model-00006-of-00007.safetensors",
|
| 625 |
+
"vision_model.model.decoder.up.2.block.2.norm2.weight": "model-00006-of-00007.safetensors",
|
| 626 |
+
"vision_model.model.decoder.up.2.upsample.conv.bias": "model-00006-of-00007.safetensors",
|
| 627 |
+
"vision_model.model.decoder.up.2.upsample.conv.weight": "model-00006-of-00007.safetensors",
|
| 628 |
+
"vision_model.model.decoder.up.3.block.0.conv1.bias": "model-00006-of-00007.safetensors",
|
| 629 |
+
"vision_model.model.decoder.up.3.block.0.conv1.weight": "model-00006-of-00007.safetensors",
|
| 630 |
+
"vision_model.model.decoder.up.3.block.0.conv2.bias": "model-00006-of-00007.safetensors",
|
| 631 |
+
"vision_model.model.decoder.up.3.block.0.conv2.weight": "model-00006-of-00007.safetensors",
|
| 632 |
+
"vision_model.model.decoder.up.3.block.0.nin_shortcut.bias": "model-00006-of-00007.safetensors",
|
| 633 |
+
"vision_model.model.decoder.up.3.block.0.nin_shortcut.weight": "model-00006-of-00007.safetensors",
|
| 634 |
+
"vision_model.model.decoder.up.3.block.0.norm1.bias": "model-00006-of-00007.safetensors",
|
| 635 |
+
"vision_model.model.decoder.up.3.block.0.norm1.weight": "model-00006-of-00007.safetensors",
|
| 636 |
+
"vision_model.model.decoder.up.3.block.0.norm2.bias": "model-00006-of-00007.safetensors",
|
| 637 |
+
"vision_model.model.decoder.up.3.block.0.norm2.weight": "model-00006-of-00007.safetensors",
|
| 638 |
+
"vision_model.model.decoder.up.3.block.1.conv1.bias": "model-00006-of-00007.safetensors",
|
| 639 |
+
"vision_model.model.decoder.up.3.block.1.conv1.weight": "model-00006-of-00007.safetensors",
|
| 640 |
+
"vision_model.model.decoder.up.3.block.1.conv2.bias": "model-00006-of-00007.safetensors",
|
| 641 |
+
"vision_model.model.decoder.up.3.block.1.conv2.weight": "model-00006-of-00007.safetensors",
|
| 642 |
+
"vision_model.model.decoder.up.3.block.1.norm1.bias": "model-00006-of-00007.safetensors",
|
| 643 |
+
"vision_model.model.decoder.up.3.block.1.norm1.weight": "model-00006-of-00007.safetensors",
|
| 644 |
+
"vision_model.model.decoder.up.3.block.1.norm2.bias": "model-00006-of-00007.safetensors",
|
| 645 |
+
"vision_model.model.decoder.up.3.block.1.norm2.weight": "model-00006-of-00007.safetensors",
|
| 646 |
+
"vision_model.model.decoder.up.3.block.2.conv1.bias": "model-00006-of-00007.safetensors",
|
| 647 |
+
"vision_model.model.decoder.up.3.block.2.conv1.weight": "model-00006-of-00007.safetensors",
|
| 648 |
+
"vision_model.model.decoder.up.3.block.2.conv2.bias": "model-00006-of-00007.safetensors",
|
| 649 |
+
"vision_model.model.decoder.up.3.block.2.conv2.weight": "model-00006-of-00007.safetensors",
|
| 650 |
+
"vision_model.model.decoder.up.3.block.2.norm1.bias": "model-00006-of-00007.safetensors",
|
| 651 |
+
"vision_model.model.decoder.up.3.block.2.norm1.weight": "model-00006-of-00007.safetensors",
|
| 652 |
+
"vision_model.model.decoder.up.3.block.2.norm2.bias": "model-00006-of-00007.safetensors",
|
| 653 |
+
"vision_model.model.decoder.up.3.block.2.norm2.weight": "model-00006-of-00007.safetensors",
|
| 654 |
+
"vision_model.model.decoder.up.3.upsample.conv.bias": "model-00006-of-00007.safetensors",
|
| 655 |
+
"vision_model.model.decoder.up.3.upsample.conv.weight": "model-00006-of-00007.safetensors",
|
| 656 |
+
"vision_model.model.decoder.up.4.attn.0.k.bias": "model-00006-of-00007.safetensors",
|
| 657 |
+
"vision_model.model.decoder.up.4.attn.0.k.weight": "model-00006-of-00007.safetensors",
|
| 658 |
+
"vision_model.model.decoder.up.4.attn.0.norm.bias": "model-00006-of-00007.safetensors",
|
| 659 |
+
"vision_model.model.decoder.up.4.attn.0.norm.weight": "model-00006-of-00007.safetensors",
|
| 660 |
+
"vision_model.model.decoder.up.4.attn.0.proj_out.bias": "model-00006-of-00007.safetensors",
|
| 661 |
+
"vision_model.model.decoder.up.4.attn.0.proj_out.weight": "model-00006-of-00007.safetensors",
|
| 662 |
+
"vision_model.model.decoder.up.4.attn.0.q.bias": "model-00006-of-00007.safetensors",
|
| 663 |
+
"vision_model.model.decoder.up.4.attn.0.q.weight": "model-00006-of-00007.safetensors",
|
| 664 |
+
"vision_model.model.decoder.up.4.attn.0.v.bias": "model-00006-of-00007.safetensors",
|
| 665 |
+
"vision_model.model.decoder.up.4.attn.0.v.weight": "model-00006-of-00007.safetensors",
|
| 666 |
+
"vision_model.model.decoder.up.4.attn.1.k.bias": "model-00006-of-00007.safetensors",
|
| 667 |
+
"vision_model.model.decoder.up.4.attn.1.k.weight": "model-00006-of-00007.safetensors",
|
| 668 |
+
"vision_model.model.decoder.up.4.attn.1.norm.bias": "model-00006-of-00007.safetensors",
|
| 669 |
+
"vision_model.model.decoder.up.4.attn.1.norm.weight": "model-00006-of-00007.safetensors",
|
| 670 |
+
"vision_model.model.decoder.up.4.attn.1.proj_out.bias": "model-00006-of-00007.safetensors",
|
| 671 |
+
"vision_model.model.decoder.up.4.attn.1.proj_out.weight": "model-00006-of-00007.safetensors",
|
| 672 |
+
"vision_model.model.decoder.up.4.attn.1.q.bias": "model-00006-of-00007.safetensors",
|
| 673 |
+
"vision_model.model.decoder.up.4.attn.1.q.weight": "model-00006-of-00007.safetensors",
|
| 674 |
+
"vision_model.model.decoder.up.4.attn.1.v.bias": "model-00006-of-00007.safetensors",
|
| 675 |
+
"vision_model.model.decoder.up.4.attn.1.v.weight": "model-00006-of-00007.safetensors",
|
| 676 |
+
"vision_model.model.decoder.up.4.attn.2.k.bias": "model-00006-of-00007.safetensors",
|
| 677 |
+
"vision_model.model.decoder.up.4.attn.2.k.weight": "model-00006-of-00007.safetensors",
|
| 678 |
+
"vision_model.model.decoder.up.4.attn.2.norm.bias": "model-00006-of-00007.safetensors",
|
| 679 |
+
"vision_model.model.decoder.up.4.attn.2.norm.weight": "model-00006-of-00007.safetensors",
|
| 680 |
+
"vision_model.model.decoder.up.4.attn.2.proj_out.bias": "model-00006-of-00007.safetensors",
|
| 681 |
+
"vision_model.model.decoder.up.4.attn.2.proj_out.weight": "model-00006-of-00007.safetensors",
|
| 682 |
+
"vision_model.model.decoder.up.4.attn.2.q.bias": "model-00006-of-00007.safetensors",
|
| 683 |
+
"vision_model.model.decoder.up.4.attn.2.q.weight": "model-00006-of-00007.safetensors",
|
| 684 |
+
"vision_model.model.decoder.up.4.attn.2.v.bias": "model-00006-of-00007.safetensors",
|
| 685 |
+
"vision_model.model.decoder.up.4.attn.2.v.weight": "model-00006-of-00007.safetensors",
|
| 686 |
+
"vision_model.model.decoder.up.4.block.0.conv1.bias": "model-00006-of-00007.safetensors",
|
| 687 |
+
"vision_model.model.decoder.up.4.block.0.conv1.weight": "model-00006-of-00007.safetensors",
|
| 688 |
+
"vision_model.model.decoder.up.4.block.0.conv2.bias": "model-00006-of-00007.safetensors",
|
| 689 |
+
"vision_model.model.decoder.up.4.block.0.conv2.weight": "model-00006-of-00007.safetensors",
|
| 690 |
+
"vision_model.model.decoder.up.4.block.0.norm1.bias": "model-00006-of-00007.safetensors",
|
| 691 |
+
"vision_model.model.decoder.up.4.block.0.norm1.weight": "model-00006-of-00007.safetensors",
|
| 692 |
+
"vision_model.model.decoder.up.4.block.0.norm2.bias": "model-00006-of-00007.safetensors",
|
| 693 |
+
"vision_model.model.decoder.up.4.block.0.norm2.weight": "model-00006-of-00007.safetensors",
|
| 694 |
+
"vision_model.model.decoder.up.4.block.1.conv1.bias": "model-00006-of-00007.safetensors",
|
| 695 |
+
"vision_model.model.decoder.up.4.block.1.conv1.weight": "model-00006-of-00007.safetensors",
|
| 696 |
+
"vision_model.model.decoder.up.4.block.1.conv2.bias": "model-00006-of-00007.safetensors",
|
| 697 |
+
"vision_model.model.decoder.up.4.block.1.conv2.weight": "model-00006-of-00007.safetensors",
|
| 698 |
+
"vision_model.model.decoder.up.4.block.1.norm1.bias": "model-00006-of-00007.safetensors",
|
| 699 |
+
"vision_model.model.decoder.up.4.block.1.norm1.weight": "model-00006-of-00007.safetensors",
|
| 700 |
+
"vision_model.model.decoder.up.4.block.1.norm2.bias": "model-00006-of-00007.safetensors",
|
| 701 |
+
"vision_model.model.decoder.up.4.block.1.norm2.weight": "model-00006-of-00007.safetensors",
|
| 702 |
+
"vision_model.model.decoder.up.4.block.2.conv1.bias": "model-00006-of-00007.safetensors",
|
| 703 |
+
"vision_model.model.decoder.up.4.block.2.conv1.weight": "model-00006-of-00007.safetensors",
|
| 704 |
+
"vision_model.model.decoder.up.4.block.2.conv2.bias": "model-00006-of-00007.safetensors",
|
| 705 |
+
"vision_model.model.decoder.up.4.block.2.conv2.weight": "model-00006-of-00007.safetensors",
|
| 706 |
+
"vision_model.model.decoder.up.4.block.2.norm1.bias": "model-00006-of-00007.safetensors",
|
| 707 |
+
"vision_model.model.decoder.up.4.block.2.norm1.weight": "model-00006-of-00007.safetensors",
|
| 708 |
+
"vision_model.model.decoder.up.4.block.2.norm2.bias": "model-00006-of-00007.safetensors",
|
| 709 |
+
"vision_model.model.decoder.up.4.block.2.norm2.weight": "model-00006-of-00007.safetensors",
|
| 710 |
+
"vision_model.model.decoder.up.4.upsample.conv.bias": "model-00006-of-00007.safetensors",
|
| 711 |
+
"vision_model.model.decoder.up.4.upsample.conv.weight": "model-00006-of-00007.safetensors",
|
| 712 |
+
"vision_model.model.encoder.conv_in.bias": "model-00006-of-00007.safetensors",
|
| 713 |
+
"vision_model.model.encoder.conv_in.weight": "model-00006-of-00007.safetensors",
|
| 714 |
+
"vision_model.model.encoder.conv_out.bias": "model-00006-of-00007.safetensors",
|
| 715 |
+
"vision_model.model.encoder.conv_out.weight": "model-00006-of-00007.safetensors",
|
| 716 |
+
"vision_model.model.encoder.down.0.block.0.conv1.bias": "model-00006-of-00007.safetensors",
|
| 717 |
+
"vision_model.model.encoder.down.0.block.0.conv1.weight": "model-00006-of-00007.safetensors",
|
| 718 |
+
"vision_model.model.encoder.down.0.block.0.conv2.bias": "model-00006-of-00007.safetensors",
|
| 719 |
+
"vision_model.model.encoder.down.0.block.0.conv2.weight": "model-00006-of-00007.safetensors",
|
| 720 |
+
"vision_model.model.encoder.down.0.block.0.norm1.bias": "model-00006-of-00007.safetensors",
|
| 721 |
+
"vision_model.model.encoder.down.0.block.0.norm1.weight": "model-00006-of-00007.safetensors",
|
| 722 |
+
"vision_model.model.encoder.down.0.block.0.norm2.bias": "model-00006-of-00007.safetensors",
|
| 723 |
+
"vision_model.model.encoder.down.0.block.0.norm2.weight": "model-00006-of-00007.safetensors",
|
| 724 |
+
"vision_model.model.encoder.down.0.block.1.conv1.bias": "model-00006-of-00007.safetensors",
|
| 725 |
+
"vision_model.model.encoder.down.0.block.1.conv1.weight": "model-00006-of-00007.safetensors",
|
| 726 |
+
"vision_model.model.encoder.down.0.block.1.conv2.bias": "model-00006-of-00007.safetensors",
|
| 727 |
+
"vision_model.model.encoder.down.0.block.1.conv2.weight": "model-00006-of-00007.safetensors",
|
| 728 |
+
"vision_model.model.encoder.down.0.block.1.norm1.bias": "model-00006-of-00007.safetensors",
|
| 729 |
+
"vision_model.model.encoder.down.0.block.1.norm1.weight": "model-00006-of-00007.safetensors",
|
| 730 |
+
"vision_model.model.encoder.down.0.block.1.norm2.bias": "model-00006-of-00007.safetensors",
|
| 731 |
+
"vision_model.model.encoder.down.0.block.1.norm2.weight": "model-00006-of-00007.safetensors",
|
| 732 |
+
"vision_model.model.encoder.down.0.downsample.conv.bias": "model-00006-of-00007.safetensors",
|
| 733 |
+
"vision_model.model.encoder.down.0.downsample.conv.weight": "model-00006-of-00007.safetensors",
|
| 734 |
+
"vision_model.model.encoder.down.1.block.0.conv1.bias": "model-00006-of-00007.safetensors",
|
| 735 |
+
"vision_model.model.encoder.down.1.block.0.conv1.weight": "model-00006-of-00007.safetensors",
|
| 736 |
+
"vision_model.model.encoder.down.1.block.0.conv2.bias": "model-00006-of-00007.safetensors",
|
| 737 |
+
"vision_model.model.encoder.down.1.block.0.conv2.weight": "model-00006-of-00007.safetensors",
|
| 738 |
+
"vision_model.model.encoder.down.1.block.0.norm1.bias": "model-00006-of-00007.safetensors",
|
| 739 |
+
"vision_model.model.encoder.down.1.block.0.norm1.weight": "model-00006-of-00007.safetensors",
|
| 740 |
+
"vision_model.model.encoder.down.1.block.0.norm2.bias": "model-00006-of-00007.safetensors",
|
| 741 |
+
"vision_model.model.encoder.down.1.block.0.norm2.weight": "model-00006-of-00007.safetensors",
|
| 742 |
+
"vision_model.model.encoder.down.1.block.1.conv1.bias": "model-00006-of-00007.safetensors",
|
| 743 |
+
"vision_model.model.encoder.down.1.block.1.conv1.weight": "model-00006-of-00007.safetensors",
|
| 744 |
+
"vision_model.model.encoder.down.1.block.1.conv2.bias": "model-00006-of-00007.safetensors",
|
| 745 |
+
"vision_model.model.encoder.down.1.block.1.conv2.weight": "model-00006-of-00007.safetensors",
|
| 746 |
+
"vision_model.model.encoder.down.1.block.1.norm1.bias": "model-00006-of-00007.safetensors",
|
| 747 |
+
"vision_model.model.encoder.down.1.block.1.norm1.weight": "model-00006-of-00007.safetensors",
|
| 748 |
+
"vision_model.model.encoder.down.1.block.1.norm2.bias": "model-00006-of-00007.safetensors",
|
| 749 |
+
"vision_model.model.encoder.down.1.block.1.norm2.weight": "model-00006-of-00007.safetensors",
|
| 750 |
+
"vision_model.model.encoder.down.1.downsample.conv.bias": "model-00006-of-00007.safetensors",
|
| 751 |
+
"vision_model.model.encoder.down.1.downsample.conv.weight": "model-00006-of-00007.safetensors",
|
| 752 |
+
"vision_model.model.encoder.down.2.block.0.conv1.bias": "model-00006-of-00007.safetensors",
|
| 753 |
+
"vision_model.model.encoder.down.2.block.0.conv1.weight": "model-00006-of-00007.safetensors",
|
| 754 |
+
"vision_model.model.encoder.down.2.block.0.conv2.bias": "model-00006-of-00007.safetensors",
|
| 755 |
+
"vision_model.model.encoder.down.2.block.0.conv2.weight": "model-00006-of-00007.safetensors",
|
| 756 |
+
"vision_model.model.encoder.down.2.block.0.nin_shortcut.bias": "model-00006-of-00007.safetensors",
|
| 757 |
+
"vision_model.model.encoder.down.2.block.0.nin_shortcut.weight": "model-00006-of-00007.safetensors",
|
| 758 |
+
"vision_model.model.encoder.down.2.block.0.norm1.bias": "model-00006-of-00007.safetensors",
|
| 759 |
+
"vision_model.model.encoder.down.2.block.0.norm1.weight": "model-00006-of-00007.safetensors",
|
| 760 |
+
"vision_model.model.encoder.down.2.block.0.norm2.bias": "model-00006-of-00007.safetensors",
|
| 761 |
+
"vision_model.model.encoder.down.2.block.0.norm2.weight": "model-00006-of-00007.safetensors",
|
| 762 |
+
"vision_model.model.encoder.down.2.block.1.conv1.bias": "model-00006-of-00007.safetensors",
|
| 763 |
+
"vision_model.model.encoder.down.2.block.1.conv1.weight": "model-00006-of-00007.safetensors",
|
| 764 |
+
"vision_model.model.encoder.down.2.block.1.conv2.bias": "model-00006-of-00007.safetensors",
|
| 765 |
+
"vision_model.model.encoder.down.2.block.1.conv2.weight": "model-00006-of-00007.safetensors",
|
| 766 |
+
"vision_model.model.encoder.down.2.block.1.norm1.bias": "model-00006-of-00007.safetensors",
|
| 767 |
+
"vision_model.model.encoder.down.2.block.1.norm1.weight": "model-00006-of-00007.safetensors",
|
| 768 |
+
"vision_model.model.encoder.down.2.block.1.norm2.bias": "model-00006-of-00007.safetensors",
|
| 769 |
+
"vision_model.model.encoder.down.2.block.1.norm2.weight": "model-00006-of-00007.safetensors",
|
| 770 |
+
"vision_model.model.encoder.down.2.downsample.conv.bias": "model-00006-of-00007.safetensors",
|
| 771 |
+
"vision_model.model.encoder.down.2.downsample.conv.weight": "model-00006-of-00007.safetensors",
|
| 772 |
+
"vision_model.model.encoder.down.3.block.0.conv1.bias": "model-00006-of-00007.safetensors",
|
| 773 |
+
"vision_model.model.encoder.down.3.block.0.conv1.weight": "model-00006-of-00007.safetensors",
|
| 774 |
+
"vision_model.model.encoder.down.3.block.0.conv2.bias": "model-00006-of-00007.safetensors",
|
| 775 |
+
"vision_model.model.encoder.down.3.block.0.conv2.weight": "model-00006-of-00007.safetensors",
|
| 776 |
+
"vision_model.model.encoder.down.3.block.0.norm1.bias": "model-00006-of-00007.safetensors",
|
| 777 |
+
"vision_model.model.encoder.down.3.block.0.norm1.weight": "model-00006-of-00007.safetensors",
|
| 778 |
+
"vision_model.model.encoder.down.3.block.0.norm2.bias": "model-00006-of-00007.safetensors",
|
| 779 |
+
"vision_model.model.encoder.down.3.block.0.norm2.weight": "model-00006-of-00007.safetensors",
|
| 780 |
+
"vision_model.model.encoder.down.3.block.1.conv1.bias": "model-00006-of-00007.safetensors",
|
| 781 |
+
"vision_model.model.encoder.down.3.block.1.conv1.weight": "model-00006-of-00007.safetensors",
|
| 782 |
+
"vision_model.model.encoder.down.3.block.1.conv2.bias": "model-00006-of-00007.safetensors",
|
| 783 |
+
"vision_model.model.encoder.down.3.block.1.conv2.weight": "model-00006-of-00007.safetensors",
|
| 784 |
+
"vision_model.model.encoder.down.3.block.1.norm1.bias": "model-00006-of-00007.safetensors",
|
| 785 |
+
"vision_model.model.encoder.down.3.block.1.norm1.weight": "model-00006-of-00007.safetensors",
|
| 786 |
+
"vision_model.model.encoder.down.3.block.1.norm2.bias": "model-00006-of-00007.safetensors",
|
| 787 |
+
"vision_model.model.encoder.down.3.block.1.norm2.weight": "model-00006-of-00007.safetensors",
|
| 788 |
+
"vision_model.model.encoder.down.3.downsample.conv.bias": "model-00006-of-00007.safetensors",
|
| 789 |
+
"vision_model.model.encoder.down.3.downsample.conv.weight": "model-00006-of-00007.safetensors",
|
| 790 |
+
"vision_model.model.encoder.down.4.attn.0.k.bias": "model-00006-of-00007.safetensors",
|
| 791 |
+
"vision_model.model.encoder.down.4.attn.0.k.weight": "model-00006-of-00007.safetensors",
|
| 792 |
+
"vision_model.model.encoder.down.4.attn.0.norm.bias": "model-00006-of-00007.safetensors",
|
| 793 |
+
"vision_model.model.encoder.down.4.attn.0.norm.weight": "model-00006-of-00007.safetensors",
|
| 794 |
+
"vision_model.model.encoder.down.4.attn.0.proj_out.bias": "model-00006-of-00007.safetensors",
|
| 795 |
+
"vision_model.model.encoder.down.4.attn.0.proj_out.weight": "model-00006-of-00007.safetensors",
|
| 796 |
+
"vision_model.model.encoder.down.4.attn.0.q.bias": "model-00006-of-00007.safetensors",
|
| 797 |
+
"vision_model.model.encoder.down.4.attn.0.q.weight": "model-00006-of-00007.safetensors",
|
| 798 |
+
"vision_model.model.encoder.down.4.attn.0.v.bias": "model-00006-of-00007.safetensors",
|
| 799 |
+
"vision_model.model.encoder.down.4.attn.0.v.weight": "model-00006-of-00007.safetensors",
|
| 800 |
+
"vision_model.model.encoder.down.4.attn.1.k.bias": "model-00006-of-00007.safetensors",
|
| 801 |
+
"vision_model.model.encoder.down.4.attn.1.k.weight": "model-00006-of-00007.safetensors",
|
| 802 |
+
"vision_model.model.encoder.down.4.attn.1.norm.bias": "model-00006-of-00007.safetensors",
|
| 803 |
+
"vision_model.model.encoder.down.4.attn.1.norm.weight": "model-00006-of-00007.safetensors",
|
| 804 |
+
"vision_model.model.encoder.down.4.attn.1.proj_out.bias": "model-00006-of-00007.safetensors",
|
| 805 |
+
"vision_model.model.encoder.down.4.attn.1.proj_out.weight": "model-00006-of-00007.safetensors",
|
| 806 |
+
"vision_model.model.encoder.down.4.attn.1.q.bias": "model-00006-of-00007.safetensors",
|
| 807 |
+
"vision_model.model.encoder.down.4.attn.1.q.weight": "model-00006-of-00007.safetensors",
|
| 808 |
+
"vision_model.model.encoder.down.4.attn.1.v.bias": "model-00006-of-00007.safetensors",
|
| 809 |
+
"vision_model.model.encoder.down.4.attn.1.v.weight": "model-00006-of-00007.safetensors",
|
| 810 |
+
"vision_model.model.encoder.down.4.block.0.conv1.bias": "model-00006-of-00007.safetensors",
|
| 811 |
+
"vision_model.model.encoder.down.4.block.0.conv1.weight": "model-00006-of-00007.safetensors",
|
| 812 |
+
"vision_model.model.encoder.down.4.block.0.conv2.bias": "model-00006-of-00007.safetensors",
|
| 813 |
+
"vision_model.model.encoder.down.4.block.0.conv2.weight": "model-00006-of-00007.safetensors",
|
| 814 |
+
"vision_model.model.encoder.down.4.block.0.nin_shortcut.bias": "model-00006-of-00007.safetensors",
|
| 815 |
+
"vision_model.model.encoder.down.4.block.0.nin_shortcut.weight": "model-00006-of-00007.safetensors",
|
| 816 |
+
"vision_model.model.encoder.down.4.block.0.norm1.bias": "model-00006-of-00007.safetensors",
|
| 817 |
+
"vision_model.model.encoder.down.4.block.0.norm1.weight": "model-00006-of-00007.safetensors",
|
| 818 |
+
"vision_model.model.encoder.down.4.block.0.norm2.bias": "model-00006-of-00007.safetensors",
|
| 819 |
+
"vision_model.model.encoder.down.4.block.0.norm2.weight": "model-00006-of-00007.safetensors",
|
| 820 |
+
"vision_model.model.encoder.down.4.block.1.conv1.bias": "model-00006-of-00007.safetensors",
|
| 821 |
+
"vision_model.model.encoder.down.4.block.1.conv1.weight": "model-00006-of-00007.safetensors",
|
| 822 |
+
"vision_model.model.encoder.down.4.block.1.conv2.bias": "model-00006-of-00007.safetensors",
|
| 823 |
+
"vision_model.model.encoder.down.4.block.1.conv2.weight": "model-00006-of-00007.safetensors",
|
| 824 |
+
"vision_model.model.encoder.down.4.block.1.norm1.bias": "model-00006-of-00007.safetensors",
|
| 825 |
+
"vision_model.model.encoder.down.4.block.1.norm1.weight": "model-00006-of-00007.safetensors",
|
| 826 |
+
"vision_model.model.encoder.down.4.block.1.norm2.bias": "model-00006-of-00007.safetensors",
|
| 827 |
+
"vision_model.model.encoder.down.4.block.1.norm2.weight": "model-00006-of-00007.safetensors",
|
| 828 |
+
"vision_model.model.encoder.mid.attn_1.k.bias": "model-00006-of-00007.safetensors",
|
| 829 |
+
"vision_model.model.encoder.mid.attn_1.k.weight": "model-00006-of-00007.safetensors",
|
| 830 |
+
"vision_model.model.encoder.mid.attn_1.norm.bias": "model-00006-of-00007.safetensors",
|
| 831 |
+
"vision_model.model.encoder.mid.attn_1.norm.weight": "model-00006-of-00007.safetensors",
|
| 832 |
+
"vision_model.model.encoder.mid.attn_1.proj_out.bias": "model-00006-of-00007.safetensors",
|
| 833 |
+
"vision_model.model.encoder.mid.attn_1.proj_out.weight": "model-00006-of-00007.safetensors",
|
| 834 |
+
"vision_model.model.encoder.mid.attn_1.q.bias": "model-00006-of-00007.safetensors",
|
| 835 |
+
"vision_model.model.encoder.mid.attn_1.q.weight": "model-00006-of-00007.safetensors",
|
| 836 |
+
"vision_model.model.encoder.mid.attn_1.v.bias": "model-00006-of-00007.safetensors",
|
| 837 |
+
"vision_model.model.encoder.mid.attn_1.v.weight": "model-00006-of-00007.safetensors",
|
| 838 |
+
"vision_model.model.encoder.mid.block_1.conv1.bias": "model-00006-of-00007.safetensors",
|
| 839 |
+
"vision_model.model.encoder.mid.block_1.conv1.weight": "model-00006-of-00007.safetensors",
|
| 840 |
+
"vision_model.model.encoder.mid.block_1.conv2.bias": "model-00006-of-00007.safetensors",
|
| 841 |
+
"vision_model.model.encoder.mid.block_1.conv2.weight": "model-00006-of-00007.safetensors",
|
| 842 |
+
"vision_model.model.encoder.mid.block_1.norm1.bias": "model-00006-of-00007.safetensors",
|
| 843 |
+
"vision_model.model.encoder.mid.block_1.norm1.weight": "model-00006-of-00007.safetensors",
|
| 844 |
+
"vision_model.model.encoder.mid.block_1.norm2.bias": "model-00006-of-00007.safetensors",
|
| 845 |
+
"vision_model.model.encoder.mid.block_1.norm2.weight": "model-00006-of-00007.safetensors",
|
| 846 |
+
"vision_model.model.encoder.mid.block_2.conv1.bias": "model-00006-of-00007.safetensors",
|
| 847 |
+
"vision_model.model.encoder.mid.block_2.conv1.weight": "model-00006-of-00007.safetensors",
|
| 848 |
+
"vision_model.model.encoder.mid.block_2.conv2.bias": "model-00006-of-00007.safetensors",
|
| 849 |
+
"vision_model.model.encoder.mid.block_2.conv2.weight": "model-00006-of-00007.safetensors",
|
| 850 |
+
"vision_model.model.encoder.mid.block_2.norm1.bias": "model-00006-of-00007.safetensors",
|
| 851 |
+
"vision_model.model.encoder.mid.block_2.norm1.weight": "model-00006-of-00007.safetensors",
|
| 852 |
+
"vision_model.model.encoder.mid.block_2.norm2.bias": "model-00006-of-00007.safetensors",
|
| 853 |
+
"vision_model.model.encoder.mid.block_2.norm2.weight": "model-00006-of-00007.safetensors",
|
| 854 |
+
"vision_model.model.encoder.norm_out.bias": "model-00006-of-00007.safetensors",
|
| 855 |
+
"vision_model.model.encoder.norm_out.weight": "model-00006-of-00007.safetensors",
|
| 856 |
+
"vision_model.model.post_quant_conv.bias": "model-00006-of-00007.safetensors",
|
| 857 |
+
"vision_model.model.post_quant_conv.weight": "model-00006-of-00007.safetensors",
|
| 858 |
+
"vision_model.model.quant_conv.bias": "model-00006-of-00007.safetensors",
|
| 859 |
+
"vision_model.model.quant_conv.weight": "model-00006-of-00007.safetensors",
|
| 860 |
+
"vision_model.model.quantize.embedding.weight": "model-00006-of-00007.safetensors"
|
| 861 |
+
}
|
| 862 |
+
}
|
modeling_markupdm.py
ADDED
|
@@ -0,0 +1,291 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""PyTorch MarkupDM model."""
|
| 2 |
+
|
| 3 |
+
import contextlib
|
| 4 |
+
import math
|
| 5 |
+
import os
|
| 6 |
+
from typing import Any
|
| 7 |
+
|
| 8 |
+
import rff.layers
|
| 9 |
+
import torch
|
| 10 |
+
import torch.nn as nn
|
| 11 |
+
import torch.nn.functional as F
|
| 12 |
+
from transformers import (
|
| 13 |
+
AutoModel,
|
| 14 |
+
AutoModelForCausalLM,
|
| 15 |
+
GenerationMixin,
|
| 16 |
+
PreTrainedModel,
|
| 17 |
+
)
|
| 18 |
+
from transformers.loss.loss_utils import LOSS_MAPPING
|
| 19 |
+
from transformers.modeling_outputs import CausalLMOutputWithPast
|
| 20 |
+
from transformers.utils import logging
|
| 21 |
+
|
| 22 |
+
from .configuration_markupdm import MarkupDMConfig
|
| 23 |
+
from .loss_utils import WeightedCausalLMLoss
|
| 24 |
+
|
| 25 |
+
logger = logging.get_logger(__name__)
|
| 26 |
+
|
| 27 |
+
LOSS_MAPPING["WeightedCausalLMLoss"] = WeightedCausalLMLoss
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
class MarkupDMForCausalLM(PreTrainedModel, GenerationMixin): # type: ignore
|
| 31 |
+
config: MarkupDMConfig
|
| 32 |
+
config_class = MarkupDMConfig
|
| 33 |
+
|
| 34 |
+
supports_gradient_checkpointing = True
|
| 35 |
+
_supports_flash_attn_2 = True
|
| 36 |
+
|
| 37 |
+
def __init__(
|
| 38 |
+
self,
|
| 39 |
+
config: MarkupDMConfig,
|
| 40 |
+
text_model: PreTrainedModel,
|
| 41 |
+
vision_model: PreTrainedModel,
|
| 42 |
+
) -> None:
|
| 43 |
+
if not isinstance(config, self.config_class):
|
| 44 |
+
raise ValueError(f"Config: {config} has to be of type {self.config_class}")
|
| 45 |
+
|
| 46 |
+
# Initialize with config
|
| 47 |
+
logger.info(f"MarkupDM config: {config}")
|
| 48 |
+
super().__init__(config)
|
| 49 |
+
|
| 50 |
+
self.text_model = text_model.train()
|
| 51 |
+
self.vision_model = vision_model.eval().requires_grad_(False)
|
| 52 |
+
|
| 53 |
+
if self.text_model.config.to_dict() != self.config.text_model.to_dict():
|
| 54 |
+
logger.warning(
|
| 55 |
+
f"Config of the text model: {self.text_model.__class__} is"
|
| 56 |
+
f"overwritten by shared text config: {self.config.text_model}"
|
| 57 |
+
)
|
| 58 |
+
if self.vision_model.config.to_dict() != self.config.vision_model.to_dict():
|
| 59 |
+
logger.warning(
|
| 60 |
+
f"Config of the vision model: {self.vision_model.__class__} is"
|
| 61 |
+
f"overwritten by shared vision config: {self.config.vision_model}"
|
| 62 |
+
)
|
| 63 |
+
|
| 64 |
+
# Make sure that the individual model's config refers to the shared config
|
| 65 |
+
# so that the updates to the config will be synced
|
| 66 |
+
self.text_model.config = self.config.text_model
|
| 67 |
+
self.vision_model.config = self.config.vision_model
|
| 68 |
+
|
| 69 |
+
# Resize embedding layer
|
| 70 |
+
base_size = self.text_model.config.vocab_size
|
| 71 |
+
if base_size < self.config.vocab_size:
|
| 72 |
+
self.text_model.resize_token_embeddings(self.config.vocab_size)
|
| 73 |
+
new_size = self.text_model.get_input_embeddings().num_embeddings
|
| 74 |
+
logger.info(f"Resize embedding layer from {base_size} to {new_size} tokens")
|
| 75 |
+
|
| 76 |
+
d_text = self.text_model.config.hidden_size
|
| 77 |
+
assert self.vision_model.config.model_type == "vqmodel"
|
| 78 |
+
d_vision = self.vision_model.model.embed_dim
|
| 79 |
+
image_pos_size = self.config.image_pos_size
|
| 80 |
+
sigma = self.config.image_pos_sigma
|
| 81 |
+
m = math.ceil(image_pos_size / 2) # (sin, cos)
|
| 82 |
+
self.image_vocab_size = self.vision_model.model.n_embed
|
| 83 |
+
|
| 84 |
+
# Define additional layers
|
| 85 |
+
self.proj_vpos = rff.layers.PositionalEncoding(sigma, m)
|
| 86 |
+
self.proj_vt = nn.Linear(d_vision + image_pos_size, d_text)
|
| 87 |
+
self.vis_head = nn.Linear(d_text, self.image_vocab_size)
|
| 88 |
+
|
| 89 |
+
# Compute num_image_tokens
|
| 90 |
+
scale_factor = 2 ** (vision_model.model.encoder.num_resolutions - 1)
|
| 91 |
+
latent_size = self.config.image_size // scale_factor
|
| 92 |
+
self.num_image_tokens = latent_size**2
|
| 93 |
+
|
| 94 |
+
# Initialize weights and apply final processing
|
| 95 |
+
self.post_init()
|
| 96 |
+
|
| 97 |
+
# Freeze text embeddings if needed
|
| 98 |
+
if config.freeze_text_embeddings:
|
| 99 |
+
self.text_model.get_input_embeddings().requires_grad_(False)
|
| 100 |
+
|
| 101 |
+
def tie_weights(self) -> None:
|
| 102 |
+
self.text_model.tie_weights()
|
| 103 |
+
|
| 104 |
+
@classmethod
|
| 105 |
+
def from_pretrained(cls, *args: Any, **kwargs: Any) -> "MarkupDMForCausalLM":
|
| 106 |
+
assert "config" in kwargs, "Config must be provided"
|
| 107 |
+
config = kwargs["config"]
|
| 108 |
+
torch_dtype = kwargs.get("torch_dtype", None)
|
| 109 |
+
|
| 110 |
+
# Initialize text model
|
| 111 |
+
text_model = AutoModelForCausalLM.from_config(
|
| 112 |
+
config.text_model,
|
| 113 |
+
torch_dtype=torch_dtype,
|
| 114 |
+
attn_implementation=config._attn_implementation,
|
| 115 |
+
)
|
| 116 |
+
|
| 117 |
+
# Initialize vision model
|
| 118 |
+
with contextlib.redirect_stdout(open(os.devnull, "w")):
|
| 119 |
+
vision_model = AutoModel.from_config(
|
| 120 |
+
config.vision_model,
|
| 121 |
+
trust_remote_code=True,
|
| 122 |
+
torch_dtype=torch_dtype,
|
| 123 |
+
)
|
| 124 |
+
|
| 125 |
+
return super().from_pretrained( # type: ignore
|
| 126 |
+
*args,
|
| 127 |
+
**kwargs,
|
| 128 |
+
text_model=text_model,
|
| 129 |
+
vision_model=vision_model,
|
| 130 |
+
)
|
| 131 |
+
|
| 132 |
+
def forward(
|
| 133 |
+
self,
|
| 134 |
+
input_ids: torch.Tensor,
|
| 135 |
+
inputs_embeds: torch.Tensor | None = None,
|
| 136 |
+
image_mask: torch.Tensor | None = None,
|
| 137 |
+
image_pos_ids: torch.Tensor | None = None,
|
| 138 |
+
labels: torch.Tensor | None = None,
|
| 139 |
+
attention_mask: torch.Tensor | None = None,
|
| 140 |
+
position_ids: torch.Tensor | None = None,
|
| 141 |
+
past_key_values: tuple[tuple[torch.Tensor]] | None = None,
|
| 142 |
+
use_cache: bool | None = None,
|
| 143 |
+
output_attentions: bool | None = None,
|
| 144 |
+
output_hidden_states: bool | None = None,
|
| 145 |
+
return_dict: bool | None = None,
|
| 146 |
+
cache_position: torch.Tensor | None = None,
|
| 147 |
+
num_items_in_batch: int | None = None,
|
| 148 |
+
**kwargs: Any,
|
| 149 |
+
) -> CausalLMOutputWithPast:
|
| 150 |
+
for key in kwargs.keys():
|
| 151 |
+
if kwargs[key] is not None:
|
| 152 |
+
raise ValueError(f"Unknown argument: {key}={kwargs[key]}")
|
| 153 |
+
|
| 154 |
+
output_attentions = (
|
| 155 |
+
output_attentions
|
| 156 |
+
if output_attentions is not None
|
| 157 |
+
else self.config.output_attentions
|
| 158 |
+
)
|
| 159 |
+
output_hidden_states = (
|
| 160 |
+
output_hidden_states
|
| 161 |
+
if output_hidden_states is not None
|
| 162 |
+
else self.config.output_hidden_states
|
| 163 |
+
)
|
| 164 |
+
return_dict = (
|
| 165 |
+
return_dict if return_dict is not None else self.config.use_return_dict
|
| 166 |
+
)
|
| 167 |
+
|
| 168 |
+
if image_mask is None:
|
| 169 |
+
image_mask = input_ids >= self.config.vocab_size
|
| 170 |
+
|
| 171 |
+
# Embed inputs
|
| 172 |
+
if inputs_embeds is None:
|
| 173 |
+
inputs_embeds = self.embed_tokens(
|
| 174 |
+
input_ids,
|
| 175 |
+
image_mask=image_mask,
|
| 176 |
+
image_pos_ids=image_pos_ids,
|
| 177 |
+
)
|
| 178 |
+
|
| 179 |
+
# Core forward pass
|
| 180 |
+
fwd_kwargs = {
|
| 181 |
+
"inputs_embeds": inputs_embeds,
|
| 182 |
+
"attention_mask": attention_mask,
|
| 183 |
+
"position_ids": position_ids,
|
| 184 |
+
"past_key_values": past_key_values,
|
| 185 |
+
"use_cache": use_cache,
|
| 186 |
+
"output_hidden_states": True,
|
| 187 |
+
"output_attentions": output_attentions,
|
| 188 |
+
}
|
| 189 |
+
if self.config.text_model.model_type == "starcoder2":
|
| 190 |
+
fwd_kwargs["cache_position"] = cache_position
|
| 191 |
+
outputs = self.text_model(**fwd_kwargs)
|
| 192 |
+
|
| 193 |
+
# text_logits: (B, L, V)
|
| 194 |
+
text_logits = outputs.logits[:, :, : self.config.vocab_size]
|
| 195 |
+
|
| 196 |
+
# vision_logits: (B, L, C)
|
| 197 |
+
last_hidden_states = outputs.hidden_states[-1]
|
| 198 |
+
vision_logits = self.vis_head(last_hidden_states)
|
| 199 |
+
|
| 200 |
+
if labels is not None:
|
| 201 |
+
# Mask logits with shifted image mask
|
| 202 |
+
shift_mask = F.pad(image_mask[:, 1:], (0, 1), value=False)
|
| 203 |
+
text_logits[shift_mask] = -float("inf")
|
| 204 |
+
vision_logits[~shift_mask] = -float("inf")
|
| 205 |
+
|
| 206 |
+
# Concatenate text and vision logits
|
| 207 |
+
logits = torch.cat([text_logits, vision_logits], dim=-1)
|
| 208 |
+
|
| 209 |
+
loss = None
|
| 210 |
+
if labels is not None:
|
| 211 |
+
loss = self.loss_function(
|
| 212 |
+
logits=logits,
|
| 213 |
+
labels=labels,
|
| 214 |
+
image_vocab_size=self.image_vocab_size,
|
| 215 |
+
image_loss_weight=self.config.image_loss_weight,
|
| 216 |
+
num_items_in_batch=num_items_in_batch,
|
| 217 |
+
**kwargs,
|
| 218 |
+
)
|
| 219 |
+
|
| 220 |
+
if not return_dict:
|
| 221 |
+
output = (logits,) + outputs[1:]
|
| 222 |
+
return (loss,) + output if loss is not None else output
|
| 223 |
+
|
| 224 |
+
return CausalLMOutputWithPast(
|
| 225 |
+
loss=loss,
|
| 226 |
+
logits=logits,
|
| 227 |
+
past_key_values=outputs.past_key_values,
|
| 228 |
+
hidden_states=outputs.hidden_states if output_hidden_states else None,
|
| 229 |
+
attentions=outputs.attentions,
|
| 230 |
+
)
|
| 231 |
+
|
| 232 |
+
def embed_tokens(
|
| 233 |
+
self,
|
| 234 |
+
input_ids: torch.Tensor,
|
| 235 |
+
image_mask: torch.Tensor | None = None,
|
| 236 |
+
image_pos_ids: torch.Tensor | None = None,
|
| 237 |
+
) -> torch.Tensor:
|
| 238 |
+
if image_mask is None:
|
| 239 |
+
return self.text_embed(input_ids) # type: ignore
|
| 240 |
+
|
| 241 |
+
# Prepare placeholders
|
| 242 |
+
size = input_ids.size() + (self.text_model.config.hidden_size,)
|
| 243 |
+
inputs_embeds = torch.zeros(size, device=self.device, dtype=self.dtype)
|
| 244 |
+
|
| 245 |
+
# Embed text ids
|
| 246 |
+
text_embeds = self.text_embed(input_ids[~image_mask])
|
| 247 |
+
inputs_embeds[~image_mask] = text_embeds
|
| 248 |
+
|
| 249 |
+
# Embed image ids
|
| 250 |
+
image_embeds = self.vis_embed(input_ids[image_mask] - self.config.vocab_size)
|
| 251 |
+
|
| 252 |
+
# Concatenate positional embeddings
|
| 253 |
+
assert image_pos_ids is not None
|
| 254 |
+
image_pos = image_pos_ids / self.num_image_tokens
|
| 255 |
+
image_pos = self.proj_vpos(image_pos.unsqueeze(-1)).to(image_embeds)
|
| 256 |
+
image_pos = image_pos[image_mask][:, : self.config.image_pos_size]
|
| 257 |
+
image_embeds = torch.cat([image_embeds, image_pos], dim=-1) # type: ignore
|
| 258 |
+
|
| 259 |
+
# Project image features and update inputs_embeds
|
| 260 |
+
image_embeds = self.proj_vt(image_embeds)
|
| 261 |
+
inputs_embeds[image_mask] = image_embeds
|
| 262 |
+
|
| 263 |
+
return inputs_embeds
|
| 264 |
+
|
| 265 |
+
def text_embed(self, input_ids: torch.Tensor) -> torch.Tensor:
|
| 266 |
+
return self.text_model.get_input_embeddings()(input_ids) # type: ignore
|
| 267 |
+
|
| 268 |
+
def vis_embed(self, input_ids: torch.Tensor) -> torch.Tensor:
|
| 269 |
+
return self.vision_model.model.quantize.embedding(input_ids) # type: ignore
|
| 270 |
+
|
| 271 |
+
def prepare_inputs_for_generation(
|
| 272 |
+
self, input_ids: torch.Tensor, **model_kwargs: Any
|
| 273 |
+
) -> dict:
|
| 274 |
+
# Prepare inputs with the default function
|
| 275 |
+
default_prepare_inputs = self.text_model.prepare_inputs_for_generation
|
| 276 |
+
inputs = default_prepare_inputs(input_ids, **model_kwargs)
|
| 277 |
+
|
| 278 |
+
# Compute image_pos_ids
|
| 279 |
+
base_ids = torch.arange(self.num_image_tokens, device=self.device)
|
| 280 |
+
image_pos_ids = torch.zeros_like(input_ids)
|
| 281 |
+
image_mask_all = input_ids >= self.config.vocab_size
|
| 282 |
+
for i_batch, image_mask in enumerate(image_mask_all):
|
| 283 |
+
N = sum(image_mask)
|
| 284 |
+
pos_ids = base_ids.repeat(N // self.num_image_tokens + 1)
|
| 285 |
+
image_pos_ids[i_batch, image_mask] = pos_ids[:N]
|
| 286 |
+
length = inputs["input_ids"].size(1)
|
| 287 |
+
inputs["image_pos_ids"] = image_pos_ids[:, -length:]
|
| 288 |
+
|
| 289 |
+
inputs["image_mask"] = inputs["input_ids"] >= self.config.vocab_size
|
| 290 |
+
|
| 291 |
+
return inputs # type: ignore
|