felixwangg commited on
Commit
c787361
·
verified ·
1 Parent(s): e26f4c5

Upload folder using huggingface_hub

Browse files
Files changed (36) hide show
  1. mistral-sft-code/varA-theta-0.5/README.md +14 -0
  2. mistral-sft-code/varA-theta-0.5/adapter_config.json +32 -0
  3. mistral-sft-code/varA-theta-0.5/adapter_model.safetensors +3 -0
  4. mistral-sft-code/varA-theta-1.0/README.md +14 -0
  5. mistral-sft-code/varA-theta-1.0/adapter_config.json +32 -0
  6. mistral-sft-code/varA-theta-1.0/adapter_model.safetensors +3 -0
  7. mistral-sft-code/varA-theta-2.0/README.md +14 -0
  8. mistral-sft-code/varA-theta-2.0/adapter_config.json +32 -0
  9. mistral-sft-code/varA-theta-2.0/adapter_model.safetensors +3 -0
  10. mistral-sft-code/varB-theta-0.5/README.md +14 -0
  11. mistral-sft-code/varB-theta-0.5/adapter_config.json +32 -0
  12. mistral-sft-code/varB-theta-0.5/adapter_model.safetensors +3 -0
  13. mistral-sft-code/varB-theta-1.0/README.md +14 -0
  14. mistral-sft-code/varB-theta-1.0/adapter_config.json +32 -0
  15. mistral-sft-code/varB-theta-1.0/adapter_model.safetensors +3 -0
  16. mistral-sft-code/varB-theta-2.0/README.md +14 -0
  17. mistral-sft-code/varB-theta-2.0/adapter_config.json +32 -0
  18. mistral-sft-code/varB-theta-2.0/adapter_model.safetensors +3 -0
  19. mistral-sft-full/varA-theta-0.5/README.md +14 -0
  20. mistral-sft-full/varA-theta-0.5/adapter_config.json +32 -0
  21. mistral-sft-full/varA-theta-0.5/adapter_model.safetensors +3 -0
  22. mistral-sft-full/varA-theta-1.0/README.md +14 -0
  23. mistral-sft-full/varA-theta-1.0/adapter_config.json +32 -0
  24. mistral-sft-full/varA-theta-1.0/adapter_model.safetensors +3 -0
  25. mistral-sft-full/varA-theta-2.0/README.md +14 -0
  26. mistral-sft-full/varA-theta-2.0/adapter_config.json +32 -0
  27. mistral-sft-full/varA-theta-2.0/adapter_model.safetensors +3 -0
  28. mistral-sft-full/varB-theta-0.5/README.md +14 -0
  29. mistral-sft-full/varB-theta-0.5/adapter_config.json +32 -0
  30. mistral-sft-full/varB-theta-0.5/adapter_model.safetensors +3 -0
  31. mistral-sft-full/varB-theta-1.0/README.md +14 -0
  32. mistral-sft-full/varB-theta-1.0/adapter_config.json +32 -0
  33. mistral-sft-full/varB-theta-1.0/adapter_model.safetensors +3 -0
  34. mistral-sft-full/varB-theta-2.0/README.md +14 -0
  35. mistral-sft-full/varB-theta-2.0/adapter_config.json +32 -0
  36. mistral-sft-full/varB-theta-2.0/adapter_model.safetensors +3 -0
mistral-sft-code/varA-theta-0.5/README.md ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # LoRA-Space Steered Adapter
2
+
3
+ ## Variant A
4
+ - Secure adapter: `/u901/t577wang/DiSCo-SecSteer/models/mistral-7b-sft-secure-code/final_checkpoint`
5
+ - Insecure adapter: `/u901/t577wang/DiSCo-SecSteer/models/mistral-7b-sft-insecure-code/final_checkpoint`
6
+ - Theta: 0.5
7
+ - Formula: theta * (LoRA_sec - LoRA_ins)
8
+
9
+ ## Config
10
+ - Rank: 32
11
+ - Alpha: 32
12
+ - Base model: mistralai/Mistral-7B-v0.1
13
+
14
+ ## Git hash: 9caa8031df85
mistral-sft-code/varA-theta-0.5/adapter_config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "mistralai/Mistral-7B-v0.1",
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.1,
14
+ "megatron_config": null,
15
+ "megatron_core": "megatron.core",
16
+ "modules_to_save": null,
17
+ "peft_type": "LORA",
18
+ "r": 32,
19
+ "rank_pattern": {},
20
+ "revision": null,
21
+ "target_modules": [
22
+ "o_proj",
23
+ "down_proj",
24
+ "q_proj",
25
+ "k_proj",
26
+ "up_proj",
27
+ "gate_proj",
28
+ "v_proj"
29
+ ],
30
+ "task_type": "CAUSAL_LM",
31
+ "use_rslora": false
32
+ }
mistral-sft-code/varA-theta-0.5/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dc7da8de56cc40ff37d4617a83bce98479f1d22887189c12a6a23e10c9769be8
3
+ size 335604664
mistral-sft-code/varA-theta-1.0/README.md ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # LoRA-Space Steered Adapter
2
+
3
+ ## Variant A
4
+ - Secure adapter: `/u901/t577wang/DiSCo-SecSteer/models/mistral-7b-sft-secure-code/final_checkpoint`
5
+ - Insecure adapter: `/u901/t577wang/DiSCo-SecSteer/models/mistral-7b-sft-insecure-code/final_checkpoint`
6
+ - Theta: 1.0
7
+ - Formula: theta * (LoRA_sec - LoRA_ins)
8
+
9
+ ## Config
10
+ - Rank: 32
11
+ - Alpha: 32
12
+ - Base model: mistralai/Mistral-7B-v0.1
13
+
14
+ ## Git hash: 9caa8031df85
mistral-sft-code/varA-theta-1.0/adapter_config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "mistralai/Mistral-7B-v0.1",
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.1,
14
+ "megatron_config": null,
15
+ "megatron_core": "megatron.core",
16
+ "modules_to_save": null,
17
+ "peft_type": "LORA",
18
+ "r": 32,
19
+ "rank_pattern": {},
20
+ "revision": null,
21
+ "target_modules": [
22
+ "o_proj",
23
+ "down_proj",
24
+ "q_proj",
25
+ "k_proj",
26
+ "up_proj",
27
+ "gate_proj",
28
+ "v_proj"
29
+ ],
30
+ "task_type": "CAUSAL_LM",
31
+ "use_rslora": false
32
+ }
mistral-sft-code/varA-theta-1.0/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9b841b20c641ef2c55304e3a6b730f91aa91676e7627ce0da0db15a6ae0f01ad
3
+ size 335604664
mistral-sft-code/varA-theta-2.0/README.md ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # LoRA-Space Steered Adapter
2
+
3
+ ## Variant A
4
+ - Secure adapter: `/u901/t577wang/DiSCo-SecSteer/models/mistral-7b-sft-secure-code/final_checkpoint`
5
+ - Insecure adapter: `/u901/t577wang/DiSCo-SecSteer/models/mistral-7b-sft-insecure-code/final_checkpoint`
6
+ - Theta: 2.0
7
+ - Formula: theta * (LoRA_sec - LoRA_ins)
8
+
9
+ ## Config
10
+ - Rank: 32
11
+ - Alpha: 32
12
+ - Base model: mistralai/Mistral-7B-v0.1
13
+
14
+ ## Git hash: 9caa8031df85
mistral-sft-code/varA-theta-2.0/adapter_config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "mistralai/Mistral-7B-v0.1",
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.1,
14
+ "megatron_config": null,
15
+ "megatron_core": "megatron.core",
16
+ "modules_to_save": null,
17
+ "peft_type": "LORA",
18
+ "r": 32,
19
+ "rank_pattern": {},
20
+ "revision": null,
21
+ "target_modules": [
22
+ "o_proj",
23
+ "down_proj",
24
+ "q_proj",
25
+ "k_proj",
26
+ "up_proj",
27
+ "gate_proj",
28
+ "v_proj"
29
+ ],
30
+ "task_type": "CAUSAL_LM",
31
+ "use_rslora": false
32
+ }
mistral-sft-code/varA-theta-2.0/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:40c7c2e3bd85ccaa9b352db0ade9bd94c653bf0270eab8bafbc57c056494c161
3
+ size 335604664
mistral-sft-code/varB-theta-0.5/README.md ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # LoRA-Space Steered Adapter
2
+
3
+ ## Variant B
4
+ - Secure adapter: `/u901/t577wang/DiSCo-SecSteer/models/mistral-7b-sft-secure-code/final_checkpoint`
5
+ - Insecure adapter: `/u901/t577wang/DiSCo-SecSteer/models/mistral-7b-sft-insecure-code/final_checkpoint`
6
+ - Theta: 0.5
7
+ - Formula: (1+theta) * LoRA_sec - theta * LoRA_ins
8
+
9
+ ## Config
10
+ - Rank: 32
11
+ - Alpha: 32
12
+ - Base model: mistralai/Mistral-7B-v0.1
13
+
14
+ ## Git hash: 9caa8031df85
mistral-sft-code/varB-theta-0.5/adapter_config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "mistralai/Mistral-7B-v0.1",
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.1,
14
+ "megatron_config": null,
15
+ "megatron_core": "megatron.core",
16
+ "modules_to_save": null,
17
+ "peft_type": "LORA",
18
+ "r": 32,
19
+ "rank_pattern": {},
20
+ "revision": null,
21
+ "target_modules": [
22
+ "o_proj",
23
+ "down_proj",
24
+ "q_proj",
25
+ "k_proj",
26
+ "up_proj",
27
+ "gate_proj",
28
+ "v_proj"
29
+ ],
30
+ "task_type": "CAUSAL_LM",
31
+ "use_rslora": false
32
+ }
mistral-sft-code/varB-theta-0.5/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0adc136803d4c9f74c437146ac1678d525ada4113458ff00be9f75c6d15fb034
3
+ size 335604664
mistral-sft-code/varB-theta-1.0/README.md ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # LoRA-Space Steered Adapter
2
+
3
+ ## Variant B
4
+ - Secure adapter: `/u901/t577wang/DiSCo-SecSteer/models/mistral-7b-sft-secure-code/final_checkpoint`
5
+ - Insecure adapter: `/u901/t577wang/DiSCo-SecSteer/models/mistral-7b-sft-insecure-code/final_checkpoint`
6
+ - Theta: 1.0
7
+ - Formula: (1+theta) * LoRA_sec - theta * LoRA_ins
8
+
9
+ ## Config
10
+ - Rank: 32
11
+ - Alpha: 32
12
+ - Base model: mistralai/Mistral-7B-v0.1
13
+
14
+ ## Git hash: 9caa8031df85
mistral-sft-code/varB-theta-1.0/adapter_config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "mistralai/Mistral-7B-v0.1",
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.1,
14
+ "megatron_config": null,
15
+ "megatron_core": "megatron.core",
16
+ "modules_to_save": null,
17
+ "peft_type": "LORA",
18
+ "r": 32,
19
+ "rank_pattern": {},
20
+ "revision": null,
21
+ "target_modules": [
22
+ "o_proj",
23
+ "down_proj",
24
+ "q_proj",
25
+ "k_proj",
26
+ "up_proj",
27
+ "gate_proj",
28
+ "v_proj"
29
+ ],
30
+ "task_type": "CAUSAL_LM",
31
+ "use_rslora": false
32
+ }
mistral-sft-code/varB-theta-1.0/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8231425f281b6b54ccd2ea2668f58b319b79e6c7f31bf5b1cca30142d01da4e4
3
+ size 335604664
mistral-sft-code/varB-theta-2.0/README.md ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # LoRA-Space Steered Adapter
2
+
3
+ ## Variant B
4
+ - Secure adapter: `/u901/t577wang/DiSCo-SecSteer/models/mistral-7b-sft-secure-code/final_checkpoint`
5
+ - Insecure adapter: `/u901/t577wang/DiSCo-SecSteer/models/mistral-7b-sft-insecure-code/final_checkpoint`
6
+ - Theta: 2.0
7
+ - Formula: (1+theta) * LoRA_sec - theta * LoRA_ins
8
+
9
+ ## Config
10
+ - Rank: 32
11
+ - Alpha: 32
12
+ - Base model: mistralai/Mistral-7B-v0.1
13
+
14
+ ## Git hash: 9caa8031df85
mistral-sft-code/varB-theta-2.0/adapter_config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "mistralai/Mistral-7B-v0.1",
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.1,
14
+ "megatron_config": null,
15
+ "megatron_core": "megatron.core",
16
+ "modules_to_save": null,
17
+ "peft_type": "LORA",
18
+ "r": 32,
19
+ "rank_pattern": {},
20
+ "revision": null,
21
+ "target_modules": [
22
+ "o_proj",
23
+ "down_proj",
24
+ "q_proj",
25
+ "k_proj",
26
+ "up_proj",
27
+ "gate_proj",
28
+ "v_proj"
29
+ ],
30
+ "task_type": "CAUSAL_LM",
31
+ "use_rslora": false
32
+ }
mistral-sft-code/varB-theta-2.0/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:026bc096b2fa72457b065097ccdbf4c44ae4a1dee80aa9dbb7be65cd8f5d678d
3
+ size 335604664
mistral-sft-full/varA-theta-0.5/README.md ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # LoRA-Space Steered Adapter
2
+
3
+ ## Variant A
4
+ - Secure adapter: `/u901/t577wang/DiSCo-SecSteer/models/mistral-7b-sft-secure/final_checkpoint`
5
+ - Insecure adapter: `/u901/t577wang/DiSCo-SecSteer/models/mistral-7b-sft-insecure/final_checkpoint`
6
+ - Theta: 0.5
7
+ - Formula: theta * (LoRA_sec - LoRA_ins)
8
+
9
+ ## Config
10
+ - Rank: 32
11
+ - Alpha: 32
12
+ - Base model: mistralai/Mistral-7B-v0.1
13
+
14
+ ## Git hash: 9caa8031df85
mistral-sft-full/varA-theta-0.5/adapter_config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "mistralai/Mistral-7B-v0.1",
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.1,
14
+ "megatron_config": null,
15
+ "megatron_core": "megatron.core",
16
+ "modules_to_save": null,
17
+ "peft_type": "LORA",
18
+ "r": 32,
19
+ "rank_pattern": {},
20
+ "revision": null,
21
+ "target_modules": [
22
+ "v_proj",
23
+ "k_proj",
24
+ "up_proj",
25
+ "gate_proj",
26
+ "down_proj",
27
+ "q_proj",
28
+ "o_proj"
29
+ ],
30
+ "task_type": "CAUSAL_LM",
31
+ "use_rslora": false
32
+ }
mistral-sft-full/varA-theta-0.5/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9864fd0e75b9af5935bf19b903103a69c38e3a68577b833319ad14a127a309f9
3
+ size 335604664
mistral-sft-full/varA-theta-1.0/README.md ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # LoRA-Space Steered Adapter
2
+
3
+ ## Variant A
4
+ - Secure adapter: `/u901/t577wang/DiSCo-SecSteer/models/mistral-7b-sft-secure/final_checkpoint`
5
+ - Insecure adapter: `/u901/t577wang/DiSCo-SecSteer/models/mistral-7b-sft-insecure/final_checkpoint`
6
+ - Theta: 1.0
7
+ - Formula: theta * (LoRA_sec - LoRA_ins)
8
+
9
+ ## Config
10
+ - Rank: 32
11
+ - Alpha: 32
12
+ - Base model: mistralai/Mistral-7B-v0.1
13
+
14
+ ## Git hash: 9caa8031df85
mistral-sft-full/varA-theta-1.0/adapter_config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "mistralai/Mistral-7B-v0.1",
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.1,
14
+ "megatron_config": null,
15
+ "megatron_core": "megatron.core",
16
+ "modules_to_save": null,
17
+ "peft_type": "LORA",
18
+ "r": 32,
19
+ "rank_pattern": {},
20
+ "revision": null,
21
+ "target_modules": [
22
+ "v_proj",
23
+ "k_proj",
24
+ "up_proj",
25
+ "gate_proj",
26
+ "down_proj",
27
+ "q_proj",
28
+ "o_proj"
29
+ ],
30
+ "task_type": "CAUSAL_LM",
31
+ "use_rslora": false
32
+ }
mistral-sft-full/varA-theta-1.0/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a288d16d33c7f64783e71dfbb66c71ca1af637577237ac2826ccdfd7ab340f41
3
+ size 335604664
mistral-sft-full/varA-theta-2.0/README.md ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # LoRA-Space Steered Adapter
2
+
3
+ ## Variant A
4
+ - Secure adapter: `/u901/t577wang/DiSCo-SecSteer/models/mistral-7b-sft-secure/final_checkpoint`
5
+ - Insecure adapter: `/u901/t577wang/DiSCo-SecSteer/models/mistral-7b-sft-insecure/final_checkpoint`
6
+ - Theta: 2.0
7
+ - Formula: theta * (LoRA_sec - LoRA_ins)
8
+
9
+ ## Config
10
+ - Rank: 32
11
+ - Alpha: 32
12
+ - Base model: mistralai/Mistral-7B-v0.1
13
+
14
+ ## Git hash: 9caa8031df85
mistral-sft-full/varA-theta-2.0/adapter_config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "mistralai/Mistral-7B-v0.1",
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.1,
14
+ "megatron_config": null,
15
+ "megatron_core": "megatron.core",
16
+ "modules_to_save": null,
17
+ "peft_type": "LORA",
18
+ "r": 32,
19
+ "rank_pattern": {},
20
+ "revision": null,
21
+ "target_modules": [
22
+ "v_proj",
23
+ "k_proj",
24
+ "up_proj",
25
+ "gate_proj",
26
+ "down_proj",
27
+ "q_proj",
28
+ "o_proj"
29
+ ],
30
+ "task_type": "CAUSAL_LM",
31
+ "use_rslora": false
32
+ }
mistral-sft-full/varA-theta-2.0/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c234b9e834879328621eed752ed85c4a673421b2c7c1e73262b8b8b114f77a45
3
+ size 335604664
mistral-sft-full/varB-theta-0.5/README.md ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # LoRA-Space Steered Adapter
2
+
3
+ ## Variant B
4
+ - Secure adapter: `/u901/t577wang/DiSCo-SecSteer/models/mistral-7b-sft-secure/final_checkpoint`
5
+ - Insecure adapter: `/u901/t577wang/DiSCo-SecSteer/models/mistral-7b-sft-insecure/final_checkpoint`
6
+ - Theta: 0.5
7
+ - Formula: (1+theta) * LoRA_sec - theta * LoRA_ins
8
+
9
+ ## Config
10
+ - Rank: 32
11
+ - Alpha: 32
12
+ - Base model: mistralai/Mistral-7B-v0.1
13
+
14
+ ## Git hash: 9caa8031df85
mistral-sft-full/varB-theta-0.5/adapter_config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "mistralai/Mistral-7B-v0.1",
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.1,
14
+ "megatron_config": null,
15
+ "megatron_core": "megatron.core",
16
+ "modules_to_save": null,
17
+ "peft_type": "LORA",
18
+ "r": 32,
19
+ "rank_pattern": {},
20
+ "revision": null,
21
+ "target_modules": [
22
+ "v_proj",
23
+ "k_proj",
24
+ "up_proj",
25
+ "gate_proj",
26
+ "down_proj",
27
+ "q_proj",
28
+ "o_proj"
29
+ ],
30
+ "task_type": "CAUSAL_LM",
31
+ "use_rslora": false
32
+ }
mistral-sft-full/varB-theta-0.5/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f4a6bf396036531ea3722b648505eb9e4a586ca111c96531c510786951bca86d
3
+ size 335604664
mistral-sft-full/varB-theta-1.0/README.md ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # LoRA-Space Steered Adapter
2
+
3
+ ## Variant B
4
+ - Secure adapter: `/u901/t577wang/DiSCo-SecSteer/models/mistral-7b-sft-secure/final_checkpoint`
5
+ - Insecure adapter: `/u901/t577wang/DiSCo-SecSteer/models/mistral-7b-sft-insecure/final_checkpoint`
6
+ - Theta: 1.0
7
+ - Formula: (1+theta) * LoRA_sec - theta * LoRA_ins
8
+
9
+ ## Config
10
+ - Rank: 32
11
+ - Alpha: 32
12
+ - Base model: mistralai/Mistral-7B-v0.1
13
+
14
+ ## Git hash: 9caa8031df85
mistral-sft-full/varB-theta-1.0/adapter_config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "mistralai/Mistral-7B-v0.1",
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.1,
14
+ "megatron_config": null,
15
+ "megatron_core": "megatron.core",
16
+ "modules_to_save": null,
17
+ "peft_type": "LORA",
18
+ "r": 32,
19
+ "rank_pattern": {},
20
+ "revision": null,
21
+ "target_modules": [
22
+ "v_proj",
23
+ "k_proj",
24
+ "up_proj",
25
+ "gate_proj",
26
+ "down_proj",
27
+ "q_proj",
28
+ "o_proj"
29
+ ],
30
+ "task_type": "CAUSAL_LM",
31
+ "use_rslora": false
32
+ }
mistral-sft-full/varB-theta-1.0/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ea57e92007daff6781de81bcc37c1f6d43898f83129940707a4e30e0aef32f3d
3
+ size 335604664
mistral-sft-full/varB-theta-2.0/README.md ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # LoRA-Space Steered Adapter
2
+
3
+ ## Variant B
4
+ - Secure adapter: `/u901/t577wang/DiSCo-SecSteer/models/mistral-7b-sft-secure/final_checkpoint`
5
+ - Insecure adapter: `/u901/t577wang/DiSCo-SecSteer/models/mistral-7b-sft-insecure/final_checkpoint`
6
+ - Theta: 2.0
7
+ - Formula: (1+theta) * LoRA_sec - theta * LoRA_ins
8
+
9
+ ## Config
10
+ - Rank: 32
11
+ - Alpha: 32
12
+ - Base model: mistralai/Mistral-7B-v0.1
13
+
14
+ ## Git hash: 9caa8031df85
mistral-sft-full/varB-theta-2.0/adapter_config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "mistralai/Mistral-7B-v0.1",
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.1,
14
+ "megatron_config": null,
15
+ "megatron_core": "megatron.core",
16
+ "modules_to_save": null,
17
+ "peft_type": "LORA",
18
+ "r": 32,
19
+ "rank_pattern": {},
20
+ "revision": null,
21
+ "target_modules": [
22
+ "v_proj",
23
+ "k_proj",
24
+ "up_proj",
25
+ "gate_proj",
26
+ "down_proj",
27
+ "q_proj",
28
+ "o_proj"
29
+ ],
30
+ "task_type": "CAUSAL_LM",
31
+ "use_rslora": false
32
+ }
mistral-sft-full/varB-theta-2.0/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c23f2f40eef3ee2b443a6a620e9ef4fe27625a108920b8010ee15e9cbb783ed1
3
+ size 335604664