poteminr commited on
Commit
f9bbb81
·
verified ·
1 Parent(s): d08e417

End of training

Browse files
README.md ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: protectai/deberta-v3-base-prompt-injection-v2
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ - f1
10
+ model-index:
11
+ - name: jailbreak_detector_v2
12
+ results: []
13
+ ---
14
+
15
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
16
+ should probably proofread and complete it, then remove this comment. -->
17
+
18
+ # jailbreak_detector_v2
19
+
20
+ This model is a fine-tuned version of [protectai/deberta-v3-base-prompt-injection-v2](https://huggingface.co/protectai/deberta-v3-base-prompt-injection-v2) on the None dataset.
21
+ It achieves the following results on the evaluation set:
22
+ - Loss: 0.3056
23
+ - Accuracy: 0.8642
24
+ - F1: 0.8523
25
+
26
+ ## Model description
27
+
28
+ More information needed
29
+
30
+ ## Intended uses & limitations
31
+
32
+ More information needed
33
+
34
+ ## Training and evaluation data
35
+
36
+ More information needed
37
+
38
+ ## Training procedure
39
+
40
+ ### Training hyperparameters
41
+
42
+ The following hyperparameters were used during training:
43
+ - learning_rate: 5e-05
44
+ - train_batch_size: 16
45
+ - eval_batch_size: 16
46
+ - seed: 42
47
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
48
+ - lr_scheduler_type: linear
49
+ - num_epochs: 2
50
+
51
+ ### Training results
52
+
53
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
54
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
55
+ | No log | 1.0 | 182 | 0.3056 | 0.8642 | 0.8523 |
56
+ | No log | 2.0 | 364 | 0.3350 | 0.8889 | 0.8824 |
57
+
58
+
59
+ ### Framework versions
60
+
61
+ - Transformers 4.44.2
62
+ - Pytorch 2.4.1+cu121
63
+ - Datasets 3.0.0
64
+ - Tokenizers 0.19.1
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:459e31aaed2e7e57ff8fb78f3b0380991ff63f341f80e833dc63a32cb77d49fc
3
  size 737719272
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e0a3f1492b165fa6d6ec24502bce7810473af80b1b26dfa9ebb6c116d092374a
3
  size 737719272
runs/Sep14_10-13-57_legal-tech-0/events.out.tfevents.1726298038.legal-tech-0.4041.3 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6095703bb1d8c07266a2422a15fee36aaeab781f1b70418416ec399d9cd4a9d0
3
- size 5675
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:526c9c5e6f742818005219a83f67ef568a7aa76ca060c19421d64518b1170ccc
3
+ size 6398
runs/Sep14_10-13-57_legal-tech-0/events.out.tfevents.1726298798.legal-tech-0.4041.4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8a2af3b083a37ca9c36b5cb1e69563a39c7b0f12344b588f3c22c95fd16ba66e
3
+ size 826