Farzad-R
commited on
Commit
•
12955d4
1
Parent(s):
9033b84
empty the repo
Browse files- adapter_config.json +0 -37
- adapter_model.safetensors +0 -3
- chat_template.json +0 -3
- preprocessor_config.json +0 -52
- special_tokens_map.json +0 -30
- tokenizer.json +0 -0
- tokenizer_config.json +0 -65
adapter_config.json
DELETED
@@ -1,37 +0,0 @@
|
|
1 |
-
{
|
2 |
-
"alpha_pattern": {},
|
3 |
-
"auto_mapping": {
|
4 |
-
"base_model_class": "LlavaNextForConditionalGeneration",
|
5 |
-
"parent_library": "transformers.models.llava_next.modeling_llava_next"
|
6 |
-
},
|
7 |
-
"base_model_name_or_path": "llava-hf/llava-v1.6-mistral-7b-hf",
|
8 |
-
"bias": "none",
|
9 |
-
"fan_in_fan_out": false,
|
10 |
-
"inference_mode": true,
|
11 |
-
"init_lora_weights": "gaussian",
|
12 |
-
"layer_replication": null,
|
13 |
-
"layers_pattern": null,
|
14 |
-
"layers_to_transform": null,
|
15 |
-
"loftq_config": {},
|
16 |
-
"lora_alpha": 8,
|
17 |
-
"lora_dropout": 0.1,
|
18 |
-
"megatron_config": null,
|
19 |
-
"megatron_core": "megatron.core",
|
20 |
-
"modules_to_save": null,
|
21 |
-
"peft_type": "LORA",
|
22 |
-
"r": 8,
|
23 |
-
"rank_pattern": {},
|
24 |
-
"revision": null,
|
25 |
-
"target_modules": [
|
26 |
-
"down_proj",
|
27 |
-
"o_proj",
|
28 |
-
"gate_proj",
|
29 |
-
"k_proj",
|
30 |
-
"up_proj",
|
31 |
-
"q_proj",
|
32 |
-
"v_proj"
|
33 |
-
],
|
34 |
-
"task_type": null,
|
35 |
-
"use_dora": false,
|
36 |
-
"use_rslora": false
|
37 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
adapter_model.safetensors
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:8f654130c14ed0cb86de86ef407c94537fc55cf38c75592a11e1ef08592ca6b3
|
3 |
-
size 88693872
|
|
|
|
|
|
|
|
chat_template.json
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
{
|
2 |
-
"chat_template": "{% for message in messages %}{% if message['role'] == 'user' %}{{ '[INST] ' }}{# Render all images first #}{% for content in message['content'] | selectattr('type', 'equalto', 'image') %}{{ '<image>\n' }}{% endfor %}{# Render all text next #}{% for content in message['content'] | selectattr('type', 'equalto', 'text') %}{{ content['text'] }}{% endfor %}{{' [/INST]' }}{% elif message['role'] == 'assistant' %}{{ ' ' + message['content'][0]['text'] + '<\\s> '}}{% else %}{{ raise_exception('Only user and assistant roles are supported!') }}{% endif %}{% endfor %}"
|
3 |
-
}
|
|
|
|
|
|
|
|
preprocessor_config.json
DELETED
@@ -1,52 +0,0 @@
|
|
1 |
-
{
|
2 |
-
"aspect_ratio_setting": "anyres",
|
3 |
-
"crop_size": {
|
4 |
-
"height": 336,
|
5 |
-
"width": 336
|
6 |
-
},
|
7 |
-
"do_center_crop": true,
|
8 |
-
"do_convert_rgb": true,
|
9 |
-
"do_normalize": true,
|
10 |
-
"do_pad": true,
|
11 |
-
"do_rescale": true,
|
12 |
-
"do_resize": true,
|
13 |
-
"image_grid_pinpoints": [
|
14 |
-
[
|
15 |
-
336,
|
16 |
-
672
|
17 |
-
],
|
18 |
-
[
|
19 |
-
672,
|
20 |
-
336
|
21 |
-
],
|
22 |
-
[
|
23 |
-
672,
|
24 |
-
672
|
25 |
-
],
|
26 |
-
[
|
27 |
-
1008,
|
28 |
-
336
|
29 |
-
],
|
30 |
-
[
|
31 |
-
336,
|
32 |
-
1008
|
33 |
-
]
|
34 |
-
],
|
35 |
-
"image_mean": [
|
36 |
-
0.48145466,
|
37 |
-
0.4578275,
|
38 |
-
0.40821073
|
39 |
-
],
|
40 |
-
"image_processor_type": "LlavaNextImageProcessor",
|
41 |
-
"image_std": [
|
42 |
-
0.26862954,
|
43 |
-
0.26130258,
|
44 |
-
0.27577711
|
45 |
-
],
|
46 |
-
"processor_class": "LlavaNextProcessor",
|
47 |
-
"resample": 3,
|
48 |
-
"rescale_factor": 0.00392156862745098,
|
49 |
-
"size": {
|
50 |
-
"shortest_edge": 336
|
51 |
-
}
|
52 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
special_tokens_map.json
DELETED
@@ -1,30 +0,0 @@
|
|
1 |
-
{
|
2 |
-
"bos_token": {
|
3 |
-
"content": "<s>",
|
4 |
-
"lstrip": false,
|
5 |
-
"normalized": false,
|
6 |
-
"rstrip": false,
|
7 |
-
"single_word": false
|
8 |
-
},
|
9 |
-
"eos_token": {
|
10 |
-
"content": "</s>",
|
11 |
-
"lstrip": false,
|
12 |
-
"normalized": false,
|
13 |
-
"rstrip": false,
|
14 |
-
"single_word": false
|
15 |
-
},
|
16 |
-
"pad_token": {
|
17 |
-
"content": "<pad>",
|
18 |
-
"lstrip": false,
|
19 |
-
"normalized": false,
|
20 |
-
"rstrip": false,
|
21 |
-
"single_word": false
|
22 |
-
},
|
23 |
-
"unk_token": {
|
24 |
-
"content": "<unk>",
|
25 |
-
"lstrip": false,
|
26 |
-
"normalized": false,
|
27 |
-
"rstrip": false,
|
28 |
-
"single_word": false
|
29 |
-
}
|
30 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
tokenizer.json
DELETED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
DELETED
@@ -1,65 +0,0 @@
|
|
1 |
-
{
|
2 |
-
"add_bos_token": true,
|
3 |
-
"add_eos_token": false,
|
4 |
-
"add_prefix_space": null,
|
5 |
-
"added_tokens_decoder": {
|
6 |
-
"0": {
|
7 |
-
"content": "<unk>",
|
8 |
-
"lstrip": false,
|
9 |
-
"normalized": false,
|
10 |
-
"rstrip": false,
|
11 |
-
"single_word": false,
|
12 |
-
"special": true
|
13 |
-
},
|
14 |
-
"1": {
|
15 |
-
"content": "<s>",
|
16 |
-
"lstrip": false,
|
17 |
-
"normalized": false,
|
18 |
-
"rstrip": false,
|
19 |
-
"single_word": false,
|
20 |
-
"special": true
|
21 |
-
},
|
22 |
-
"2": {
|
23 |
-
"content": "</s>",
|
24 |
-
"lstrip": false,
|
25 |
-
"normalized": false,
|
26 |
-
"rstrip": false,
|
27 |
-
"single_word": false,
|
28 |
-
"special": true
|
29 |
-
},
|
30 |
-
"32000": {
|
31 |
-
"content": "<image>",
|
32 |
-
"lstrip": false,
|
33 |
-
"normalized": false,
|
34 |
-
"rstrip": false,
|
35 |
-
"single_word": false,
|
36 |
-
"special": true
|
37 |
-
},
|
38 |
-
"32001": {
|
39 |
-
"content": "<pad>",
|
40 |
-
"lstrip": false,
|
41 |
-
"normalized": false,
|
42 |
-
"rstrip": false,
|
43 |
-
"single_word": false,
|
44 |
-
"special": true
|
45 |
-
}
|
46 |
-
},
|
47 |
-
"additional_special_tokens": [],
|
48 |
-
"bos_token": "<s>",
|
49 |
-
"chat_template": "{{ bos_token }}{% for message in messages %}{% if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}{{ raise_exception('Conversation roles must alternate user/assistant/user/assistant/...') }}{% endif %}{% if message['role'] == 'user' %}{{ '[INST] ' + message['content'] + ' [/INST]' }}{% elif message['role'] == 'assistant' %}{{ message['content'] + eos_token}}{% else %}{{ raise_exception('Only user and assistant roles are supported!') }}{% endif %}{% endfor %}",
|
50 |
-
"clean_up_tokenization_spaces": false,
|
51 |
-
"eos_token": "</s>",
|
52 |
-
"legacy": true,
|
53 |
-
"max_length": null,
|
54 |
-
"model_max_length": 1000000000000000019884624838656,
|
55 |
-
"pad_to_multiple_of": null,
|
56 |
-
"pad_token": "<pad>",
|
57 |
-
"pad_token_type_id": 0,
|
58 |
-
"padding_side": "right",
|
59 |
-
"processor_class": "LlavaNextProcessor",
|
60 |
-
"sp_model_kwargs": {},
|
61 |
-
"spaces_between_special_tokens": false,
|
62 |
-
"tokenizer_class": "LlamaTokenizer",
|
63 |
-
"unk_token": "<unk>",
|
64 |
-
"use_default_system_prompt": false
|
65 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|