init
Browse files- adapter_config.json +30 -0
- adapter_model.safetensors +3 -0
- config.json +35 -0
- non_lora_trainables.bin +3 -0
adapter_config.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "/home/cs/yangyuchen/yushengliao/Medical_LLM/download_models/Qwen1.5-14B-Chat",
|
5 |
+
"bias": "none",
|
6 |
+
"fan_in_fan_out": false,
|
7 |
+
"inference_mode": true,
|
8 |
+
"init_lora_weights": true,
|
9 |
+
"layers_pattern": null,
|
10 |
+
"layers_to_transform": null,
|
11 |
+
"loftq_config": {},
|
12 |
+
"lora_alpha": 32,
|
13 |
+
"lora_dropout": 0.05,
|
14 |
+
"megatron_config": null,
|
15 |
+
"megatron_core": "megatron.core",
|
16 |
+
"modules_to_save": null,
|
17 |
+
"peft_type": "LORA",
|
18 |
+
"r": 16,
|
19 |
+
"rank_pattern": {},
|
20 |
+
"revision": null,
|
21 |
+
"target_modules": [
|
22 |
+
"q_proj",
|
23 |
+
"v_proj",
|
24 |
+
"o_proj",
|
25 |
+
"k_proj"
|
26 |
+
],
|
27 |
+
"task_type": "CAUSAL_LM",
|
28 |
+
"use_dora": false,
|
29 |
+
"use_rslora": false
|
30 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f8cc569c2882a51430351283525197bc177a48f0a1894a669d4751b88d4f5a58
|
3 |
+
size 52472144
|
config.json
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/home/cs/yangyuchen/yushengliao/Medical_LLM/download_models/Qwen1.5-14B-Chat",
|
3 |
+
"architectures": [
|
4 |
+
"Qwen2ForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_dropout": 0.0,
|
7 |
+
"bos_token_id": 151643,
|
8 |
+
"eos_token_id": 151645,
|
9 |
+
"expert_selection": "topk",
|
10 |
+
"hidden_act": "silu",
|
11 |
+
"hidden_size": 5120,
|
12 |
+
"initializer_range": 0.02,
|
13 |
+
"intermediate_size": 13696,
|
14 |
+
"max_position_embeddings": 32768,
|
15 |
+
"max_window_layers": 35,
|
16 |
+
"model_type": "qwen2",
|
17 |
+
"num_attention_heads": 40,
|
18 |
+
"num_experts": 8,
|
19 |
+
"num_experts_per_token": 2,
|
20 |
+
"num_hidden_layers": 40,
|
21 |
+
"num_key_value_heads": 40,
|
22 |
+
"output_logit_bias": false,
|
23 |
+
"rms_norm_eps": 1e-06,
|
24 |
+
"rope_theta": 1000000.0,
|
25 |
+
"router_loss_coeff": 0.0,
|
26 |
+
"router_loss_mode": "contrastive",
|
27 |
+
"share_expert": false,
|
28 |
+
"sliding_window": 32768,
|
29 |
+
"tie_word_embeddings": false,
|
30 |
+
"torch_dtype": "bfloat16",
|
31 |
+
"transformers_version": "4.39.2",
|
32 |
+
"use_cache": true,
|
33 |
+
"use_sliding_window": false,
|
34 |
+
"vocab_size": 152064
|
35 |
+
}
|
non_lora_trainables.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e0f022008cbe85fe65e96fc8389ba5c7c2488701278d82f7a6d09f3c575d0696
|
3 |
+
size 594129994
|