Text Generation
Safetensors
English
Chinese
qwen3
safety
security
compliance
prompt_attack
prompt_injection
prompt_jailbreak
conversational
Instructions to use openguardrails/OpenGuardrails-Text-4B-0124 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Inference
| FROM . | |
| TEMPLATE """{{ if .System }}<|im_start|>system | |
| {{ .System }}<|im_end|> | |
| {{ end }}{{ range .Messages }}{{ if eq .Role "user" }}<|im_start|>user | |
| {{ .Content }}<|im_end|> | |
| <|im_start|>assistant | |
| <think> | |
| </think> | |
| {{ else if eq .Role "assistant" }}{{ .Content }}<|im_end|> | |
| {{ end }}{{ end }}""" | |
| PARAMETER stop "<|im_end|>" | |
| PARAMETER num_ctx 4096 | |