Text Generation
PEFT
Safetensors
code
English
security
cybersecurity
secure-coding
ai-security
owasp
code-generation
lora
fine-tuned
securecode
gemma-4
conversational
Instructions to use scthornton/gemma-4-e4b-securecode with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use scthornton/gemma-4-e4b-securecode with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("google/gemma-4-E4B-it") model = PeftModel.from_pretrained(base_model, "scthornton/gemma-4-e4b-securecode") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update model card: audited SecureCode 2,372 dataset, bf16 LoRA on DGX Spark GB10
Verified signature98dd905
-
Upload tokenizer
Verified signature09e9e4f -
Upload model
Verified signature76b6563 -
initial commit
Verified signature949ad15