Token Classification
Transformers
Safetensors
English
modernbert
security
jailbreak-detection
prompt-injection
tool-calling
llm-safety
mcp
Eval Results (legacy)
Instructions to use rootfs/tool-call-verifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use rootfs/tool-call-verifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="rootfs/tool-call-verifier")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("rootfs/tool-call-verifier") model = AutoModelForTokenClassification.from_pretrained("rootfs/tool-call-verifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "accuracy": 0.9287719722676717, | |
| "unauthorized_precision": 0.950093511979563, | |
| "unauthorized_recall": 0.9204538309851105, | |
| "unauthorized_f1": 0.9350388443092216, | |
| "unauthorized_avg_f1": 0.9350388443092216, | |
| "macro_f1": 0.9281028494375871 | |
| } |