scthornton commited on
Commit
ae632a1
·
verified ·
1 Parent(s): 95712b6

Upload model

Browse files
Files changed (3) hide show
  1. README.md +14 -14
  2. adapter_config.json +5 -5
  3. adapter_model.safetensors +2 -2
README.md CHANGED
@@ -3,24 +3,24 @@ library_name: peft
3
  pipeline_tag: text-generation
4
  license: apache-2.0
5
  language:
6
- - code
7
  base_model:
8
- - ibm-granite/granite-20b-code-instruct-8k
9
  tags:
10
- - securecode
11
- - security
12
- - owasp
13
- - code-generation
14
- - secure-coding
15
- - lora
16
- - qlora
17
- - vulnerability-detection
18
- - cybersecurity
19
  datasets:
20
- - scthornton/securecode
21
  model-index:
22
- - name: granite-20b-code-securecode
23
- results: []
24
  ---
25
 
26
  # Granite 20B Code SecureCode
 
3
  pipeline_tag: text-generation
4
  license: apache-2.0
5
  language:
6
+ - code
7
  base_model:
8
+ - ibm-granite/granite-20b-code-instruct-8k
9
  tags:
10
+ - securecode
11
+ - security
12
+ - owasp
13
+ - code-generation
14
+ - secure-coding
15
+ - lora
16
+ - qlora
17
+ - vulnerability-detection
18
+ - cybersecurity
19
  datasets:
20
+ - scthornton/securecode
21
  model-index:
22
+ - name: granite-20b-code-securecode
23
+ results: []
24
  ---
25
 
26
  # Granite 20B Code SecureCode
adapter_config.json CHANGED
@@ -16,7 +16,7 @@
16
  "layers_pattern": null,
17
  "layers_to_transform": null,
18
  "loftq_config": {},
19
- "lora_alpha": 16,
20
  "lora_bias": false,
21
  "lora_dropout": 0.05,
22
  "megatron_config": null,
@@ -25,14 +25,14 @@
25
  "peft_type": "LORA",
26
  "peft_version": "0.18.1",
27
  "qalora_group_size": 16,
28
- "r": 8,
29
  "rank_pattern": {},
30
  "revision": null,
31
  "target_modules": [
32
- "attn.c_attn",
33
- "attn.c_proj",
34
  "mlp.c_proj",
35
- "mlp.c_fc"
 
36
  ],
37
  "target_parameters": null,
38
  "task_type": "CAUSAL_LM",
 
16
  "layers_pattern": null,
17
  "layers_to_transform": null,
18
  "loftq_config": {},
19
+ "lora_alpha": 32,
20
  "lora_bias": false,
21
  "lora_dropout": 0.05,
22
  "megatron_config": null,
 
25
  "peft_type": "LORA",
26
  "peft_version": "0.18.1",
27
  "qalora_group_size": 16,
28
+ "r": 16,
29
  "rank_pattern": {},
30
  "revision": null,
31
  "target_modules": [
32
+ "mlp.c_fc",
 
33
  "mlp.c_proj",
34
+ "attn.c_attn",
35
+ "attn.c_proj"
36
  ],
37
  "target_parameters": null,
38
  "task_type": "CAUSAL_LM",
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:175a33b8d7dd300f52b5b53a7236da3f7969479353f36a84bbfe75b8e97894f6
3
- size 143610512
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9c2ba75c66234694064aa7e226faf3cd16da954232124c1bff9aa05b0f2d9c0d
3
+ size 287167864