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/deepseek-coder-6.7b-securecode with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use scthornton/deepseek-coder-6.7b-securecode with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("deepseek-ai/deepseek-coder-6.7b-instruct") model = PeftModel.from_pretrained(base_model, "scthornton/deepseek-coder-6.7b-securecode") - Notebooks
- Google Colab
- Kaggle
Upload model
Browse files- README.md +13 -13
- adapter_config.json +1 -1
- adapter_model.safetensors +1 -1
README.md
CHANGED
|
@@ -2,23 +2,23 @@
|
|
| 2 |
license: other
|
| 3 |
base_model: deepseek-ai/deepseek-coder-6.7b-instruct
|
| 4 |
tags:
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
datasets:
|
| 16 |
-
|
| 17 |
library_name: peft
|
| 18 |
pipeline_tag: text-generation
|
| 19 |
language:
|
| 20 |
-
|
| 21 |
-
|
| 22 |
---
|
| 23 |
|
| 24 |
# DeepSeek Coder 6.7B SecureCode
|
|
|
|
| 2 |
license: other
|
| 3 |
base_model: deepseek-ai/deepseek-coder-6.7b-instruct
|
| 4 |
tags:
|
| 5 |
+
- security
|
| 6 |
+
- cybersecurity
|
| 7 |
+
- secure-coding
|
| 8 |
+
- ai-security
|
| 9 |
+
- owasp
|
| 10 |
+
- code-generation
|
| 11 |
+
- qlora
|
| 12 |
+
- lora
|
| 13 |
+
- fine-tuned
|
| 14 |
+
- securecode
|
| 15 |
datasets:
|
| 16 |
+
- scthornton/securecode
|
| 17 |
library_name: peft
|
| 18 |
pipeline_tag: text-generation
|
| 19 |
language:
|
| 20 |
+
- code
|
| 21 |
+
- en
|
| 22 |
---
|
| 23 |
|
| 24 |
# DeepSeek Coder 6.7B SecureCode
|
adapter_config.json
CHANGED
|
@@ -29,8 +29,8 @@
|
|
| 29 |
"rank_pattern": {},
|
| 30 |
"revision": null,
|
| 31 |
"target_modules": [
|
| 32 |
-
"k_proj",
|
| 33 |
"q_proj",
|
|
|
|
| 34 |
"v_proj",
|
| 35 |
"o_proj"
|
| 36 |
],
|
|
|
|
| 29 |
"rank_pattern": {},
|
| 30 |
"revision": null,
|
| 31 |
"target_modules": [
|
|
|
|
| 32 |
"q_proj",
|
| 33 |
+
"k_proj",
|
| 34 |
"v_proj",
|
| 35 |
"o_proj"
|
| 36 |
],
|
adapter_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 67143296
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5c0a043cfba4be30470c1b830038fce8fb6f65ddad4b516185cd93b3a192760e
|
| 3 |
size 67143296
|