rajkr/malicious-prompt-detector-qwen0.5b

Usage

from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "rajkr/malicious-prompt-detector-qwen0.5b"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id)

For non-causal architectures, replace AutoModelForCausalLM with the appropriate AutoModel class.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support