katanemo / Arch-Guard-cpu

huggingface.co
Total runs: 69
24-hour runs: -1
7-day runs: 16
30-day runs: -36
Model's Last Updated: January 16 2025
text-classification

Introduction of Arch-Guard-cpu

Model Details of Arch-Guard-cpu

katanemo/Arch-Guard

Overview

The Katanemo Arch-Guard collection is a collection state-of-the-art (SOTA) LLMs specifically designed for jailbreaking detection tasks. Definition: jailbreaking attempts are malicious prompts designed to alternate the intended behavior of the foundation LLM model of the application. They often violate the safety and security policies of the model.

Arch Guard is a classifier model fine-tuned based on the open source model Prompt-Guard-86M on a collection of open-source datasets of jailbreaking attemps with an intention to improve the capability of detecting jailbreaks only.

In summary, the Katanemo Arch-Function collection demonstrates:

  • State-of-the-art performance in jailbreaking attempts detection
  • Optimized low-latency, low False Positive Rate , making it suitable for real-time, production environments, and best user experience.
Dominant class = jailbreak
Model TPR TNR FPR FNR AUC Precision Recall
Prompt-guard 0.8468 0.9972 0.0028 0.1532 0.857 0.715 0.999
Arch-guard 0.8887 0.9970 0.0030 0.1113 0.880 0.761 0.999
Requirements

The cpu model is quantized with OVM, please follow the instruction at https://github.com/huggingface/optimum-intel to install the package.

Datasets

Evaluation dataset is from casual_conversation casual_conversation commonqa financeqa
instruction
jailbreak_behavior_benign
jailbreak_behavior_harmful
jailbreak_judge
jailbreak_prompts
jailbreak_tweet
jailbreak_v
jailbreak_vigil
mental_health telecom
truthqa weather

How to use
from optimum.intel import OVModelForSequenceClassification

device = "cpu"
model_name = "katanemolabs/Arch-Guard-cpu"
guard_mode = OVModelForSequenceClassification.from_pretrained(
    model_name, device_map=device, low_cpu_mem_usage=True
)
tokenizer = AutoTokenizer.from_pretrained(
        model_name, trust_remote_code=True
)

License

Katanemo Arch-Guard is distributed under the Katanemo license .

Runs of katanemo Arch-Guard-cpu on huggingface.co

69
Total runs
-1
24-hour runs
17
3-day runs
16
7-day runs
-36
30-day runs

More Information About Arch-Guard-cpu huggingface.co Model

More Arch-Guard-cpu license Visit here:

https://choosealicense.com/licenses/mit

Arch-Guard-cpu huggingface.co

Arch-Guard-cpu huggingface.co is an AI model on huggingface.co that provides Arch-Guard-cpu's model effect (), which can be used instantly with this katanemo Arch-Guard-cpu model. huggingface.co supports a free trial of the Arch-Guard-cpu model, and also provides paid use of the Arch-Guard-cpu. Support call Arch-Guard-cpu model through api, including Node.js, Python, http.

Arch-Guard-cpu huggingface.co Url

https://huggingface.co/katanemo/Arch-Guard-cpu

katanemo Arch-Guard-cpu online free

Arch-Guard-cpu huggingface.co is an online trial and call api platform, which integrates Arch-Guard-cpu's modeling effects, including api services, and provides a free online trial of Arch-Guard-cpu, you can try Arch-Guard-cpu online for free by clicking the link below.

katanemo Arch-Guard-cpu online free url in huggingface.co:

https://huggingface.co/katanemo/Arch-Guard-cpu

Arch-Guard-cpu install

Arch-Guard-cpu is an open source model from GitHub that offers a free installation service, and any user can find Arch-Guard-cpu on GitHub to install. At the same time, huggingface.co provides the effect of Arch-Guard-cpu install, users can directly use Arch-Guard-cpu installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

Arch-Guard-cpu install url in huggingface.co:

https://huggingface.co/katanemo/Arch-Guard-cpu

Url of Arch-Guard-cpu

Arch-Guard-cpu huggingface.co Url

Provider of Arch-Guard-cpu huggingface.co

katanemo
ORGANIZATIONS

Other API from katanemo

huggingface.co

Total runs: 318
Run Growth: -425
Growth Rate: -133.65%
Updated:May 07 2025
huggingface.co

Total runs: 8
Run Growth: 0
Growth Rate: 0.00%
Updated:March 14 2025