Upload 5 files
Browse files- adapter_config.json +39 -0
- adapter_model.safetensors +3 -0
- additional_config.json +1 -0
- configuration.json +14 -0
- generation_config.json +10 -0
adapter_config.json
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "C:\\Users\\Desm0nt\\.cache\\modelscope\\hub\\LLM-Research\\Phi-3-vision-128k-instruct",
|
5 |
+
"bias": "none",
|
6 |
+
"fan_in_fan_out": false,
|
7 |
+
"inference_mode": true,
|
8 |
+
"init_lora_weights": true,
|
9 |
+
"layer_replication": null,
|
10 |
+
"layers_pattern": null,
|
11 |
+
"layers_to_transform": null,
|
12 |
+
"loftq_config": {},
|
13 |
+
"lora_alpha": 64,
|
14 |
+
"lora_dropout": 0.05,
|
15 |
+
"megatron_config": null,
|
16 |
+
"megatron_core": "megatron.core",
|
17 |
+
"modules_to_save": [],
|
18 |
+
"peft_type": "LORA",
|
19 |
+
"r": 64,
|
20 |
+
"rank_pattern": {},
|
21 |
+
"revision": null,
|
22 |
+
"target_modules": [
|
23 |
+
"v_proj",
|
24 |
+
"fc2",
|
25 |
+
"q_proj",
|
26 |
+
"out_proj",
|
27 |
+
"img_projection.0",
|
28 |
+
"qkv_proj",
|
29 |
+
"img_projection.2",
|
30 |
+
"fc1",
|
31 |
+
"k_proj",
|
32 |
+
"gate_up_proj",
|
33 |
+
"o_proj",
|
34 |
+
"down_proj"
|
35 |
+
],
|
36 |
+
"task_type": "CAUSAL_LM",
|
37 |
+
"use_dora": false,
|
38 |
+
"use_rslora": false
|
39 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fca5d57520fd59e0b055a428536be413f36d6b2e35214c3a7775f4265392723c
|
3 |
+
size 259743896
|
additional_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"lora_dtype": null, "lorap_lr_ratio": null, "lorap_emb_lr": 1e-06}
|
configuration.json
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"framework": "pytorch",
|
3 |
+
"task": "text-generation",
|
4 |
+
"allow_remote": true,
|
5 |
+
"adapter_cfg": {
|
6 |
+
"model_id_or_path": "LLM-Research/Phi-3-vision-128k-instruct",
|
7 |
+
"model_revision": "master",
|
8 |
+
"sft_type": "lora",
|
9 |
+
"tuner_backend": "peft",
|
10 |
+
"template_type": "phi3-vl",
|
11 |
+
"dtype": "bf16",
|
12 |
+
"system": null
|
13 |
+
}
|
14 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_sample": true,
|
3 |
+
"eos_token_id": 32000,
|
4 |
+
"max_new_tokens": 2048,
|
5 |
+
"pad_token_id": 32000,
|
6 |
+
"temperature": 0.3,
|
7 |
+
"top_k": 20,
|
8 |
+
"top_p": 0.7,
|
9 |
+
"transformers_version": "4.40.0"
|
10 |
+
}
|