Download README.md from MaojieXu/WebPromptFilter-EdgeCoder-Multilingual-61M: direct link, hf CLI and curl.
- Browser
- Download file 1.68 kB
-
https://huggingface.co/MaojieXu/WebPromptFilter-EdgeCoder-Multilingual-61M/resolve/main/README.md
- Command line
-
hf download hf://MaojieXu/WebPromptFilter-EdgeCoder-Multilingual-61M/README.md
-
curl -L -o README.md https://huggingface.co/MaojieXu/WebPromptFilter-EdgeCoder-Multilingual-61M/resolve/main/README.md
license: apache-2.0
base_model: knowledgator/EdgeCoder-Multilingual-61M
pipeline_tag: token-classification
tags:
- prompt-injection
- deberta-v2
- flashdeberta
datasets:
- perplexity-ai/browsesafe-plus-plus
WebPromptFilter EdgeCoder Markdown classifier
Fine-tuned EdgeCoder-Multilingual-61M on the BrowseSafe++ training partition for line-fragment prompt-injection classification. Input contains a task and Markdown fragments preceded by mask tokens. Read classification scores at the mask positions and map fragments back to source lines. The input and evaluation contract is documented at https://github.com/MaojieXu/WebPLGuard/blob/main/research/README.md .
Training used a group-aware 90:10 split of 29,500 pairs and a group-held-out validation subset of the training partition. Internal test derives from the original training split, not the upstream evaluation-only test set. One epoch, 5,204 steps, microbatch 3, four accumulation steps, AdamW learning rate 2e-5. Labels are automatically projected. Some attack pages could not be localized.
The unquantized checkpoint scored line-level precision 97.2058%, recall 95.9864%, F1 96.5922% at threshold 0.5 on supervised portions of internal test. 56 unresolved test pages were excluded. Results do not establish performance on all web content or unlabelled instructions.
Base model is Apache 2.0: https://huggingface.co/knowledgator/EdgeCoder-Multilingual-61M . Training data is BrowseSafe++ by Yuetian Chen, Kaiyuan Zhang, Yuntao Du, Thomas Li, Mark Tenenholtz, Kyle Polley, Jerry Ma, Denis Yarats and Ninghui Li: https://huggingface.co/datasets/perplexity-ai/browsesafe-plus-plus . Its training split is CC BY 4.0.