hf-transformers-bot
commited on
Commit
•
6279705
1
Parent(s):
2c2f2e2
Update tiny models for IdeficsForVisionText2Text
Browse files- config.json +1 -2
- generation_config.json +1 -1
- pytorch_model.bin +1 -1
- special_tokens_map.json +5 -35
- tokenizer.json +1 -1
- tokenizer_config.json +49 -24
config.json
CHANGED
@@ -38,7 +38,6 @@
|
|
38 |
"num_attention_heads": 4,
|
39 |
"num_channels": 3,
|
40 |
"num_hidden_layers": 5,
|
41 |
-
"num_images": -1,
|
42 |
"pad_token_id": 0,
|
43 |
"patch_size": 2,
|
44 |
"perceiver_config": {
|
@@ -48,7 +47,7 @@
|
|
48 |
"rms_norm_eps": 1e-06,
|
49 |
"tie_word_embeddings": false,
|
50 |
"torch_dtype": "float32",
|
51 |
-
"transformers_version": "4.
|
52 |
"type_vocab_size": 16,
|
53 |
"use_cache": true,
|
54 |
"use_resampler": false,
|
|
|
38 |
"num_attention_heads": 4,
|
39 |
"num_channels": 3,
|
40 |
"num_hidden_layers": 5,
|
|
|
41 |
"pad_token_id": 0,
|
42 |
"patch_size": 2,
|
43 |
"perceiver_config": {
|
|
|
47 |
"rms_norm_eps": 1e-06,
|
48 |
"tie_word_embeddings": false,
|
49 |
"torch_dtype": "float32",
|
50 |
+
"transformers_version": "4.34.0.dev0",
|
51 |
"type_vocab_size": 16,
|
52 |
"use_cache": true,
|
53 |
"use_resampler": false,
|
generation_config.json
CHANGED
@@ -3,5 +3,5 @@
|
|
3 |
"bos_token_id": 1,
|
4 |
"eos_token_id": 2,
|
5 |
"pad_token_id": 0,
|
6 |
-
"transformers_version": "4.
|
7 |
}
|
|
|
3 |
"bos_token_id": 1,
|
4 |
"eos_token_id": 2,
|
5 |
"pad_token_id": 0,
|
6 |
+
"transformers_version": "4.34.0.dev0"
|
7 |
}
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 8733485
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2a034441e9077bda1113a4763ee5dec790b50c2707e22f6d91df39058ef36911
|
3 |
size 8733485
|
special_tokens_map.json
CHANGED
@@ -1,40 +1,10 @@
|
|
1 |
{
|
2 |
"additional_special_tokens": [
|
3 |
-
|
4 |
-
|
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 |
-
|
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 |
}
|
|
|
1 |
{
|
2 |
"additional_special_tokens": [
|
3 |
+
"<fake_token_around_image>",
|
4 |
+
"<image>"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
],
|
6 |
+
"bos_token": "<s>",
|
7 |
+
"eos_token": "</s>",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
"pad_token": "<unk>",
|
9 |
+
"unk_token": "<unk>"
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
}
|
tokenizer.json
CHANGED
@@ -9,7 +9,7 @@
|
|
9 |
"single_word": false,
|
10 |
"lstrip": false,
|
11 |
"rstrip": false,
|
12 |
-
"normalized":
|
13 |
"special": true
|
14 |
},
|
15 |
{
|
|
|
9 |
"single_word": false,
|
10 |
"lstrip": false,
|
11 |
"rstrip": false,
|
12 |
+
"normalized": true,
|
13 |
"special": true
|
14 |
},
|
15 |
{
|
tokenizer_config.json
CHANGED
@@ -1,36 +1,61 @@
|
|
1 |
{
|
2 |
"add_bos_token": true,
|
3 |
"add_eos_token": false,
|
4 |
-
"
|
5 |
-
"
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
"legacy": true,
|
22 |
"model_max_length": 512,
|
23 |
-
"pad_token":
|
24 |
"sp_model_kwargs": {},
|
25 |
"spaces_between_special_tokens": false,
|
26 |
"tokenizer_class": "LlamaTokenizer",
|
27 |
-
"unk_token":
|
28 |
-
"__type": "AddedToken",
|
29 |
-
"content": "<unk>",
|
30 |
-
"lstrip": false,
|
31 |
-
"normalized": true,
|
32 |
-
"rstrip": false,
|
33 |
-
"single_word": false
|
34 |
-
},
|
35 |
"use_default_system_prompt": true
|
36 |
}
|
|
|
1 |
{
|
2 |
"add_bos_token": true,
|
3 |
"add_eos_token": false,
|
4 |
+
"added_tokens_decoder": {
|
5 |
+
"0": {
|
6 |
+
"content": "<unk>",
|
7 |
+
"lstrip": false,
|
8 |
+
"normalized": true,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false,
|
11 |
+
"special": true
|
12 |
+
},
|
13 |
+
"1": {
|
14 |
+
"content": "<s>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": true,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false,
|
19 |
+
"special": true
|
20 |
+
},
|
21 |
+
"2": {
|
22 |
+
"content": "</s>",
|
23 |
+
"lstrip": false,
|
24 |
+
"normalized": true,
|
25 |
+
"rstrip": false,
|
26 |
+
"single_word": false,
|
27 |
+
"special": true
|
28 |
+
},
|
29 |
+
"32000": {
|
30 |
+
"content": "<fake_token_around_image>",
|
31 |
+
"lstrip": false,
|
32 |
+
"normalized": true,
|
33 |
+
"rstrip": false,
|
34 |
+
"single_word": false,
|
35 |
+
"special": true
|
36 |
+
},
|
37 |
+
"32001": {
|
38 |
+
"content": "<image>",
|
39 |
+
"lstrip": false,
|
40 |
+
"normalized": true,
|
41 |
+
"rstrip": false,
|
42 |
+
"single_word": false,
|
43 |
+
"special": true
|
44 |
+
}
|
45 |
},
|
46 |
+
"additional_special_tokens": [
|
47 |
+
"<fake_token_around_image>",
|
48 |
+
"<image>"
|
49 |
+
],
|
50 |
+
"bos_token": "<s>",
|
51 |
"clean_up_tokenization_spaces": false,
|
52 |
+
"eos_token": "</s>",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
"legacy": true,
|
54 |
"model_max_length": 512,
|
55 |
+
"pad_token": "<unk>",
|
56 |
"sp_model_kwargs": {},
|
57 |
"spaces_between_special_tokens": false,
|
58 |
"tokenizer_class": "LlamaTokenizer",
|
59 |
+
"unk_token": "<unk>",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
60 |
"use_default_system_prompt": true
|
61 |
}
|