Commit
•
02f5383
0
Parent(s):
Duplicate from liuhaotian/LLaVA-Lightning-MPT-7B-preview
Browse filesCo-authored-by: Haotian Liu <liuhaotian@users.noreply.huggingface.co>
- .gitattributes +34 -0
- README.md +48 -0
- config.json +57 -0
- generation_config.json +5 -0
- pytorch_model-00001-of-00002.bin +3 -0
- pytorch_model-00002-of-00002.bin +3 -0
- pytorch_model.bin.index.json +203 -0
- special_tokens_map.json +10 -0
- tokenizer.json +0 -0
- tokenizer_config.json +11 -0
.gitattributes
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
11 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
12 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
13 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
14 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
15 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
16 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
17 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
18 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
19 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
20 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
21 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
22 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
23 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
24 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
25 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
26 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
27 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
28 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
29 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
30 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
31 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
32 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
33 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
34 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: cc-by-nc-sa-4.0
|
3 |
+
inference: false
|
4 |
+
---
|
5 |
+
|
6 |
+
|
7 |
+
**NOTE: This is a research preview of the LLaVA-Lightning based on MPT-7B-chat checkpoint. The usage of the model should comply with MPT-7B-chat license and agreements.**
|
8 |
+
|
9 |
+
**NOTE: Unlike other LLaVA models, this model can (should) be used directly without delta weights conversion!**
|
10 |
+
|
11 |
+
<br>
|
12 |
+
<br>
|
13 |
+
|
14 |
+
# LLaVA Model Card
|
15 |
+
|
16 |
+
## Model details
|
17 |
+
|
18 |
+
**Model type:**
|
19 |
+
LLaVA is an open-source chatbot trained by fine-tuning LLaMA/Vicuna/MPT on GPT-generated multimodal instruction-following data.
|
20 |
+
It is an auto-regressive language model, based on the transformer architecture.
|
21 |
+
|
22 |
+
**Model date:**
|
23 |
+
LLaVA-Lightning-MPT was trained in May 2023.
|
24 |
+
|
25 |
+
**Paper or resources for more information:**
|
26 |
+
https://llava-vl.github.io/
|
27 |
+
|
28 |
+
**License:**
|
29 |
+
CC-BY-NC-SA 4.0
|
30 |
+
|
31 |
+
**Where to send questions or comments about the model:**
|
32 |
+
https://github.com/haotian-liu/LLaVA/issues
|
33 |
+
|
34 |
+
## Intended use
|
35 |
+
**Primary intended uses:**
|
36 |
+
The primary use of LLaVA is research on large multimodal models and chatbots.
|
37 |
+
|
38 |
+
**Primary intended users:**
|
39 |
+
The primary intended users of the model are researchers and hobbyists in computer vision, natural language processing, machine learning, and artificial intelligence.
|
40 |
+
|
41 |
+
## Training dataset
|
42 |
+
558K filtered image-text pairs from LAION/CC/SBU, captioned by BLIP.
|
43 |
+
80K GPT-generated multimodal instruction-following data.
|
44 |
+
|
45 |
+
## Evaluation dataset
|
46 |
+
A preliminary evaluation of the model quality is conducted by creating a set of 90 visual reasoning questions from 30 unique images randomly sampled from COCO val 2014 and each is associated with three types of questions: conversational, detailed description, and complex reasoning. We utilize GPT-4 to judge the model outputs.
|
47 |
+
We also evaluate our model on the ScienceQA dataset. Our synergy with GPT-4 sets a new state-of-the-art on the dataset.
|
48 |
+
See https://llava-vl.github.io/ for more details.
|
config.json
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "llava-mpt-7b-pretrain_blip_558k_new_template_1e-instruct_conv_reason_nooverlap_80k-1epoch",
|
3 |
+
"architectures": [
|
4 |
+
"LlavaMPTForCausalLM"
|
5 |
+
],
|
6 |
+
"attn_config": {
|
7 |
+
"alibi": true,
|
8 |
+
"alibi_bias_max": 8,
|
9 |
+
"attn_impl": "torch",
|
10 |
+
"attn_pdrop": 0,
|
11 |
+
"attn_type": "multihead_attention",
|
12 |
+
"attn_uses_sequence_id": false,
|
13 |
+
"clip_qkv": null,
|
14 |
+
"prefix_lm": false,
|
15 |
+
"qk_ln": false,
|
16 |
+
"softmax_scale": null
|
17 |
+
},
|
18 |
+
"d_model": 4096,
|
19 |
+
"emb_pdrop": 0,
|
20 |
+
"embedding_fraction": 1.0,
|
21 |
+
"expansion_ratio": 4,
|
22 |
+
"freeze_mm_mlp_adapter": false,
|
23 |
+
"init_config": {
|
24 |
+
"emb_init_std": null,
|
25 |
+
"emb_init_uniform_lim": null,
|
26 |
+
"fan_mode": "fan_in",
|
27 |
+
"init_div_is_residual": true,
|
28 |
+
"init_gain": 0,
|
29 |
+
"init_nonlinearity": "relu",
|
30 |
+
"init_std": 0.02,
|
31 |
+
"name": "kaiming_normal_",
|
32 |
+
"verbose": 0
|
33 |
+
},
|
34 |
+
"init_device": "cpu",
|
35 |
+
"learned_pos_emb": true,
|
36 |
+
"logit_scale": null,
|
37 |
+
"max_seq_len": 2048,
|
38 |
+
"mm_hidden_size": 1024,
|
39 |
+
"mm_use_im_start_end": true,
|
40 |
+
"mm_vision_select_layer": -2,
|
41 |
+
"mm_vision_tower": "openai/clip-vit-large-patch14",
|
42 |
+
"model_type": "llava_mpt",
|
43 |
+
"n_heads": 32,
|
44 |
+
"n_layers": 32,
|
45 |
+
"no_bias": true,
|
46 |
+
"norm_type": "low_precision_layernorm",
|
47 |
+
"resid_pdrop": 0,
|
48 |
+
"sep_image_conv_front": false,
|
49 |
+
"tokenizer_name": "sam-mosaic/gpt-neox-20b-chatml",
|
50 |
+
"torch_dtype": "float16",
|
51 |
+
"transformers_version": "4.28.0.dev0",
|
52 |
+
"tune_mm_mlp_adapter": false,
|
53 |
+
"use_cache": true,
|
54 |
+
"use_mm_proj": true,
|
55 |
+
"verbose": 0,
|
56 |
+
"vocab_size": 50282
|
57 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"transformers_version": "4.28.0.dev0",
|
4 |
+
"use_cache": true
|
5 |
+
}
|
pytorch_model-00001-of-00002.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c3b5c5fc9fb3396457831435c0d1c2ebed563113ded07f29ff0c327c28e67a5b
|
3 |
+
size 9941811475
|
pytorch_model-00002-of-00002.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ff8b9d6cf665daec893970697c6204fcce087f0e5035beab0cde2ed3afe8a4a9
|
3 |
+
size 3363996599
|
pytorch_model.bin.index.json
ADDED
@@ -0,0 +1,203 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"metadata": {
|
3 |
+
"total_size": 13305741312
|
4 |
+
},
|
5 |
+
"weight_map": {
|
6 |
+
"transformer.blocks.0.attn.Wqkv.weight": "pytorch_model-00001-of-00002.bin",
|
7 |
+
"transformer.blocks.0.attn.out_proj.weight": "pytorch_model-00001-of-00002.bin",
|
8 |
+
"transformer.blocks.0.ffn.down_proj.weight": "pytorch_model-00001-of-00002.bin",
|
9 |
+
"transformer.blocks.0.ffn.up_proj.weight": "pytorch_model-00001-of-00002.bin",
|
10 |
+
"transformer.blocks.0.norm_1.weight": "pytorch_model-00001-of-00002.bin",
|
11 |
+
"transformer.blocks.0.norm_2.weight": "pytorch_model-00001-of-00002.bin",
|
12 |
+
"transformer.blocks.1.attn.Wqkv.weight": "pytorch_model-00001-of-00002.bin",
|
13 |
+
"transformer.blocks.1.attn.out_proj.weight": "pytorch_model-00001-of-00002.bin",
|
14 |
+
"transformer.blocks.1.ffn.down_proj.weight": "pytorch_model-00001-of-00002.bin",
|
15 |
+
"transformer.blocks.1.ffn.up_proj.weight": "pytorch_model-00001-of-00002.bin",
|
16 |
+
"transformer.blocks.1.norm_1.weight": "pytorch_model-00001-of-00002.bin",
|
17 |
+
"transformer.blocks.1.norm_2.weight": "pytorch_model-00001-of-00002.bin",
|
18 |
+
"transformer.blocks.10.attn.Wqkv.weight": "pytorch_model-00001-of-00002.bin",
|
19 |
+
"transformer.blocks.10.attn.out_proj.weight": "pytorch_model-00001-of-00002.bin",
|
20 |
+
"transformer.blocks.10.ffn.down_proj.weight": "pytorch_model-00001-of-00002.bin",
|
21 |
+
"transformer.blocks.10.ffn.up_proj.weight": "pytorch_model-00001-of-00002.bin",
|
22 |
+
"transformer.blocks.10.norm_1.weight": "pytorch_model-00001-of-00002.bin",
|
23 |
+
"transformer.blocks.10.norm_2.weight": "pytorch_model-00001-of-00002.bin",
|
24 |
+
"transformer.blocks.11.attn.Wqkv.weight": "pytorch_model-00001-of-00002.bin",
|
25 |
+
"transformer.blocks.11.attn.out_proj.weight": "pytorch_model-00001-of-00002.bin",
|
26 |
+
"transformer.blocks.11.ffn.down_proj.weight": "pytorch_model-00001-of-00002.bin",
|
27 |
+
"transformer.blocks.11.ffn.up_proj.weight": "pytorch_model-00001-of-00002.bin",
|
28 |
+
"transformer.blocks.11.norm_1.weight": "pytorch_model-00001-of-00002.bin",
|
29 |
+
"transformer.blocks.11.norm_2.weight": "pytorch_model-00001-of-00002.bin",
|
30 |
+
"transformer.blocks.12.attn.Wqkv.weight": "pytorch_model-00001-of-00002.bin",
|
31 |
+
"transformer.blocks.12.attn.out_proj.weight": "pytorch_model-00001-of-00002.bin",
|
32 |
+
"transformer.blocks.12.ffn.down_proj.weight": "pytorch_model-00001-of-00002.bin",
|
33 |
+
"transformer.blocks.12.ffn.up_proj.weight": "pytorch_model-00001-of-00002.bin",
|
34 |
+
"transformer.blocks.12.norm_1.weight": "pytorch_model-00001-of-00002.bin",
|
35 |
+
"transformer.blocks.12.norm_2.weight": "pytorch_model-00001-of-00002.bin",
|
36 |
+
"transformer.blocks.13.attn.Wqkv.weight": "pytorch_model-00001-of-00002.bin",
|
37 |
+
"transformer.blocks.13.attn.out_proj.weight": "pytorch_model-00001-of-00002.bin",
|
38 |
+
"transformer.blocks.13.ffn.down_proj.weight": "pytorch_model-00001-of-00002.bin",
|
39 |
+
"transformer.blocks.13.ffn.up_proj.weight": "pytorch_model-00001-of-00002.bin",
|
40 |
+
"transformer.blocks.13.norm_1.weight": "pytorch_model-00001-of-00002.bin",
|
41 |
+
"transformer.blocks.13.norm_2.weight": "pytorch_model-00001-of-00002.bin",
|
42 |
+
"transformer.blocks.14.attn.Wqkv.weight": "pytorch_model-00001-of-00002.bin",
|
43 |
+
"transformer.blocks.14.attn.out_proj.weight": "pytorch_model-00001-of-00002.bin",
|
44 |
+
"transformer.blocks.14.ffn.down_proj.weight": "pytorch_model-00001-of-00002.bin",
|
45 |
+
"transformer.blocks.14.ffn.up_proj.weight": "pytorch_model-00001-of-00002.bin",
|
46 |
+
"transformer.blocks.14.norm_1.weight": "pytorch_model-00001-of-00002.bin",
|
47 |
+
"transformer.blocks.14.norm_2.weight": "pytorch_model-00001-of-00002.bin",
|
48 |
+
"transformer.blocks.15.attn.Wqkv.weight": "pytorch_model-00001-of-00002.bin",
|
49 |
+
"transformer.blocks.15.attn.out_proj.weight": "pytorch_model-00001-of-00002.bin",
|
50 |
+
"transformer.blocks.15.ffn.down_proj.weight": "pytorch_model-00001-of-00002.bin",
|
51 |
+
"transformer.blocks.15.ffn.up_proj.weight": "pytorch_model-00001-of-00002.bin",
|
52 |
+
"transformer.blocks.15.norm_1.weight": "pytorch_model-00001-of-00002.bin",
|
53 |
+
"transformer.blocks.15.norm_2.weight": "pytorch_model-00001-of-00002.bin",
|
54 |
+
"transformer.blocks.16.attn.Wqkv.weight": "pytorch_model-00001-of-00002.bin",
|
55 |
+
"transformer.blocks.16.attn.out_proj.weight": "pytorch_model-00001-of-00002.bin",
|
56 |
+
"transformer.blocks.16.ffn.down_proj.weight": "pytorch_model-00001-of-00002.bin",
|
57 |
+
"transformer.blocks.16.ffn.up_proj.weight": "pytorch_model-00001-of-00002.bin",
|
58 |
+
"transformer.blocks.16.norm_1.weight": "pytorch_model-00001-of-00002.bin",
|
59 |
+
"transformer.blocks.16.norm_2.weight": "pytorch_model-00001-of-00002.bin",
|
60 |
+
"transformer.blocks.17.attn.Wqkv.weight": "pytorch_model-00001-of-00002.bin",
|
61 |
+
"transformer.blocks.17.attn.out_proj.weight": "pytorch_model-00001-of-00002.bin",
|
62 |
+
"transformer.blocks.17.ffn.down_proj.weight": "pytorch_model-00001-of-00002.bin",
|
63 |
+
"transformer.blocks.17.ffn.up_proj.weight": "pytorch_model-00001-of-00002.bin",
|
64 |
+
"transformer.blocks.17.norm_1.weight": "pytorch_model-00001-of-00002.bin",
|
65 |
+
"transformer.blocks.17.norm_2.weight": "pytorch_model-00001-of-00002.bin",
|
66 |
+
"transformer.blocks.18.attn.Wqkv.weight": "pytorch_model-00001-of-00002.bin",
|
67 |
+
"transformer.blocks.18.attn.out_proj.weight": "pytorch_model-00001-of-00002.bin",
|
68 |
+
"transformer.blocks.18.ffn.down_proj.weight": "pytorch_model-00001-of-00002.bin",
|
69 |
+
"transformer.blocks.18.ffn.up_proj.weight": "pytorch_model-00001-of-00002.bin",
|
70 |
+
"transformer.blocks.18.norm_1.weight": "pytorch_model-00001-of-00002.bin",
|
71 |
+
"transformer.blocks.18.norm_2.weight": "pytorch_model-00001-of-00002.bin",
|
72 |
+
"transformer.blocks.19.attn.Wqkv.weight": "pytorch_model-00001-of-00002.bin",
|
73 |
+
"transformer.blocks.19.attn.out_proj.weight": "pytorch_model-00001-of-00002.bin",
|
74 |
+
"transformer.blocks.19.ffn.down_proj.weight": "pytorch_model-00001-of-00002.bin",
|
75 |
+
"transformer.blocks.19.ffn.up_proj.weight": "pytorch_model-00001-of-00002.bin",
|
76 |
+
"transformer.blocks.19.norm_1.weight": "pytorch_model-00001-of-00002.bin",
|
77 |
+
"transformer.blocks.19.norm_2.weight": "pytorch_model-00001-of-00002.bin",
|
78 |
+
"transformer.blocks.2.attn.Wqkv.weight": "pytorch_model-00001-of-00002.bin",
|
79 |
+
"transformer.blocks.2.attn.out_proj.weight": "pytorch_model-00001-of-00002.bin",
|
80 |
+
"transformer.blocks.2.ffn.down_proj.weight": "pytorch_model-00001-of-00002.bin",
|
81 |
+
"transformer.blocks.2.ffn.up_proj.weight": "pytorch_model-00001-of-00002.bin",
|
82 |
+
"transformer.blocks.2.norm_1.weight": "pytorch_model-00001-of-00002.bin",
|
83 |
+
"transformer.blocks.2.norm_2.weight": "pytorch_model-00001-of-00002.bin",
|
84 |
+
"transformer.blocks.20.attn.Wqkv.weight": "pytorch_model-00001-of-00002.bin",
|
85 |
+
"transformer.blocks.20.attn.out_proj.weight": "pytorch_model-00001-of-00002.bin",
|
86 |
+
"transformer.blocks.20.ffn.down_proj.weight": "pytorch_model-00001-of-00002.bin",
|
87 |
+
"transformer.blocks.20.ffn.up_proj.weight": "pytorch_model-00001-of-00002.bin",
|
88 |
+
"transformer.blocks.20.norm_1.weight": "pytorch_model-00001-of-00002.bin",
|
89 |
+
"transformer.blocks.20.norm_2.weight": "pytorch_model-00001-of-00002.bin",
|
90 |
+
"transformer.blocks.21.attn.Wqkv.weight": "pytorch_model-00001-of-00002.bin",
|
91 |
+
"transformer.blocks.21.attn.out_proj.weight": "pytorch_model-00001-of-00002.bin",
|
92 |
+
"transformer.blocks.21.ffn.down_proj.weight": "pytorch_model-00001-of-00002.bin",
|
93 |
+
"transformer.blocks.21.ffn.up_proj.weight": "pytorch_model-00001-of-00002.bin",
|
94 |
+
"transformer.blocks.21.norm_1.weight": "pytorch_model-00001-of-00002.bin",
|
95 |
+
"transformer.blocks.21.norm_2.weight": "pytorch_model-00001-of-00002.bin",
|
96 |
+
"transformer.blocks.22.attn.Wqkv.weight": "pytorch_model-00001-of-00002.bin",
|
97 |
+
"transformer.blocks.22.attn.out_proj.weight": "pytorch_model-00001-of-00002.bin",
|
98 |
+
"transformer.blocks.22.ffn.down_proj.weight": "pytorch_model-00001-of-00002.bin",
|
99 |
+
"transformer.blocks.22.ffn.up_proj.weight": "pytorch_model-00001-of-00002.bin",
|
100 |
+
"transformer.blocks.22.norm_1.weight": "pytorch_model-00001-of-00002.bin",
|
101 |
+
"transformer.blocks.22.norm_2.weight": "pytorch_model-00001-of-00002.bin",
|
102 |
+
"transformer.blocks.23.attn.Wqkv.weight": "pytorch_model-00001-of-00002.bin",
|
103 |
+
"transformer.blocks.23.attn.out_proj.weight": "pytorch_model-00001-of-00002.bin",
|
104 |
+
"transformer.blocks.23.ffn.down_proj.weight": "pytorch_model-00002-of-00002.bin",
|
105 |
+
"transformer.blocks.23.ffn.up_proj.weight": "pytorch_model-00001-of-00002.bin",
|
106 |
+
"transformer.blocks.23.norm_1.weight": "pytorch_model-00001-of-00002.bin",
|
107 |
+
"transformer.blocks.23.norm_2.weight": "pytorch_model-00001-of-00002.bin",
|
108 |
+
"transformer.blocks.24.attn.Wqkv.weight": "pytorch_model-00002-of-00002.bin",
|
109 |
+
"transformer.blocks.24.attn.out_proj.weight": "pytorch_model-00002-of-00002.bin",
|
110 |
+
"transformer.blocks.24.ffn.down_proj.weight": "pytorch_model-00002-of-00002.bin",
|
111 |
+
"transformer.blocks.24.ffn.up_proj.weight": "pytorch_model-00002-of-00002.bin",
|
112 |
+
"transformer.blocks.24.norm_1.weight": "pytorch_model-00002-of-00002.bin",
|
113 |
+
"transformer.blocks.24.norm_2.weight": "pytorch_model-00002-of-00002.bin",
|
114 |
+
"transformer.blocks.25.attn.Wqkv.weight": "pytorch_model-00002-of-00002.bin",
|
115 |
+
"transformer.blocks.25.attn.out_proj.weight": "pytorch_model-00002-of-00002.bin",
|
116 |
+
"transformer.blocks.25.ffn.down_proj.weight": "pytorch_model-00002-of-00002.bin",
|
117 |
+
"transformer.blocks.25.ffn.up_proj.weight": "pytorch_model-00002-of-00002.bin",
|
118 |
+
"transformer.blocks.25.norm_1.weight": "pytorch_model-00002-of-00002.bin",
|
119 |
+
"transformer.blocks.25.norm_2.weight": "pytorch_model-00002-of-00002.bin",
|
120 |
+
"transformer.blocks.26.attn.Wqkv.weight": "pytorch_model-00002-of-00002.bin",
|
121 |
+
"transformer.blocks.26.attn.out_proj.weight": "pytorch_model-00002-of-00002.bin",
|
122 |
+
"transformer.blocks.26.ffn.down_proj.weight": "pytorch_model-00002-of-00002.bin",
|
123 |
+
"transformer.blocks.26.ffn.up_proj.weight": "pytorch_model-00002-of-00002.bin",
|
124 |
+
"transformer.blocks.26.norm_1.weight": "pytorch_model-00002-of-00002.bin",
|
125 |
+
"transformer.blocks.26.norm_2.weight": "pytorch_model-00002-of-00002.bin",
|
126 |
+
"transformer.blocks.27.attn.Wqkv.weight": "pytorch_model-00002-of-00002.bin",
|
127 |
+
"transformer.blocks.27.attn.out_proj.weight": "pytorch_model-00002-of-00002.bin",
|
128 |
+
"transformer.blocks.27.ffn.down_proj.weight": "pytorch_model-00002-of-00002.bin",
|
129 |
+
"transformer.blocks.27.ffn.up_proj.weight": "pytorch_model-00002-of-00002.bin",
|
130 |
+
"transformer.blocks.27.norm_1.weight": "pytorch_model-00002-of-00002.bin",
|
131 |
+
"transformer.blocks.27.norm_2.weight": "pytorch_model-00002-of-00002.bin",
|
132 |
+
"transformer.blocks.28.attn.Wqkv.weight": "pytorch_model-00002-of-00002.bin",
|
133 |
+
"transformer.blocks.28.attn.out_proj.weight": "pytorch_model-00002-of-00002.bin",
|
134 |
+
"transformer.blocks.28.ffn.down_proj.weight": "pytorch_model-00002-of-00002.bin",
|
135 |
+
"transformer.blocks.28.ffn.up_proj.weight": "pytorch_model-00002-of-00002.bin",
|
136 |
+
"transformer.blocks.28.norm_1.weight": "pytorch_model-00002-of-00002.bin",
|
137 |
+
"transformer.blocks.28.norm_2.weight": "pytorch_model-00002-of-00002.bin",
|
138 |
+
"transformer.blocks.29.attn.Wqkv.weight": "pytorch_model-00002-of-00002.bin",
|
139 |
+
"transformer.blocks.29.attn.out_proj.weight": "pytorch_model-00002-of-00002.bin",
|
140 |
+
"transformer.blocks.29.ffn.down_proj.weight": "pytorch_model-00002-of-00002.bin",
|
141 |
+
"transformer.blocks.29.ffn.up_proj.weight": "pytorch_model-00002-of-00002.bin",
|
142 |
+
"transformer.blocks.29.norm_1.weight": "pytorch_model-00002-of-00002.bin",
|
143 |
+
"transformer.blocks.29.norm_2.weight": "pytorch_model-00002-of-00002.bin",
|
144 |
+
"transformer.blocks.3.attn.Wqkv.weight": "pytorch_model-00001-of-00002.bin",
|
145 |
+
"transformer.blocks.3.attn.out_proj.weight": "pytorch_model-00001-of-00002.bin",
|
146 |
+
"transformer.blocks.3.ffn.down_proj.weight": "pytorch_model-00001-of-00002.bin",
|
147 |
+
"transformer.blocks.3.ffn.up_proj.weight": "pytorch_model-00001-of-00002.bin",
|
148 |
+
"transformer.blocks.3.norm_1.weight": "pytorch_model-00001-of-00002.bin",
|
149 |
+
"transformer.blocks.3.norm_2.weight": "pytorch_model-00001-of-00002.bin",
|
150 |
+
"transformer.blocks.30.attn.Wqkv.weight": "pytorch_model-00002-of-00002.bin",
|
151 |
+
"transformer.blocks.30.attn.out_proj.weight": "pytorch_model-00002-of-00002.bin",
|
152 |
+
"transformer.blocks.30.ffn.down_proj.weight": "pytorch_model-00002-of-00002.bin",
|
153 |
+
"transformer.blocks.30.ffn.up_proj.weight": "pytorch_model-00002-of-00002.bin",
|
154 |
+
"transformer.blocks.30.norm_1.weight": "pytorch_model-00002-of-00002.bin",
|
155 |
+
"transformer.blocks.30.norm_2.weight": "pytorch_model-00002-of-00002.bin",
|
156 |
+
"transformer.blocks.31.attn.Wqkv.weight": "pytorch_model-00002-of-00002.bin",
|
157 |
+
"transformer.blocks.31.attn.out_proj.weight": "pytorch_model-00002-of-00002.bin",
|
158 |
+
"transformer.blocks.31.ffn.down_proj.weight": "pytorch_model-00002-of-00002.bin",
|
159 |
+
"transformer.blocks.31.ffn.up_proj.weight": "pytorch_model-00002-of-00002.bin",
|
160 |
+
"transformer.blocks.31.norm_1.weight": "pytorch_model-00002-of-00002.bin",
|
161 |
+
"transformer.blocks.31.norm_2.weight": "pytorch_model-00002-of-00002.bin",
|
162 |
+
"transformer.blocks.4.attn.Wqkv.weight": "pytorch_model-00001-of-00002.bin",
|
163 |
+
"transformer.blocks.4.attn.out_proj.weight": "pytorch_model-00001-of-00002.bin",
|
164 |
+
"transformer.blocks.4.ffn.down_proj.weight": "pytorch_model-00001-of-00002.bin",
|
165 |
+
"transformer.blocks.4.ffn.up_proj.weight": "pytorch_model-00001-of-00002.bin",
|
166 |
+
"transformer.blocks.4.norm_1.weight": "pytorch_model-00001-of-00002.bin",
|
167 |
+
"transformer.blocks.4.norm_2.weight": "pytorch_model-00001-of-00002.bin",
|
168 |
+
"transformer.blocks.5.attn.Wqkv.weight": "pytorch_model-00001-of-00002.bin",
|
169 |
+
"transformer.blocks.5.attn.out_proj.weight": "pytorch_model-00001-of-00002.bin",
|
170 |
+
"transformer.blocks.5.ffn.down_proj.weight": "pytorch_model-00001-of-00002.bin",
|
171 |
+
"transformer.blocks.5.ffn.up_proj.weight": "pytorch_model-00001-of-00002.bin",
|
172 |
+
"transformer.blocks.5.norm_1.weight": "pytorch_model-00001-of-00002.bin",
|
173 |
+
"transformer.blocks.5.norm_2.weight": "pytorch_model-00001-of-00002.bin",
|
174 |
+
"transformer.blocks.6.attn.Wqkv.weight": "pytorch_model-00001-of-00002.bin",
|
175 |
+
"transformer.blocks.6.attn.out_proj.weight": "pytorch_model-00001-of-00002.bin",
|
176 |
+
"transformer.blocks.6.ffn.down_proj.weight": "pytorch_model-00001-of-00002.bin",
|
177 |
+
"transformer.blocks.6.ffn.up_proj.weight": "pytorch_model-00001-of-00002.bin",
|
178 |
+
"transformer.blocks.6.norm_1.weight": "pytorch_model-00001-of-00002.bin",
|
179 |
+
"transformer.blocks.6.norm_2.weight": "pytorch_model-00001-of-00002.bin",
|
180 |
+
"transformer.blocks.7.attn.Wqkv.weight": "pytorch_model-00001-of-00002.bin",
|
181 |
+
"transformer.blocks.7.attn.out_proj.weight": "pytorch_model-00001-of-00002.bin",
|
182 |
+
"transformer.blocks.7.ffn.down_proj.weight": "pytorch_model-00001-of-00002.bin",
|
183 |
+
"transformer.blocks.7.ffn.up_proj.weight": "pytorch_model-00001-of-00002.bin",
|
184 |
+
"transformer.blocks.7.norm_1.weight": "pytorch_model-00001-of-00002.bin",
|
185 |
+
"transformer.blocks.7.norm_2.weight": "pytorch_model-00001-of-00002.bin",
|
186 |
+
"transformer.blocks.8.attn.Wqkv.weight": "pytorch_model-00001-of-00002.bin",
|
187 |
+
"transformer.blocks.8.attn.out_proj.weight": "pytorch_model-00001-of-00002.bin",
|
188 |
+
"transformer.blocks.8.ffn.down_proj.weight": "pytorch_model-00001-of-00002.bin",
|
189 |
+
"transformer.blocks.8.ffn.up_proj.weight": "pytorch_model-00001-of-00002.bin",
|
190 |
+
"transformer.blocks.8.norm_1.weight": "pytorch_model-00001-of-00002.bin",
|
191 |
+
"transformer.blocks.8.norm_2.weight": "pytorch_model-00001-of-00002.bin",
|
192 |
+
"transformer.blocks.9.attn.Wqkv.weight": "pytorch_model-00001-of-00002.bin",
|
193 |
+
"transformer.blocks.9.attn.out_proj.weight": "pytorch_model-00001-of-00002.bin",
|
194 |
+
"transformer.blocks.9.ffn.down_proj.weight": "pytorch_model-00001-of-00002.bin",
|
195 |
+
"transformer.blocks.9.ffn.up_proj.weight": "pytorch_model-00001-of-00002.bin",
|
196 |
+
"transformer.blocks.9.norm_1.weight": "pytorch_model-00001-of-00002.bin",
|
197 |
+
"transformer.blocks.9.norm_2.weight": "pytorch_model-00001-of-00002.bin",
|
198 |
+
"transformer.mm_projector.bias": "pytorch_model-00002-of-00002.bin",
|
199 |
+
"transformer.mm_projector.weight": "pytorch_model-00002-of-00002.bin",
|
200 |
+
"transformer.norm_f.weight": "pytorch_model-00002-of-00002.bin",
|
201 |
+
"transformer.wte.weight": "pytorch_model-00001-of-00002.bin"
|
202 |
+
}
|
203 |
+
}
|
special_tokens_map.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"<|im_start|>",
|
4 |
+
"<|im_end|>"
|
5 |
+
],
|
6 |
+
"bos_token": "<|endoftext|>",
|
7 |
+
"eos_token": "<|endoftext|>",
|
8 |
+
"pad_token": "<|endoftext|>",
|
9 |
+
"unk_token": "<|endoftext|>"
|
10 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": false,
|
3 |
+
"bos_token": "<|endoftext|>",
|
4 |
+
"clean_up_tokenization_spaces": true,
|
5 |
+
"eos_token": "<|endoftext|>",
|
6 |
+
"model_max_length": 2048,
|
7 |
+
"padding_side": "right",
|
8 |
+
"special_tokens_map_file": "./checkpoints/mpt-7b-chat/special_tokens_map.json",
|
9 |
+
"tokenizer_class": "GPTNeoXTokenizer",
|
10 |
+
"unk_token": "<|endoftext|>"
|
11 |
+
}
|