Text Generation
PEFT
Safetensors
code
securecode
security
owasp
code-generation
secure-coding
lora
qlora
vulnerability-detection
cybersecurity
conversational
Instructions to use scthornton/granite-20b-code-securecode with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use scthornton/granite-20b-code-securecode with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("ibm-granite/granite-20b-code-instruct-8k") model = PeftModel.from_pretrained(base_model, "scthornton/granite-20b-code-securecode") - Notebooks
- Google Colab
- Kaggle
Add paper citation and comprehensive model card
#2
by perfecXion - opened
README.md
CHANGED
|
@@ -31,7 +31,7 @@ arxiv: 2512.18542
|
|
| 31 |
|
| 32 |
The most powerful model in the SecureCode collection. When you need maximum code understanding, complex reasoning, and IBM's enterprise-grade reliability.
|
| 33 |
|
| 34 |
-
[π€ Model Hub](https://huggingface.co/scthornton/granite-20b-code-securecode) | [π Dataset](https://huggingface.co/datasets/scthornton/securecode-v2) | [π» perfecXion.ai](https://perfecxion.ai) | [π Collection](https://huggingface.co/collections/scthornton/securecode)
|
| 35 |
|
| 36 |
</div>
|
| 37 |
|
|
|
|
| 31 |
|
| 32 |
The most powerful model in the SecureCode collection. When you need maximum code understanding, complex reasoning, and IBM's enterprise-grade reliability.
|
| 33 |
|
| 34 |
+
[π Paper](https://arxiv.org/abs/2512.18542) | [π€ Model Hub](https://huggingface.co/scthornton/granite-20b-code-securecode) | [π Dataset](https://huggingface.co/datasets/scthornton/securecode-v2) | [π» perfecXion.ai](https://perfecxion.ai) | [π Collection](https://huggingface.co/collections/scthornton/securecode)
|
| 35 |
|
| 36 |
</div>
|
| 37 |
|