Upload 12 files
Browse files- adapter_config.json +26 -0
- adapter_model.bin +3 -0
- adapter_model.safetensors +3 -0
- added_tokens.json +6 -0
- config.json +47 -0
- merges.txt +0 -0
- non_lora_trainables.bin +3 -0
- special_tokens_map.json +21 -0
- tokenizer_config.json +52 -0
- trainer_state.json +0 -0
- training_args.bin +3 -0
- vocab.json +0 -0
adapter_config.json
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"auto_mapping": null,
|
3 |
+
"base_model_name_or_path": "Qwen/Qwen1.5-0.5B",
|
4 |
+
"bias": "none",
|
5 |
+
"fan_in_fan_out": false,
|
6 |
+
"inference_mode": true,
|
7 |
+
"init_lora_weights": true,
|
8 |
+
"layers_pattern": null,
|
9 |
+
"layers_to_transform": null,
|
10 |
+
"lora_alpha": 256,
|
11 |
+
"lora_dropout": 0.05,
|
12 |
+
"modules_to_save": null,
|
13 |
+
"peft_type": "LORA",
|
14 |
+
"r": 128,
|
15 |
+
"revision": null,
|
16 |
+
"target_modules": [
|
17 |
+
"up_proj",
|
18 |
+
"q_proj",
|
19 |
+
"down_proj",
|
20 |
+
"v_proj",
|
21 |
+
"k_proj",
|
22 |
+
"o_proj",
|
23 |
+
"gate_proj"
|
24 |
+
],
|
25 |
+
"task_type": "CAUSAL_LM"
|
26 |
+
}
|
adapter_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:82d48293299f0c0c95888b43846c872aba0ec4fcdf45ced9f5aa161dce7f2bb3
|
3 |
+
size 121226829
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:97b3f7e23ec5289fc71bb98c9c9797f073ff0b8f9914acd03a485ba88ec00783
|
3 |
+
size 242266488
|
added_tokens.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"<|endoftext|>": 151643,
|
3 |
+
"<|extra_0|>": 151646,
|
4 |
+
"<|im_end|>": 151645,
|
5 |
+
"<|im_start|>": 151644
|
6 |
+
}
|
config.json
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "Qwen/Qwen1.5-0.5B",
|
3 |
+
"architectures": [
|
4 |
+
"Qwen2ForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_dropout": 0.0,
|
7 |
+
"bos_token_id": 151643,
|
8 |
+
"eos_token_id": 151643,
|
9 |
+
"freeze_mm_mlp_adapter": false,
|
10 |
+
"hidden_act": "silu",
|
11 |
+
"hidden_size": 1024,
|
12 |
+
"image_aspect_ratio": "pad",
|
13 |
+
"image_projector_type": "mlp2x_gelu",
|
14 |
+
"initializer_range": 0.02,
|
15 |
+
"intermediate_size": 2816,
|
16 |
+
"max_position_embeddings": 32768,
|
17 |
+
"max_window_layers": 21,
|
18 |
+
"mm_hidden_size": 768,
|
19 |
+
"mm_image_tower": "google/siglip-base-patch16-256-multilingual",
|
20 |
+
"mm_projector_lr": 1.25e-06,
|
21 |
+
"mm_use_im_patch_token": false,
|
22 |
+
"mm_use_im_start_end": false,
|
23 |
+
"mm_video_tower": null,
|
24 |
+
"mm_vision_select_feature": "patch",
|
25 |
+
"mm_vision_select_layer": -2,
|
26 |
+
"model_type": "llava_qwen2",
|
27 |
+
"num_attention_heads": 16,
|
28 |
+
"num_hidden_layers": 24,
|
29 |
+
"num_key_value_heads": 16,
|
30 |
+
"pad_token_id": 151646,
|
31 |
+
"rms_norm_eps": 1e-06,
|
32 |
+
"rope_theta": 1000000.0,
|
33 |
+
"sliding_window": 32768,
|
34 |
+
"tie_word_embeddings": true,
|
35 |
+
"tokenizer_padding_side": "right",
|
36 |
+
"torch_dtype": "bfloat16",
|
37 |
+
"transformers_version": "4.37.0",
|
38 |
+
"tune_mm_mlp_adapter": false,
|
39 |
+
"use_cache": true,
|
40 |
+
"use_mm_proj": true,
|
41 |
+
"use_sliding_window": false,
|
42 |
+
"video_global_proj": false,
|
43 |
+
"video_projector_type": "linear",
|
44 |
+
"video_spatial_proj": false,
|
45 |
+
"video_temproal_proj": false,
|
46 |
+
"vocab_size": 151936
|
47 |
+
}
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
non_lora_trainables.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:19914544aacf11fd43dfc85e3286f8c412598f2108054ceff1f3a5b0d318762c
|
3 |
+
size 3675943
|
special_tokens_map.json
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"<|im_start|>",
|
4 |
+
"<|im_end|>"
|
5 |
+
],
|
6 |
+
"eos_token": {
|
7 |
+
"content": "<|endoftext|>",
|
8 |
+
"lstrip": false,
|
9 |
+
"normalized": false,
|
10 |
+
"rstrip": false,
|
11 |
+
"single_word": false
|
12 |
+
},
|
13 |
+
"pad_token": "<|extra_0|>",
|
14 |
+
"unk_token": {
|
15 |
+
"content": "<|extra_0|>",
|
16 |
+
"lstrip": false,
|
17 |
+
"normalized": false,
|
18 |
+
"rstrip": false,
|
19 |
+
"single_word": false
|
20 |
+
}
|
21 |
+
}
|
tokenizer_config.json
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": false,
|
3 |
+
"added_tokens_decoder": {
|
4 |
+
"151643": {
|
5 |
+
"content": "<|endoftext|>",
|
6 |
+
"lstrip": false,
|
7 |
+
"normalized": false,
|
8 |
+
"rstrip": false,
|
9 |
+
"single_word": false,
|
10 |
+
"special": true
|
11 |
+
},
|
12 |
+
"151644": {
|
13 |
+
"content": "<|im_start|>",
|
14 |
+
"lstrip": false,
|
15 |
+
"normalized": false,
|
16 |
+
"rstrip": false,
|
17 |
+
"single_word": false,
|
18 |
+
"special": true
|
19 |
+
},
|
20 |
+
"151645": {
|
21 |
+
"content": "<|im_end|>",
|
22 |
+
"lstrip": false,
|
23 |
+
"normalized": false,
|
24 |
+
"rstrip": false,
|
25 |
+
"single_word": false,
|
26 |
+
"special": true
|
27 |
+
},
|
28 |
+
"151646": {
|
29 |
+
"content": "<|extra_0|>",
|
30 |
+
"lstrip": false,
|
31 |
+
"normalized": false,
|
32 |
+
"rstrip": false,
|
33 |
+
"single_word": false,
|
34 |
+
"special": true
|
35 |
+
}
|
36 |
+
},
|
37 |
+
"additional_special_tokens": [
|
38 |
+
"<|im_start|>",
|
39 |
+
"<|im_end|>"
|
40 |
+
],
|
41 |
+
"bos_token": null,
|
42 |
+
"chat_template": "{% for message in messages %}{% if loop.first and messages[0]['role'] != 'system' %}{{ '<|im_start|>system\nYou are a helpful assistant<|im_end|>\n' }}{% endif %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
|
43 |
+
"clean_up_tokenization_spaces": false,
|
44 |
+
"eos_token": "<|endoftext|>",
|
45 |
+
"errors": "replace",
|
46 |
+
"model_max_length": 2048,
|
47 |
+
"pad_token": "<|extra_0|>",
|
48 |
+
"padding_side": "right",
|
49 |
+
"split_special_tokens": false,
|
50 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
51 |
+
"unk_token": "<|extra_0|>"
|
52 |
+
}
|
trainer_state.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9c7cb790c8dcbaf00f68736d3dc9b4bdc8c8a1a2efdce8f0e810cd26139e3445
|
3 |
+
size 5947
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|