Upload folder using huggingface_hub
Browse files- adapter_config.json +36 -0
- adapter_model.safetensors +3 -0
- encoder_config.json +15 -0
- generation_config.json +15 -0
adapter_config.json
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "MLP-SEMO/semo_stage2_basic",
|
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": 256,
|
14 |
+
"lora_dropout": 0.05,
|
15 |
+
"megatron_config": null,
|
16 |
+
"megatron_core": "megatron.core",
|
17 |
+
"modules_to_save": [
|
18 |
+
"lm_head"
|
19 |
+
],
|
20 |
+
"peft_type": "LORA",
|
21 |
+
"r": 128,
|
22 |
+
"rank_pattern": {},
|
23 |
+
"revision": null,
|
24 |
+
"target_modules": [
|
25 |
+
"up_proj",
|
26 |
+
"down_proj",
|
27 |
+
"v_proj",
|
28 |
+
"gate_proj",
|
29 |
+
"q_proj",
|
30 |
+
"o_proj",
|
31 |
+
"k_proj"
|
32 |
+
],
|
33 |
+
"task_type": "CAUSAL_LM",
|
34 |
+
"use_dora": false,
|
35 |
+
"use_rslora": false
|
36 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:af9cf310ecc2e8c4f31c0e64aa6f68fdf1e11b840282ab63e75fe09b79e0fbda
|
3 |
+
size 1721824360
|
encoder_config.json
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"sentence_encoder_config": {
|
3 |
+
"num_hidden_layers": 2,
|
4 |
+
"hidden_size": 4096,
|
5 |
+
"rms_norm_eps": 1e-05,
|
6 |
+
"attention_dropout": 0.0,
|
7 |
+
"num_attention_heads": 32,
|
8 |
+
"num_key_value_heads": 8,
|
9 |
+
"max_position_embeddings": 256,
|
10 |
+
"rope_theta": 500000.0,
|
11 |
+
"intermediate_size": 14336,
|
12 |
+
"hidden_act": "silu"
|
13 |
+
},
|
14 |
+
"context_encoder_config": null
|
15 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"attn_implementation": "flash_attention_2",
|
3 |
+
"bos_token_id": 128000,
|
4 |
+
"do_sample": true,
|
5 |
+
"eos_token_id": [
|
6 |
+
128001,
|
7 |
+
128009
|
8 |
+
],
|
9 |
+
"max_length": 4096,
|
10 |
+
"pad_token_id": 128117,
|
11 |
+
"temperature": 0.6,
|
12 |
+
"top_p": 0.9,
|
13 |
+
"transformers_version": "4.40.2",
|
14 |
+
"use_cache": false
|
15 |
+
}
|