Subhan-QUEST commited on
Commit
e248124
·
verified ·
1 Parent(s): ad3545e

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +12 -62
README.md CHANGED
@@ -1,65 +1,15 @@
1
  ---
2
- library_name: transformers
3
  license: mit
4
- base_model: roberta-base
 
 
 
 
 
 
 
5
  tags:
6
- - generated_from_trainer
7
- metrics:
8
- - accuracy
9
- model-index:
10
- - name: prompt-injection-roberta
11
- results: []
12
- ---
13
-
14
- <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
- should probably proofread and complete it, then remove this comment. -->
16
-
17
- # prompt-injection-roberta
18
-
19
- This model is a fine-tuned version of [roberta-base](https://huggingface.co/roberta-base) on an unknown dataset.
20
- It achieves the following results on the evaluation set:
21
- - Loss: 0.0022
22
- - Accuracy: 1.0
23
-
24
- ## Model description
25
-
26
- More information needed
27
-
28
- ## Intended uses & limitations
29
-
30
- More information needed
31
-
32
- ## Training and evaluation data
33
-
34
- More information needed
35
-
36
- ## Training procedure
37
-
38
- ### Training hyperparameters
39
-
40
- The following hyperparameters were used during training:
41
- - learning_rate: 2e-05
42
- - train_batch_size: 8
43
- - eval_batch_size: 8
44
- - seed: 42
45
- - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
46
- - lr_scheduler_type: linear
47
- - num_epochs: 5
48
-
49
- ### Training results
50
-
51
- | Training Loss | Epoch | Step | Validation Loss | Accuracy |
52
- |:-------------:|:-----:|:----:|:---------------:|:--------:|
53
- | 0.5157 | 1.0 | 59 | 0.3235 | 0.9136 |
54
- | 0.1514 | 2.0 | 118 | 0.0030 | 1.0 |
55
- | 0.114 | 3.0 | 177 | 0.0007 | 1.0 |
56
- | 0.02 | 4.0 | 236 | 0.0102 | 0.9877 |
57
- | 0.0035 | 5.0 | 295 | 0.0022 | 1.0 |
58
-
59
-
60
- ### Framework versions
61
-
62
- - Transformers 4.51.1
63
- - Pytorch 2.6.0+cu124
64
- - Datasets 3.5.0
65
- - Tokenizers 0.21.1
 
1
  ---
 
2
  license: mit
3
+ datasets:
4
+ - deepset/prompt-injections
5
+ - geekyrakshit/prompt-injection-dataset
6
+ language:
7
+ - en
8
+ base_model:
9
+ - FacebookAI/roberta-base
10
+ pipeline_tag: text-classification
11
  tags:
12
+ - guard-rail
13
+ - prompt-injection
14
+ - moderation
15
+ ---