Update README.md
Browse files
README.md
CHANGED
@@ -21,6 +21,7 @@ The vijil/mbert-prompt-injection model is designed to enhance security in langua
|
|
21 |
|
22 |
## How to Get Started with the Model
|
23 |
|
|
|
24 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification, pipeline
|
25 |
import torch
|
26 |
|
@@ -38,6 +39,8 @@ classifier = pipeline(
|
|
38 |
|
39 |
print(classifier("this is a prompt-injection prompt"))
|
40 |
|
|
|
|
|
41 |
## Training Details
|
42 |
|
43 |
### Training Data
|
|
|
21 |
|
22 |
## How to Get Started with the Model
|
23 |
|
24 |
+
```
|
25 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification, pipeline
|
26 |
import torch
|
27 |
|
|
|
39 |
|
40 |
print(classifier("this is a prompt-injection prompt"))
|
41 |
|
42 |
+
```
|
43 |
+
|
44 |
## Training Details
|
45 |
|
46 |
### Training Data
|