VictorSanh
commited on
Commit
•
aca8e0b
1
Parent(s):
d53eea0
First commit
Browse files- added_tokens.json +4 -0
- config.json +46 -0
- generation_config.json +7 -0
- pytorch_model-00001-of-00017.bin +3 -0
- pytorch_model-00002-of-00017.bin +3 -0
- pytorch_model-00003-of-00017.bin +3 -0
- pytorch_model-00004-of-00017.bin +3 -0
- pytorch_model-00005-of-00017.bin +3 -0
- pytorch_model-00006-of-00017.bin +3 -0
- pytorch_model-00007-of-00017.bin +3 -0
- pytorch_model-00008-of-00017.bin +3 -0
- pytorch_model-00009-of-00017.bin +3 -0
- pytorch_model-00010-of-00017.bin +3 -0
- pytorch_model-00011-of-00017.bin +3 -0
- pytorch_model-00012-of-00017.bin +3 -0
- pytorch_model-00013-of-00017.bin +3 -0
- pytorch_model-00014-of-00017.bin +3 -0
- pytorch_model-00015-of-00017.bin +3 -0
- pytorch_model-00016-of-00017.bin +3 -0
- pytorch_model-00017-of-00017.bin +3 -0
- pytorch_model.bin.index.json +0 -0
- special_tokens_map.json +40 -0
- tokenizer.model +3 -0
- tokenizer_config.json +34 -0
added_tokens.json
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"<fake_token_around_image>": 32000,
|
3 |
+
"<image>": 32001
|
4 |
+
}
|
config.json
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "None",
|
3 |
+
"additional_vocab_size": 2,
|
4 |
+
"alpha_initializer": "zeros",
|
5 |
+
"alpha_type": "float",
|
6 |
+
"alphas_initializer_range": 0.0,
|
7 |
+
"architectures": [
|
8 |
+
"VLlamaForCausalLM"
|
9 |
+
],
|
10 |
+
"bos_token_id": 1,
|
11 |
+
"cross_layer_activation_function": "swiglu",
|
12 |
+
"cross_layer_interval": 4,
|
13 |
+
"dropout": 0.0,
|
14 |
+
"eos_token_id": 2,
|
15 |
+
"freeze_lm_head": false,
|
16 |
+
"freeze_text_layers": false,
|
17 |
+
"freeze_text_module_exceptions": [],
|
18 |
+
"freeze_vision_layers": false,
|
19 |
+
"freeze_vision_module_exceptions": [],
|
20 |
+
"hidden_act": "silu",
|
21 |
+
"hidden_size": 8192,
|
22 |
+
"initializer_range": 0.02,
|
23 |
+
"intermediate_size": 22016,
|
24 |
+
"max_sequence_length": 2048,
|
25 |
+
"model_type": "vllama",
|
26 |
+
"num_attention_heads": 64,
|
27 |
+
"num_hidden_layers": 80,
|
28 |
+
"pad_token_id": 0,
|
29 |
+
"qk_layer_norms": true,
|
30 |
+
"qk_layer_norms_perceiver": true,
|
31 |
+
"resampler_depth": 6,
|
32 |
+
"resampler_head_dim": 96,
|
33 |
+
"resampler_n_heads": 16,
|
34 |
+
"resampler_n_latents": 64,
|
35 |
+
"rms_norm_eps": 1e-05,
|
36 |
+
"tie_word_embeddings": false,
|
37 |
+
"torch_dtype": "bfloat16",
|
38 |
+
"transformers_version": "4.28.0.dev0",
|
39 |
+
"use_cache": true,
|
40 |
+
"use_resampler": true,
|
41 |
+
"vision_embed_dim": 1280,
|
42 |
+
"vision_image_size": 224,
|
43 |
+
"vision_model_name": "laion/CLIP-ViT-H-14-laion2B-s32B-b79K",
|
44 |
+
"vision_model_params": "{\"id2label\":{}, \"label2id\":{}}",
|
45 |
+
"vocab_size": 32000
|
46 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 1,
|
4 |
+
"eos_token_id": 2,
|
5 |
+
"pad_token_id": 0,
|
6 |
+
"transformers_version": "4.28.0.dev0"
|
7 |
+
}
|
pytorch_model-00001-of-00017.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:be7426b26d6e31b49d30912aa73d9c1329ae1b01c1ffae2df887dab36a63d669
|
3 |
+
size 9772443419
|
pytorch_model-00002-of-00017.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8c16dbf4391c8c4fa974ce71fda55bd983299782401fbfb54c99c5e5bd63f433
|
3 |
+
size 9714226703
|
pytorch_model-00003-of-00017.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:82d99ea3c26e32cf7c39ad8835b3abaa3b8f7fa0a29a8c6bbbb38c273042f59d
|
3 |
+
size 9714226767
|
pytorch_model-00004-of-00017.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e855cba9da06841b3bb66ae9f309055c16e6888f30762b528d7d19c92510b3d5
|
3 |
+
size 9714226767
|
pytorch_model-00005-of-00017.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8485923891f044eac47bc86a67d411378e891fa70799ca5811feb5183d675ac5
|
3 |
+
size 9714226767
|
pytorch_model-00006-of-00017.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7a0fe36dc7eafd0925a69e03057f197085523eaf5ab8892974e8f0bc07ae4f24
|
3 |
+
size 9714226767
|
pytorch_model-00007-of-00017.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ec40fb0a666f4594eb7e1be82a006f11bb7bcbbf79c6a8f9c621bcc9eae55bc0
|
3 |
+
size 9714226767
|
pytorch_model-00008-of-00017.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1b01f66d9a07181a7b89bcfc32f7dade629e1e5585315e4551fabca7593ff434
|
3 |
+
size 9714226767
|
pytorch_model-00009-of-00017.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:35093b0673cedc15e93882fd2f864c9a97b0ef9d8e8d74d1f1cb4d0f7212a220
|
3 |
+
size 9714226767
|
pytorch_model-00010-of-00017.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0b3a537d0542007ab1220620ccfd0a8e69ee498462f3805f118b0243d6237114
|
3 |
+
size 9714226767
|
pytorch_model-00011-of-00017.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:93183deb5d361a0c9e8f7082facc170ebef6a20502f086333fab1afea58ed8cd
|
3 |
+
size 9714226767
|
pytorch_model-00012-of-00017.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:be28bbba4bba2e3968744c445debe8579775fd2138c48865c051c3a06ac45a78
|
3 |
+
size 9714226767
|
pytorch_model-00013-of-00017.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f34f4999173fbf1dcd967cdc94c04a177f0cb9a337f05a6c3c33f092b594da83
|
3 |
+
size 9714226767
|
pytorch_model-00014-of-00017.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:37e9e52498001140909b339b04f406fa5be0d6feea17d0b89ba326638c1d3c03
|
3 |
+
size 9705882223
|
pytorch_model-00015-of-00017.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:09636fe399fc7ca17534323431d5684852e4b7e6485e5cc9d7034fbff05ea421
|
3 |
+
size 9747832343
|
pytorch_model-00016-of-00017.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:850065c607e069d3d7d2780f202a2254d87716ad19f9253b157e854d637e24b7
|
3 |
+
size 9747832407
|
pytorch_model-00017-of-00017.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fe0ffdc50711791bf0e2b27899c32376e115f2e721775890025fb0c504d00781
|
3 |
+
size 4391597827
|
pytorch_model.bin.index.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
special_tokens_map.json
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
{
|
4 |
+
"content": "<fake_token_around_image>",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": true,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false
|
9 |
+
},
|
10 |
+
{
|
11 |
+
"content": "<image>",
|
12 |
+
"lstrip": false,
|
13 |
+
"normalized": true,
|
14 |
+
"rstrip": false,
|
15 |
+
"single_word": false
|
16 |
+
}
|
17 |
+
],
|
18 |
+
"bos_token": {
|
19 |
+
"content": "<s>",
|
20 |
+
"lstrip": false,
|
21 |
+
"normalized": true,
|
22 |
+
"rstrip": false,
|
23 |
+
"single_word": false
|
24 |
+
},
|
25 |
+
"eos_token": {
|
26 |
+
"content": "</s>",
|
27 |
+
"lstrip": false,
|
28 |
+
"normalized": true,
|
29 |
+
"rstrip": false,
|
30 |
+
"single_word": false
|
31 |
+
},
|
32 |
+
"pad_token": "<unk>",
|
33 |
+
"unk_token": {
|
34 |
+
"content": "<unk>",
|
35 |
+
"lstrip": false,
|
36 |
+
"normalized": true,
|
37 |
+
"rstrip": false,
|
38 |
+
"single_word": false
|
39 |
+
}
|
40 |
+
}
|
tokenizer.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
|
3 |
+
size 499723
|
tokenizer_config.json
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": true,
|
3 |
+
"add_eos_token": false,
|
4 |
+
"bos_token": {
|
5 |
+
"__type": "AddedToken",
|
6 |
+
"content": "<s>",
|
7 |
+
"lstrip": false,
|
8 |
+
"normalized": true,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false
|
11 |
+
},
|
12 |
+
"clean_up_tokenization_spaces": false,
|
13 |
+
"eos_token": {
|
14 |
+
"__type": "AddedToken",
|
15 |
+
"content": "</s>",
|
16 |
+
"lstrip": false,
|
17 |
+
"normalized": true,
|
18 |
+
"rstrip": false,
|
19 |
+
"single_word": false
|
20 |
+
},
|
21 |
+
"model_max_length": 2048,
|
22 |
+
"pad_token": null,
|
23 |
+
"sp_model_kwargs": {},
|
24 |
+
"special_tokens_map_file": "/Users/leotronchon/.cache/huggingface/hub/models--huggyllama--llama-7b/snapshots/8416d3fefb0cb3ff5775a7b13c1692d10ff1aa16/special_tokens_map.json",
|
25 |
+
"tokenizer_class": "LlamaTokenizer",
|
26 |
+
"unk_token": {
|
27 |
+
"__type": "AddedToken",
|
28 |
+
"content": "<unk>",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": true,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false
|
33 |
+
}
|
34 |
+
}
|