Upload folder using huggingface_hub
Browse files- added_tokens.json +4 -0
- config.json +43 -0
- generation_config.json +6 -0
- merges.txt +0 -0
- model.safetensors +3 -0
- special_tokens_map.json +39 -0
- tokenizer_config.json +50 -0
- vocab.json +0 -0
added_tokens.json
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"<im_patch>": 50266,
|
3 |
+
"<|extra_0|>": 50265
|
4 |
+
}
|
config.json
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "Qwen/Qwen1.5-1.8B",
|
3 |
+
"architectures": [
|
4 |
+
"LlavaQwen1_5ForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_dropout": 0.0,
|
7 |
+
"bos_token_id": 151643,
|
8 |
+
"eos_token_id": 151643,
|
9 |
+
"hidden_act": "silu",
|
10 |
+
"hidden_size": 2048,
|
11 |
+
"image_aspect_ratio": "pad",
|
12 |
+
"image_projector_type": "linear",
|
13 |
+
"initializer_range": 0.02,
|
14 |
+
"intermediate_size": 5504,
|
15 |
+
"max_position_embeddings": 32768,
|
16 |
+
"max_window_layers": 21,
|
17 |
+
"mm_hidden_size": 768,
|
18 |
+
"mm_image_tower": "google/siglip-base-patch16-256-multilingual",
|
19 |
+
"mm_use_im_patch_token": true,
|
20 |
+
"mm_use_im_start_end": false,
|
21 |
+
"mm_video_tower": null,
|
22 |
+
"mm_vision_select_feature": "patch",
|
23 |
+
"mm_vision_select_layer": -1,
|
24 |
+
"model_type": "llava_qwen1_5",
|
25 |
+
"num_attention_heads": 16,
|
26 |
+
"num_hidden_layers": 24,
|
27 |
+
"num_key_value_heads": 16,
|
28 |
+
"rms_norm_eps": 1e-06,
|
29 |
+
"rope_theta": 1000000.0,
|
30 |
+
"sliding_window": 32768,
|
31 |
+
"tie_word_embeddings": false,
|
32 |
+
"tokenizer_padding_side": "right",
|
33 |
+
"torch_dtype": "float16",
|
34 |
+
"transformers_version": "4.37.0",
|
35 |
+
"use_cache": true,
|
36 |
+
"use_mm_proj": true,
|
37 |
+
"use_sliding_window": false,
|
38 |
+
"video_global_proj": false,
|
39 |
+
"video_projector_type": "linear",
|
40 |
+
"video_spatial_proj": false,
|
41 |
+
"video_temproal_proj": false,
|
42 |
+
"vocab_size": 50267
|
43 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token_id": 151643,
|
3 |
+
"eos_token_id": 151643,
|
4 |
+
"max_new_tokens": 2048,
|
5 |
+
"transformers_version": "4.37.0"
|
6 |
+
}
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c5deae5ba4db0016ebfe7bfdc8df1722215297c80e3ecde67ae4ca54ca8dae98
|
3 |
+
size 3033009472
|
special_tokens_map.json
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
{
|
4 |
+
"content": "<im_patch>",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false
|
9 |
+
}
|
10 |
+
],
|
11 |
+
"bos_token": {
|
12 |
+
"content": "</s>",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": true,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false
|
17 |
+
},
|
18 |
+
"eos_token": {
|
19 |
+
"content": "</s>",
|
20 |
+
"lstrip": false,
|
21 |
+
"normalized": true,
|
22 |
+
"rstrip": false,
|
23 |
+
"single_word": false
|
24 |
+
},
|
25 |
+
"pad_token": {
|
26 |
+
"content": "<pad>",
|
27 |
+
"lstrip": false,
|
28 |
+
"normalized": true,
|
29 |
+
"rstrip": false,
|
30 |
+
"single_word": false
|
31 |
+
},
|
32 |
+
"unk_token": {
|
33 |
+
"content": "<|extra_0|>",
|
34 |
+
"lstrip": false,
|
35 |
+
"normalized": false,
|
36 |
+
"rstrip": false,
|
37 |
+
"single_word": false
|
38 |
+
}
|
39 |
+
}
|
tokenizer_config.json
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": true,
|
3 |
+
"add_prefix_space": false,
|
4 |
+
"added_tokens_decoder": {
|
5 |
+
"1": {
|
6 |
+
"content": "<pad>",
|
7 |
+
"lstrip": false,
|
8 |
+
"normalized": true,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false,
|
11 |
+
"special": true
|
12 |
+
},
|
13 |
+
"2": {
|
14 |
+
"content": "</s>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": true,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false,
|
19 |
+
"special": true
|
20 |
+
},
|
21 |
+
"50265": {
|
22 |
+
"content": "<|extra_0|>",
|
23 |
+
"lstrip": false,
|
24 |
+
"normalized": false,
|
25 |
+
"rstrip": false,
|
26 |
+
"single_word": false,
|
27 |
+
"special": true
|
28 |
+
},
|
29 |
+
"50266": {
|
30 |
+
"content": "<im_patch>",
|
31 |
+
"lstrip": false,
|
32 |
+
"normalized": false,
|
33 |
+
"rstrip": false,
|
34 |
+
"single_word": false,
|
35 |
+
"special": true
|
36 |
+
}
|
37 |
+
},
|
38 |
+
"additional_special_tokens": [
|
39 |
+
"<im_patch>"
|
40 |
+
],
|
41 |
+
"bos_token": "</s>",
|
42 |
+
"clean_up_tokenization_spaces": true,
|
43 |
+
"eos_token": "</s>",
|
44 |
+
"errors": "replace",
|
45 |
+
"model_max_length": 1024,
|
46 |
+
"pad_token": "<pad>",
|
47 |
+
"padding_side": "right",
|
48 |
+
"tokenizer_class": "GPT2Tokenizer",
|
49 |
+
"unk_token": "<|extra_0|>"
|
50 |
+
}
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|