Text Generation
PEFT
TensorBoard
Safetensors
code
English
security
cybersecurity
secure-coding
ai-security
owasp
code-generation
lora
fine-tuned
securecode
conversational
Instructions to use scthornton/starcoder2-15b-securecode with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use scthornton/starcoder2-15b-securecode with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("bigcode/starcoder2-15b-instruct-v0.1") model = PeftModel.from_pretrained(base_model, "scthornton/starcoder2-15b-securecode") - Notebooks
- Google Colab
- Kaggle
Upload model
Browse files- README.md +14 -14
- adapter_config.json +3 -3
- adapter_model.safetensors +1 -1
README.md
CHANGED
|
@@ -3,24 +3,24 @@ library_name: peft
|
|
| 3 |
pipeline_tag: text-generation
|
| 4 |
license: bigcode-openrail-m
|
| 5 |
language:
|
| 6 |
-
|
| 7 |
base_model:
|
| 8 |
-
|
| 9 |
tags:
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
datasets:
|
| 20 |
-
|
| 21 |
model-index:
|
| 22 |
-
|
| 23 |
-
|
| 24 |
---
|
| 25 |
|
| 26 |
# StarCoder2 15B SecureCode
|
|
|
|
| 3 |
pipeline_tag: text-generation
|
| 4 |
license: bigcode-openrail-m
|
| 5 |
language:
|
| 6 |
+
- code
|
| 7 |
base_model:
|
| 8 |
+
- bigcode/starcoder2-15b-instruct-v0.1
|
| 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: starcoder2-15b-securecode
|
| 23 |
+
results: []
|
| 24 |
---
|
| 25 |
|
| 26 |
# StarCoder2 15B SecureCode
|
adapter_config.json
CHANGED
|
@@ -29,10 +29,10 @@
|
|
| 29 |
"rank_pattern": {},
|
| 30 |
"revision": null,
|
| 31 |
"target_modules": [
|
| 32 |
-
"o_proj",
|
| 33 |
-
"v_proj",
|
| 34 |
"k_proj",
|
| 35 |
-
"
|
|
|
|
|
|
|
| 36 |
],
|
| 37 |
"target_parameters": null,
|
| 38 |
"task_type": "CAUSAL_LM",
|
|
|
|
| 29 |
"rank_pattern": {},
|
| 30 |
"revision": null,
|
| 31 |
"target_modules": [
|
|
|
|
|
|
|
| 32 |
"k_proj",
|
| 33 |
+
"o_proj",
|
| 34 |
+
"q_proj",
|
| 35 |
+
"v_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:
|
| 3 |
size 97036288
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5b44e7c2005038aab22f9f6896b97170c106fb798579b610445b27aefbab3cfe
|
| 3 |
size 97036288
|