madhurjindal
commited on
Commit
•
280d9ba
1
Parent(s):
b0c3a3b
Upload folder using huggingface_hub
Browse files- .gitattributes +2 -0
- README.md +26 -0
- autotrain-data/train/.nfs000000000fb46a240000000e +3 -0
- autotrain-data/validation/.nfs000000000fb46a270000000d +3 -0
- checkpoint-294/config.json +35 -0
- checkpoint-294/model.safetensors +3 -0
- checkpoint-294/optimizer.pt +3 -0
- checkpoint-294/rng_state_0.pth +3 -0
- checkpoint-294/rng_state_1.pth +3 -0
- checkpoint-294/rng_state_2.pth +3 -0
- checkpoint-294/rng_state_3.pth +3 -0
- checkpoint-294/scheduler.pt +3 -0
- checkpoint-294/trainer_state.json +262 -0
- checkpoint-294/training_args.bin +3 -0
- config.json +35 -0
- model.safetensors +3 -0
- runs/Jul22_09-51-33_node-0/events.out.tfevents.1721667098.node-0.52306.0 +2 -2
- runs/Jul22_09-51-33_node-0/events.out.tfevents.1721667296.node-0.52306.1 +3 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +55 -0
- training_args.bin +3 -0
- training_params.json +30 -0
- vocab.txt +0 -0
.gitattributes
CHANGED
@@ -33,3 +33,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
autotrain-data/train/.nfs000000000fb46a240000000e filter=lfs diff=lfs merge=lfs -text
|
37 |
+
autotrain-data/validation/.nfs000000000fb46a270000000d filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
---
|
3 |
+
tags:
|
4 |
+
- autotrain
|
5 |
+
- text-classification
|
6 |
+
base_model: distilbert/distilbert-base-cased
|
7 |
+
widget:
|
8 |
+
- text: "I love AutoTrain"
|
9 |
+
---
|
10 |
+
|
11 |
+
# Model Trained Using AutoTrain
|
12 |
+
|
13 |
+
- Problem type: Text Classification
|
14 |
+
|
15 |
+
## Validation Metrics
|
16 |
+
loss: 0.07113330811262131
|
17 |
+
|
18 |
+
f1: 0.9613928841786525
|
19 |
+
|
20 |
+
precision: 0.959214501510574
|
21 |
+
|
22 |
+
recall: 0.9635811836115327
|
23 |
+
|
24 |
+
auc: 0.9967559049432364
|
25 |
+
|
26 |
+
accuracy: 0.9755747126436781
|
autotrain-data/train/.nfs000000000fb46a240000000e
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b64978351a8c5f84fe9b83a477aa5ad62a82bf4b7689014e75b05a8e3addb828
|
3 |
+
size 16986920
|
autotrain-data/validation/.nfs000000000fb46a270000000d
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7463d94fbe81bfca3cbec82731ade088e8d6abb8f8d8fc763b1ba2f0a921537a
|
3 |
+
size 1851560
|
checkpoint-294/config.json
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "distilbert/distilbert-base-cased",
|
3 |
+
"_num_labels": 2,
|
4 |
+
"activation": "gelu",
|
5 |
+
"architectures": [
|
6 |
+
"DistilBertForSequenceClassification"
|
7 |
+
],
|
8 |
+
"attention_dropout": 0.1,
|
9 |
+
"dim": 768,
|
10 |
+
"dropout": 0.1,
|
11 |
+
"hidden_dim": 3072,
|
12 |
+
"id2label": {
|
13 |
+
"0": "benign",
|
14 |
+
"1": "jailbreak"
|
15 |
+
},
|
16 |
+
"initializer_range": 0.02,
|
17 |
+
"label2id": {
|
18 |
+
"benign": 0,
|
19 |
+
"jailbreak": 1
|
20 |
+
},
|
21 |
+
"max_position_embeddings": 512,
|
22 |
+
"model_type": "distilbert",
|
23 |
+
"n_heads": 12,
|
24 |
+
"n_layers": 6,
|
25 |
+
"output_past": true,
|
26 |
+
"pad_token_id": 0,
|
27 |
+
"problem_type": "single_label_classification",
|
28 |
+
"qa_dropout": 0.1,
|
29 |
+
"seq_classif_dropout": 0.2,
|
30 |
+
"sinusoidal_pos_embds": false,
|
31 |
+
"tie_weights_": true,
|
32 |
+
"torch_dtype": "float32",
|
33 |
+
"transformers_version": "4.42.2",
|
34 |
+
"vocab_size": 28996
|
35 |
+
}
|
checkpoint-294/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:93128aab09b60a6094daf7aded589ee95207917550887837c233cb8acd3d27b4
|
3 |
+
size 263144680
|
checkpoint-294/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:96e636b14bd27c2e36ae53b9a415911c05ef6c0781a667d286cfe20d1e20de59
|
3 |
+
size 526351546
|
checkpoint-294/rng_state_0.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:860fae5b0b77df903101c92e40a66f559ef9a9a38225d615f6693d4be94145cf
|
3 |
+
size 15024
|
checkpoint-294/rng_state_1.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:534c733ddfbc19fca5ea642dacd21beba7ad8e56018cdf7aefe13420b7376d36
|
3 |
+
size 15024
|
checkpoint-294/rng_state_2.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8e9b7874a1b5b3e961d124da57161a8fc7cf1245d8c795f7c3d2f780fdc680c4
|
3 |
+
size 15024
|
checkpoint-294/rng_state_3.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:41b6bf93caa5f3dc0eeb1951efb77fe59730b962212db87bf596f5d04022ff57
|
3 |
+
size 15024
|
checkpoint-294/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c77f99d26c88fa84acc9b8ba2df190e5ea5655e0dc5b1de288256a22c96d4a8a
|
3 |
+
size 1064
|
checkpoint-294/trainer_state.json
ADDED
@@ -0,0 +1,262 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 2.0,
|
5 |
+
"eval_steps": 25,
|
6 |
+
"global_step": 294,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 0.17006802721088435,
|
13 |
+
"grad_norm": 1.6777013540267944,
|
14 |
+
"learning_rate": 2.0833333333333336e-05,
|
15 |
+
"loss": 0.6393,
|
16 |
+
"step": 25
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.17006802721088435,
|
20 |
+
"eval_accuracy": 0.8759578544061303,
|
21 |
+
"eval_auc": 0.9551645887113986,
|
22 |
+
"eval_f1": 0.7757575757575758,
|
23 |
+
"eval_loss": 0.4472915232181549,
|
24 |
+
"eval_precision": 0.9032258064516129,
|
25 |
+
"eval_recall": 0.6798179059180577,
|
26 |
+
"eval_runtime": 3.1514,
|
27 |
+
"eval_samples_per_second": 662.564,
|
28 |
+
"eval_steps_per_second": 2.856,
|
29 |
+
"step": 25
|
30 |
+
},
|
31 |
+
{
|
32 |
+
"epoch": 0.3401360544217687,
|
33 |
+
"grad_norm": 1.745863676071167,
|
34 |
+
"learning_rate": 2.464764460404427e-05,
|
35 |
+
"loss": 0.2377,
|
36 |
+
"step": 50
|
37 |
+
},
|
38 |
+
{
|
39 |
+
"epoch": 0.3401360544217687,
|
40 |
+
"eval_accuracy": 0.9439655172413793,
|
41 |
+
"eval_auc": 0.9875004114850522,
|
42 |
+
"eval_f1": 0.9164882226980728,
|
43 |
+
"eval_loss": 0.15234950184822083,
|
44 |
+
"eval_precision": 0.8652291105121294,
|
45 |
+
"eval_recall": 0.9742033383915023,
|
46 |
+
"eval_runtime": 3.1506,
|
47 |
+
"eval_samples_per_second": 662.733,
|
48 |
+
"eval_steps_per_second": 2.857,
|
49 |
+
"step": 50
|
50 |
+
},
|
51 |
+
{
|
52 |
+
"epoch": 0.5102040816326531,
|
53 |
+
"grad_norm": 2.064204454421997,
|
54 |
+
"learning_rate": 2.3250178002596257e-05,
|
55 |
+
"loss": 0.1276,
|
56 |
+
"step": 75
|
57 |
+
},
|
58 |
+
{
|
59 |
+
"epoch": 0.5102040816326531,
|
60 |
+
"eval_accuracy": 0.9640804597701149,
|
61 |
+
"eval_auc": 0.9937093227115326,
|
62 |
+
"eval_f1": 0.9433106575963719,
|
63 |
+
"eval_loss": 0.09969615936279297,
|
64 |
+
"eval_precision": 0.9397590361445783,
|
65 |
+
"eval_recall": 0.9468892261001517,
|
66 |
+
"eval_runtime": 3.1599,
|
67 |
+
"eval_samples_per_second": 660.782,
|
68 |
+
"eval_steps_per_second": 2.848,
|
69 |
+
"step": 75
|
70 |
+
},
|
71 |
+
{
|
72 |
+
"epoch": 0.6802721088435374,
|
73 |
+
"grad_norm": 1.5831186771392822,
|
74 |
+
"learning_rate": 2.090825467126566e-05,
|
75 |
+
"loss": 0.1035,
|
76 |
+
"step": 100
|
77 |
+
},
|
78 |
+
{
|
79 |
+
"epoch": 0.6802721088435374,
|
80 |
+
"eval_accuracy": 0.9664750957854407,
|
81 |
+
"eval_auc": 0.9949464326104294,
|
82 |
+
"eval_f1": 0.9470499243570348,
|
83 |
+
"eval_loss": 0.08703920990228653,
|
84 |
+
"eval_precision": 0.9441930618401206,
|
85 |
+
"eval_recall": 0.9499241274658573,
|
86 |
+
"eval_runtime": 3.1587,
|
87 |
+
"eval_samples_per_second": 661.03,
|
88 |
+
"eval_steps_per_second": 2.849,
|
89 |
+
"step": 100
|
90 |
+
},
|
91 |
+
{
|
92 |
+
"epoch": 0.8503401360544217,
|
93 |
+
"grad_norm": 1.721102237701416,
|
94 |
+
"learning_rate": 1.7827624249789604e-05,
|
95 |
+
"loss": 0.0727,
|
96 |
+
"step": 125
|
97 |
+
},
|
98 |
+
{
|
99 |
+
"epoch": 0.8503401360544217,
|
100 |
+
"eval_accuracy": 0.9669540229885057,
|
101 |
+
"eval_auc": 0.9950313843631433,
|
102 |
+
"eval_f1": 0.9473684210526315,
|
103 |
+
"eval_loss": 0.08850479125976562,
|
104 |
+
"eval_precision": 0.9524539877300614,
|
105 |
+
"eval_recall": 0.9423368740515933,
|
106 |
+
"eval_runtime": 3.1669,
|
107 |
+
"eval_samples_per_second": 659.316,
|
108 |
+
"eval_steps_per_second": 2.842,
|
109 |
+
"step": 125
|
110 |
+
},
|
111 |
+
{
|
112 |
+
"epoch": 1.0204081632653061,
|
113 |
+
"grad_norm": 1.1454665660858154,
|
114 |
+
"learning_rate": 1.4278935478416066e-05,
|
115 |
+
"loss": 0.0885,
|
116 |
+
"step": 150
|
117 |
+
},
|
118 |
+
{
|
119 |
+
"epoch": 1.0204081632653061,
|
120 |
+
"eval_accuracy": 0.9712643678160919,
|
121 |
+
"eval_auc": 0.9956770176837693,
|
122 |
+
"eval_f1": 0.9541984732824428,
|
123 |
+
"eval_loss": 0.08041754364967346,
|
124 |
+
"eval_precision": 0.9600614439324117,
|
125 |
+
"eval_recall": 0.9484066767830045,
|
126 |
+
"eval_runtime": 3.1728,
|
127 |
+
"eval_samples_per_second": 658.102,
|
128 |
+
"eval_steps_per_second": 2.837,
|
129 |
+
"step": 150
|
130 |
+
},
|
131 |
+
{
|
132 |
+
"epoch": 1.1904761904761905,
|
133 |
+
"grad_norm": 0.6928611397743225,
|
134 |
+
"learning_rate": 1.0573958356820683e-05,
|
135 |
+
"loss": 0.0614,
|
136 |
+
"step": 175
|
137 |
+
},
|
138 |
+
{
|
139 |
+
"epoch": 1.1904761904761905,
|
140 |
+
"eval_accuracy": 0.9746168582375478,
|
141 |
+
"eval_auc": 0.9961580569835119,
|
142 |
+
"eval_f1": 0.9594491201224178,
|
143 |
+
"eval_loss": 0.07542683929204941,
|
144 |
+
"eval_precision": 0.9675925925925926,
|
145 |
+
"eval_recall": 0.9514415781487102,
|
146 |
+
"eval_runtime": 3.1686,
|
147 |
+
"eval_samples_per_second": 658.971,
|
148 |
+
"eval_steps_per_second": 2.84,
|
149 |
+
"step": 175
|
150 |
+
},
|
151 |
+
{
|
152 |
+
"epoch": 1.3605442176870748,
|
153 |
+
"grad_norm": 0.8894994854927063,
|
154 |
+
"learning_rate": 7.038193595383008e-06,
|
155 |
+
"loss": 0.0448,
|
156 |
+
"step": 200
|
157 |
+
},
|
158 |
+
{
|
159 |
+
"epoch": 1.3605442176870748,
|
160 |
+
"eval_accuracy": 0.9712643678160919,
|
161 |
+
"eval_auc": 0.9961644283649654,
|
162 |
+
"eval_f1": 0.9541984732824428,
|
163 |
+
"eval_loss": 0.07568268477916718,
|
164 |
+
"eval_precision": 0.9600614439324117,
|
165 |
+
"eval_recall": 0.9484066767830045,
|
166 |
+
"eval_runtime": 3.162,
|
167 |
+
"eval_samples_per_second": 660.342,
|
168 |
+
"eval_steps_per_second": 2.846,
|
169 |
+
"step": 200
|
170 |
+
},
|
171 |
+
{
|
172 |
+
"epoch": 1.5306122448979593,
|
173 |
+
"grad_norm": 0.8013057708740234,
|
174 |
+
"learning_rate": 3.98227575507636e-06,
|
175 |
+
"loss": 0.0547,
|
176 |
+
"step": 225
|
177 |
+
},
|
178 |
+
{
|
179 |
+
"epoch": 1.5306122448979593,
|
180 |
+
"eval_accuracy": 0.9717432950191571,
|
181 |
+
"eval_auc": 0.9963555698085719,
|
182 |
+
"eval_f1": 0.954858454475899,
|
183 |
+
"eval_loss": 0.07406975328922272,
|
184 |
+
"eval_precision": 0.9629629629629629,
|
185 |
+
"eval_recall": 0.9468892261001517,
|
186 |
+
"eval_runtime": 3.1666,
|
187 |
+
"eval_samples_per_second": 659.381,
|
188 |
+
"eval_steps_per_second": 2.842,
|
189 |
+
"step": 225
|
190 |
+
},
|
191 |
+
{
|
192 |
+
"epoch": 1.7006802721088436,
|
193 |
+
"grad_norm": 1.3701196908950806,
|
194 |
+
"learning_rate": 1.6746824526945163e-06,
|
195 |
+
"loss": 0.048,
|
196 |
+
"step": 250
|
197 |
+
},
|
198 |
+
{
|
199 |
+
"epoch": 1.7006802721088436,
|
200 |
+
"eval_accuracy": 0.9746168582375478,
|
201 |
+
"eval_auc": 0.9967229861390597,
|
202 |
+
"eval_f1": 0.9601203912716328,
|
203 |
+
"eval_loss": 0.07189524918794632,
|
204 |
+
"eval_precision": 0.9522388059701492,
|
205 |
+
"eval_recall": 0.9681335356600911,
|
206 |
+
"eval_runtime": 3.1579,
|
207 |
+
"eval_samples_per_second": 661.202,
|
208 |
+
"eval_steps_per_second": 2.85,
|
209 |
+
"step": 250
|
210 |
+
},
|
211 |
+
{
|
212 |
+
"epoch": 1.870748299319728,
|
213 |
+
"grad_norm": 1.6245123147964478,
|
214 |
+
"learning_rate": 3.181472637875868e-07,
|
215 |
+
"loss": 0.0473,
|
216 |
+
"step": 275
|
217 |
+
},
|
218 |
+
{
|
219 |
+
"epoch": 1.870748299319728,
|
220 |
+
"eval_accuracy": 0.975095785440613,
|
221 |
+
"eval_auc": 0.9967537811494185,
|
222 |
+
"eval_f1": 0.9606060606060606,
|
223 |
+
"eval_loss": 0.07112736254930496,
|
224 |
+
"eval_precision": 0.9591527987897126,
|
225 |
+
"eval_recall": 0.9620637329286799,
|
226 |
+
"eval_runtime": 3.1642,
|
227 |
+
"eval_samples_per_second": 659.887,
|
228 |
+
"eval_steps_per_second": 2.844,
|
229 |
+
"step": 275
|
230 |
+
}
|
231 |
+
],
|
232 |
+
"logging_steps": 25,
|
233 |
+
"max_steps": 294,
|
234 |
+
"num_input_tokens_seen": 0,
|
235 |
+
"num_train_epochs": 2,
|
236 |
+
"save_steps": 500,
|
237 |
+
"stateful_callbacks": {
|
238 |
+
"EarlyStoppingCallback": {
|
239 |
+
"args": {
|
240 |
+
"early_stopping_patience": 3,
|
241 |
+
"early_stopping_threshold": 0.01
|
242 |
+
},
|
243 |
+
"attributes": {
|
244 |
+
"early_stopping_patience_counter": 0
|
245 |
+
}
|
246 |
+
},
|
247 |
+
"TrainerControl": {
|
248 |
+
"args": {
|
249 |
+
"should_epoch_stop": false,
|
250 |
+
"should_evaluate": false,
|
251 |
+
"should_log": false,
|
252 |
+
"should_save": true,
|
253 |
+
"should_training_stop": true
|
254 |
+
},
|
255 |
+
"attributes": {}
|
256 |
+
}
|
257 |
+
},
|
258 |
+
"total_flos": 4985013284110336.0,
|
259 |
+
"train_batch_size": 32,
|
260 |
+
"trial_name": null,
|
261 |
+
"trial_params": null
|
262 |
+
}
|
checkpoint-294/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2aa7e6d1f68a79e42ba0d97994f590732e28b8cd3504d1c8f97c88c37579ded7
|
3 |
+
size 5048
|
config.json
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "distilbert/distilbert-base-cased",
|
3 |
+
"_num_labels": 2,
|
4 |
+
"activation": "gelu",
|
5 |
+
"architectures": [
|
6 |
+
"DistilBertForSequenceClassification"
|
7 |
+
],
|
8 |
+
"attention_dropout": 0.1,
|
9 |
+
"dim": 768,
|
10 |
+
"dropout": 0.1,
|
11 |
+
"hidden_dim": 3072,
|
12 |
+
"id2label": {
|
13 |
+
"0": "benign",
|
14 |
+
"1": "jailbreak"
|
15 |
+
},
|
16 |
+
"initializer_range": 0.02,
|
17 |
+
"label2id": {
|
18 |
+
"benign": 0,
|
19 |
+
"jailbreak": 1
|
20 |
+
},
|
21 |
+
"max_position_embeddings": 512,
|
22 |
+
"model_type": "distilbert",
|
23 |
+
"n_heads": 12,
|
24 |
+
"n_layers": 6,
|
25 |
+
"output_past": true,
|
26 |
+
"pad_token_id": 0,
|
27 |
+
"problem_type": "single_label_classification",
|
28 |
+
"qa_dropout": 0.1,
|
29 |
+
"seq_classif_dropout": 0.2,
|
30 |
+
"sinusoidal_pos_embds": false,
|
31 |
+
"tie_weights_": true,
|
32 |
+
"torch_dtype": "float32",
|
33 |
+
"transformers_version": "4.42.2",
|
34 |
+
"vocab_size": 28996
|
35 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:93128aab09b60a6094daf7aded589ee95207917550887837c233cb8acd3d27b4
|
3 |
+
size 263144680
|
runs/Jul22_09-51-33_node-0/events.out.tfevents.1721667098.node-0.52306.0
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:253c41cc35afb4eb087b4b60d823b457d3ad84da754b54f5b57b5e6280ed761a
|
3 |
+
size 13149
|
runs/Jul22_09-51-33_node-0/events.out.tfevents.1721667296.node-0.52306.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a0305b32967e3e34872b8f34ad588be016ca07c418a48120d0aa57093a7b07bc
|
3 |
+
size 607
|
special_tokens_map.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": "[CLS]",
|
3 |
+
"mask_token": "[MASK]",
|
4 |
+
"pad_token": "[PAD]",
|
5 |
+
"sep_token": "[SEP]",
|
6 |
+
"unk_token": "[UNK]"
|
7 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "[PAD]",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"100": {
|
12 |
+
"content": "[UNK]",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"101": {
|
20 |
+
"content": "[CLS]",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"102": {
|
28 |
+
"content": "[SEP]",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"103": {
|
36 |
+
"content": "[MASK]",
|
37 |
+
"lstrip": false,
|
38 |
+
"normalized": false,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": true
|
42 |
+
}
|
43 |
+
},
|
44 |
+
"clean_up_tokenization_spaces": true,
|
45 |
+
"cls_token": "[CLS]",
|
46 |
+
"do_lower_case": false,
|
47 |
+
"mask_token": "[MASK]",
|
48 |
+
"model_max_length": 512,
|
49 |
+
"pad_token": "[PAD]",
|
50 |
+
"sep_token": "[SEP]",
|
51 |
+
"strip_accents": null,
|
52 |
+
"tokenize_chinese_chars": true,
|
53 |
+
"tokenizer_class": "DistilBertTokenizer",
|
54 |
+
"unk_token": "[UNK]"
|
55 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2aa7e6d1f68a79e42ba0d97994f590732e28b8cd3504d1c8f97c88c37579ded7
|
3 |
+
size 5048
|
training_params.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"data_path": "tr9/autotrain-data",
|
3 |
+
"model": "distilbert/distilbert-base-cased",
|
4 |
+
"lr": 2.5e-05,
|
5 |
+
"epochs": 2,
|
6 |
+
"max_seq_length": 512,
|
7 |
+
"batch_size": 32,
|
8 |
+
"warmup_ratio": 0.1,
|
9 |
+
"gradient_accumulation": 1,
|
10 |
+
"optimizer": "adamw_torch",
|
11 |
+
"scheduler": "cosine",
|
12 |
+
"weight_decay": 0.1,
|
13 |
+
"max_grad_norm": 1.0,
|
14 |
+
"seed": 42,
|
15 |
+
"train_split": "train",
|
16 |
+
"valid_split": "validation",
|
17 |
+
"text_column": "autotrain_text",
|
18 |
+
"target_column": "autotrain_label",
|
19 |
+
"logging_steps": 25,
|
20 |
+
"project_name": "tr9",
|
21 |
+
"auto_find_batch_size": true,
|
22 |
+
"mixed_precision": "none",
|
23 |
+
"save_total_limit": 1,
|
24 |
+
"push_to_hub": true,
|
25 |
+
"eval_strategy": "steps",
|
26 |
+
"username": "madhurjindal",
|
27 |
+
"log": "tensorboard",
|
28 |
+
"early_stopping_patience": 3,
|
29 |
+
"early_stopping_threshold": 0.01
|
30 |
+
}
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|