Text Classification
PEFT
Safetensors
Transformers
English
lora
security
xss
vulnerability-detection
cybersecurity
web-security
Instructions to use PentesterFlow/xss-decision with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use PentesterFlow/xss-decision with PEFT:
from peft import PeftModel from transformers import AutoModel base_model = AutoModel.from_pretrained("Qwen/Qwen3.5-0.8B-Base") model = PeftModel.from_pretrained(base_model, "PentesterFlow/xss-decision") - Transformers
How to use PentesterFlow/xss-decision with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="PentesterFlow/xss-decision")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("PentesterFlow/xss-decision", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 317 Bytes
6478e18 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | {
"wall_seconds": 1213.304759979248,
"records_seen": 1260,
"requested_records": 1260,
"truncated_records": 0,
"rejected_records": 0,
"optimizer_steps": 159,
"forward_tokens": 203525,
"peak_device_bytes": 3441421568,
"device": "mps",
"dtype": "fp32",
"batch": 4,
"peak_rss_bytes": 3817619456
}
|