File size: 1,167 Bytes
7eef474
 
 
 
 
 
 
 
 
 
 
d067abd
7eef474
d067abd
 
 
 
 
7eef474
 
 
d067abd
7eef474
 
 
 
 
d067abd
 
 
 
 
 
 
 
7eef474
 
 
 
 
 
d067abd
 
 
 
 
 
 
7eef474
 
 
d067abd
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
---
license: mit
library_name: transformers
tags:
  - llm-guard
  - security
  - onnx
---

# distilroberta-rejection

This is an ONNX model used by [LLM Guard](https://github.com/akto-api-security/llm-guard) for security scanning of Large Language Models.

## Model Details

**Base Model:** distilroberta-base (fine-tuned)

This model has been converted to ONNX format for optimized inference performance.

## Usage

This model is used automatically by the LLM Guard library:

```bash
pip install llm-guard
```

```python
from llm_guard.input_scanners import PromptInjection

scanner = PromptInjection()
result = scanner.scan("Your prompt here")
print(result)
```

The model will be downloaded automatically when the corresponding scanner is used.

## About LLM Guard

LLM Guard is a comprehensive security toolkit for Large Language Models, providing:

- 🛡️ Prompt injection detection
- 🔒 PII detection and anonymization
- 🚫 Toxicity filtering
- ⚖️ Bias detection
- 📊 And many more security features

**Repository:** https://github.com/akto-api-security/llm-guard

## License

MIT License

---

*Maintained by [Akto API Security](https://akto.io)*