Text Generation
PEFT
TensorBoard
Safetensors
code
English
security
cybersecurity
secure-coding
ai-security
owasp
code-generation
qlora
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 adapter_config.json with huggingface_hub
Browse files- adapter_config.json +1 -1
adapter_config.json
CHANGED
|
@@ -29,8 +29,8 @@
|
|
| 29 |
"rank_pattern": {},
|
| 30 |
"revision": null,
|
| 31 |
"target_modules": [
|
| 32 |
-
"q_proj",
|
| 33 |
"k_proj",
|
|
|
|
| 34 |
"v_proj",
|
| 35 |
"o_proj"
|
| 36 |
],
|
|
|
|
| 29 |
"rank_pattern": {},
|
| 30 |
"revision": null,
|
| 31 |
"target_modules": [
|
|
|
|
| 32 |
"k_proj",
|
| 33 |
+
"q_proj",
|
| 34 |
"v_proj",
|
| 35 |
"o_proj"
|
| 36 |
],
|