vijilpd commited on
Commit
0f06073
·
verified ·
1 Parent(s): 116a65f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +17 -18
README.md CHANGED
@@ -44,9 +44,8 @@ print(classifier("this is a prompt-injection prompt"))
44
 
45
  The dataset used for training the model was taken from
46
 
47
- https://huggingface.co/datasets/allenai/wildguardmix
48
- https://huggingface.co/datasets/xTRam1/safe-guard-prompt-injection
49
-
50
 
51
  ### Training Procedure
52
 
@@ -54,40 +53,40 @@ Supervised finetuning with above dataset
54
 
55
  #### Training Hyperparameters
56
 
57
- learning_rate: 5e-05
58
 
59
- train_batch_size: 32
60
 
61
- eval_batch_size: 32
62
 
63
- optimizer: adamw_torch_fused
64
 
65
- lr_scheduler_type: cosine_with_restarts
66
 
67
- warmup_ratio: 0.1
68
 
69
- num_epochs: 3
70
 
71
  ## Evaluation
72
 
73
- Training Loss: 0.0036
74
 
75
- Validation Loss: 0.209392
76
 
77
- Accuracy: 0.961538
78
 
79
- Precision: 0.958362
80
 
81
- Recall: 0.957055
82
 
83
- Fl: 0.957708
84
 
85
  #### Testing Data
86
 
87
  The dataset used for training the model was taken from
88
 
89
- https://huggingface.co/datasets/allenai/wildguardmix
90
- https://huggingface.co/datasets/xTRam1/safe-guard-prompt-injection
91
 
92
  ### Results
93
 
 
44
 
45
  The dataset used for training the model was taken from
46
 
47
+ [wildguardmix/train](https://huggingface.co/datasets/allenai/wildguardmix)
48
+ [safe-guard-prompt-injection/train](https://huggingface.co/datasets/xTRam1/safe-guard-prompt-injection)
 
49
 
50
  ### Training Procedure
51
 
 
53
 
54
  #### Training Hyperparameters
55
 
56
+ * learning_rate: 5e-05
57
 
58
+ * train_batch_size: 32
59
 
60
+ * eval_batch_size: 32
61
 
62
+ * optimizer: adamw_torch_fused
63
 
64
+ * lr_scheduler_type: cosine_with_restarts
65
 
66
+ * warmup_ratio: 0.1
67
 
68
+ * num_epochs: 3
69
 
70
  ## Evaluation
71
 
72
+ * Training Loss: 0.0036
73
 
74
+ * Validation Loss: 0.209392
75
 
76
+ * Accuracy: 0.961538
77
 
78
+ * Precision: 0.958362
79
 
80
+ * Recall: 0.957055
81
 
82
+ * Fl: 0.957708
83
 
84
  #### Testing Data
85
 
86
  The dataset used for training the model was taken from
87
 
88
+ [wildguardmix/test](https://huggingface.co/datasets/allenai/wildguardmix)
89
+ [safe-guard-prompt-injection/test](https://huggingface.co/datasets/xTRam1/safe-guard-prompt-injection)
90
 
91
  ### Results
92