Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

scthornton
/
gemma-4-e4b-securecode

Text Generation
PEFT
Safetensors
code
English
security
cybersecurity
secure-coding
ai-security
owasp
code-generation
lora
fine-tuned
securecode
gemma-4
conversational
Model card Files Files and versions
xet
Community

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
gemma-4-e4b-securecode
172 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
scthornton's picture
scthornton
Update model card: audited SecureCode 2,372 dataset, bf16 LoRA on DGX Spark GB10
98dd905 verified about 11 hours ago
  • .gitattributes
    1.57 kB
    Upload tokenizer 7 days ago
  • README.md
    10 kB
    Update model card: audited SecureCode 2,372 dataset, bf16 LoRA on DGX Spark GB10 about 11 hours ago
  • adapter_config.json
    1.07 kB
    Upload model 7 days ago
  • adapter_model.safetensors
    140 MB
    xet
    Upload model 7 days ago
  • chat_template.jinja
    17.3 kB
    Upload tokenizer 7 days ago
  • tokenizer.json
    32.2 MB
    xet
    Upload tokenizer 7 days ago
  • tokenizer_config.json
    2.85 kB
    Upload tokenizer 7 days ago