Text Classification
Transformers
Safetensors
English
modernbert
security
jailbreak-detection
prompt-injection
llm-safety
Eval Results (legacy)
text-embeddings-inference
Run this model with HF Jobs
Run rootfs/function-call-sentinel 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/rootfs/function-call-sentinel. 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/rootfs/function-call-sentinel 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.
Instructions to use rootfs/function-call-sentinel with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use rootfs/function-call-sentinel with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="rootfs/function-call-sentinel")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("rootfs/function-call-sentinel") model = AutoModelForSequenceClassification.from_pretrained("rootfs/function-call-sentinel", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Add YAML metadata to model card
Browse files123# FunctionCallSentinel - Prompt Injection & Jailbreak Detection<div align="center">1234567891011121314151617181920212223242526272829303132333435363738394041424344454647---language:- enlicense: apache-2.0library_name: transformerstags:- modernbert- security- jailbreak-detection- prompt-injection- text-classification- llm-safetydatasets:- allenai/wildjailbreak- hackaprompt/hackaprompt-dataset- TrustAIRLab/in-the-wild-jailbreak-prompts- tatsu-lab/alpaca- databricks/databricks-dolly-15kbase_model: answerdotai/ModernBERT-basepipeline_tag: text-classificationmodel-index:- name: function-call-sentinelresults:- task:type: text-classificationname: Prompt Injection Detectionmetrics:- name: INJECTION_RISK F1type: f1value: 0.9596- name: INJECTION_RISK Precisiontype: precisionvalue: 0.9715- name: INJECTION_RISK Recalltype: recallvalue: 0.9481- name: Accuracytype: accuracyvalue: 0.9600- name: ROC-AUCtype: roc_aucvalue: 0.9928---# FunctionCallSentinel - Prompt Injection & Jailbreak Detection<div align="center">
README.md+44