Run this model with HF Jobs

Run Xx-Vexento-xX/security-testing-agent-lora on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/Xx-Vexento-xX/security-testing-agent-lora. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/Xx-Vexento-xX/security-testing-agent-lora on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Xx-Vexento-xX commited on
Commit
5d7b0aa
·
verified ·
1 Parent(s): 9048572

Create README.md

Browse files

---
base_model: meta-llama/Meta-Llama-3.1-8B-Instruct
language:
- en
license: mit
tags:
- lora
- security
- cybersecurity
- peft
---

# Security Testing Agent — LoRA

Defensive security testing assistant. Analyzes code for
vulnerabilities and suggests fixes.

**Base model:** meta-llama/Meta-Llama-3.1-8B-Instruct

## Load it

from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer

model = AutoModelForCausalLM.from_pretrained(
"meta-llama/Meta-Llama-3.1-8B-Instruct"
)
model = PeftModel.from_pretrained(
model, "Xx-Vexento-xX/security-testing-agent-lora"
)
tokenizer = AutoTokenizer.from_pretrained(
"Xx-Vexento-xX/security-testing-agent-lora"
)

## Training
- 15 curriculum rounds across Python, JavaScript, Java,
Go, PHP, Ruby, TypeScript, Rust, Kotlin, C#
- Vulnerability types: SQL Injection, XSS, CSRF, SSRF,
Command Injection, IDOR, XXE, JWT weaknesses,
Path Traversal, Prototype Pollution, and more
- RAG-aware: recognizes [REFERENCE CONTEXT] blocks

## Intended use
Authorized defensive security testing of your own code only.