Update README.md
Browse files
README.md
CHANGED
@@ -4,6 +4,7 @@ license: apache-2.0
|
|
4 |
datasets:
|
5 |
- Lakera/gandalf_ignore_instructions
|
6 |
- christopher/rosetta-code
|
|
|
7 |
language:
|
8 |
- en
|
9 |
pipeline_tag: text-classification
|
@@ -13,6 +14,7 @@ tags:
|
|
13 |
- security
|
14 |
- llm-security
|
15 |
- distilbert
|
|
|
16 |
---
|
17 |
|
18 |
# Model Card - Acuvity Prompt Injection
|
@@ -39,22 +41,22 @@ To combat this, Acuvity Prompt Injection utilizes advanced detection algorithms
|
|
39 |
The model operates by positioning itself between the user and the large language model (LLM), intercepting prompts before they reach the LLM. When a prompt is submitted, the model analyzes it to detect any signs of prompt injection. If the model identifies the prompt as safe, it is then forwarded to the LLM for processing. If a prompt injection is detected, the prompt is flagged or blocked, preventing any unintended behavior by the LLM. This approach ensures that only vetted inputs reach the model, thereby enhancing the overall security and reliability of your AI system.
|
40 |
|
41 |
<pre>
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
|
46 |
-
|
|
47 |
-
|
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
</pre>
|
59 |
|
60 |
|
@@ -70,7 +72,7 @@ The datasets used in this model, were a mixture of publicly available datasets a
|
|
70 |
|
71 |
In accordance with licensing requirements, proper attribution is provided as mandated by the specific licenses of the source data. The following is a summary of the licenses and the corresponding number of datasets under each:
|
72 |
- No License (public domain): 1 datasets
|
73 |
-
- MIT License:
|
74 |
|
75 |
## Evaluation metrics
|
76 |
|
@@ -140,4 +142,26 @@ Carbon emissions can be estimated using the [Machine Learning Impact calculator]
|
|
140 |
url = "https://rosettacode.org/w/index.php?title=Rosetta_Code&oldid=322370",
|
141 |
note = "[Online; accessed 8-December-2022]"
|
142 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
143 |
```
|
|
|
4 |
datasets:
|
5 |
- Lakera/gandalf_ignore_instructions
|
6 |
- christopher/rosetta-code
|
7 |
+
- HuggingFaceH4/ultrachat_200k
|
8 |
language:
|
9 |
- en
|
10 |
pipeline_tag: text-classification
|
|
|
14 |
- security
|
15 |
- llm-security
|
16 |
- distilbert
|
17 |
+
base_model: distilbert/distilbert-base-uncased
|
18 |
---
|
19 |
|
20 |
# Model Card - Acuvity Prompt Injection
|
|
|
41 |
The model operates by positioning itself between the user and the large language model (LLM), intercepting prompts before they reach the LLM. When a prompt is submitted, the model analyzes it to detect any signs of prompt injection. If the model identifies the prompt as safe, it is then forwarded to the LLM for processing. If a prompt injection is detected, the prompt is flagged or blocked, preventing any unintended behavior by the LLM. This approach ensures that only vetted inputs reach the model, thereby enhancing the overall security and reliability of your AI system.
|
42 |
|
43 |
<pre>
|
44 |
+
|
|
45 |
+
|
|
46 |
+
+------------+ | +-----------+
|
47 |
+
| | | | |
|
48 |
+
| USER/APP | | | LLM |
|
49 |
+
| | | | |
|
50 |
+
+-----+------+ | +-----^-----+
|
51 |
+
| | |
|
52 |
+
| | |
|
53 |
+
| +-----------------+ |
|
54 |
+
| | | |
|
55 |
+
| | ACUVITY | |
|
56 |
+
+----->| PROMPT +-----+
|
57 |
+
| INJECTION |
|
58 |
+
| |
|
59 |
+
+-----------------+
|
60 |
</pre>
|
61 |
|
62 |
|
|
|
72 |
|
73 |
In accordance with licensing requirements, proper attribution is provided as mandated by the specific licenses of the source data. The following is a summary of the licenses and the corresponding number of datasets under each:
|
74 |
- No License (public domain): 1 datasets
|
75 |
+
- MIT License: 2 datasets
|
76 |
|
77 |
## Evaluation metrics
|
78 |
|
|
|
142 |
url = "https://rosettacode.org/w/index.php?title=Rosetta_Code&oldid=322370",
|
143 |
note = "[Online; accessed 8-December-2022]"
|
144 |
}
|
145 |
+
```
|
146 |
+
|
147 |
+
```citation
|
148 |
+
@misc{ding2023enhancing,
|
149 |
+
title={Enhancing Chat Language Models by Scaling High-quality Instructional Conversations},
|
150 |
+
author={Ning Ding and Yulin Chen and Bokai Xu and Yujia Qin and Zhi Zheng and Shengding Hu and Zhiyuan Liu and Maosong Sun and Bowen Zhou},
|
151 |
+
year={2023},
|
152 |
+
eprint={2305.14233},
|
153 |
+
archivePrefix={arXiv},
|
154 |
+
primaryClass={cs.CL}
|
155 |
+
}
|
156 |
+
```
|
157 |
+
|
158 |
+
```citation
|
159 |
+
@misc{tunstall2023zephyr,
|
160 |
+
title={Zephyr: Direct Distillation of LM Alignment},
|
161 |
+
author={Lewis Tunstall and Edward Beeching and Nathan Lambert and Nazneen Rajani and Kashif Rasul and Younes Belkada and Shengyi Huang and Leandro von Werra and Clémentine Fourrier and Nathan Habib and Nathan Sarrazin and Omar Sanseviero and Alexander M. Rush and Thomas Wolf},
|
162 |
+
year={2023},
|
163 |
+
eprint={2310.16944},
|
164 |
+
archivePrefix={arXiv},
|
165 |
+
primaryClass={cs.LG}
|
166 |
+
}
|
167 |
```
|