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
Download training_metrics.json from PentesterFlow/xss-decision: direct link, hf CLI and curl.
- Browser
- Download file 317 Bytes
-
https://huggingface.co/PentesterFlow/xss-decision/resolve/main/training_metrics.json
- Command line
-
hf download hf://PentesterFlow/xss-decision/training_metrics.json
-
curl -L -o training_metrics.json https://huggingface.co/PentesterFlow/xss-decision/resolve/main/training_metrics.json
317 Bytes
| { | |
| "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 | |
| } | |