ben-yu commited on
Commit
0bf707a
1 Parent(s): 54c2f66

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ---
3
+ tags:
4
+ - autotrain
5
+ - text-classification
6
+ widget:
7
+ - text: "I love AutoTrain"
8
+ ---
9
+
10
+ # Model Trained Using AutoTrain
11
+
12
+ - Problem type: Text Classification
13
+
14
+ ## Validation Metrics
15
+ loss: 0.012014556676149368
16
+
17
+ f1: 0.9978768577494692
18
+
19
+ precision: 0.9957627118644068
20
+
21
+ recall: 1.0
22
+
23
+ auc: 0.9996415974513596
24
+
25
+ accuracy: 0.9969558599695586
checkpoint-329/config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "distilbert/distilbert-base-uncased",
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": "female",
14
+ "1": "male"
15
+ },
16
+ "initializer_range": 0.02,
17
+ "label2id": {
18
+ "female": 0,
19
+ "male": 1
20
+ },
21
+ "max_position_embeddings": 512,
22
+ "model_type": "distilbert",
23
+ "n_heads": 12,
24
+ "n_layers": 6,
25
+ "pad_token_id": 0,
26
+ "problem_type": "single_label_classification",
27
+ "qa_dropout": 0.1,
28
+ "seq_classif_dropout": 0.2,
29
+ "sinusoidal_pos_embds": false,
30
+ "tie_weights_": true,
31
+ "torch_dtype": "float32",
32
+ "transformers_version": "4.41.0",
33
+ "vocab_size": 30522
34
+ }
checkpoint-329/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:874beb5217fb04ac90eb83cf40131232ee46acb4f1c920528d7abb10983a655e
3
+ size 267832560
checkpoint-329/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f36941336fe33680e6b59c80281f93d685cf36ac1c8b53e15c7e523897bb6c80
3
+ size 535727290
checkpoint-329/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ea445753622dc943616c16b795090b2fc7d3bef15cc5fcffd45efab648dcaf40
3
+ size 14244
checkpoint-329/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:21bf76b42ee3649264aee2f54fca7f17a5eb49ba05792595cee3af9177afca13
3
+ size 1064
checkpoint-329/trainer_state.json ADDED
@@ -0,0 +1,195 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.012014556676149368,
3
+ "best_model_checkpoint": "autotrain-pmmxv-0342h/checkpoint-329",
4
+ "epoch": 1.0,
5
+ "eval_steps": 500,
6
+ "global_step": 329,
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.0486322188449848,
13
+ "grad_norm": 1.4125925302505493,
14
+ "learning_rate": 8.080808080808082e-06,
15
+ "loss": 0.6751,
16
+ "step": 16
17
+ },
18
+ {
19
+ "epoch": 0.0972644376899696,
20
+ "grad_norm": 2.151017189025879,
21
+ "learning_rate": 1.6161616161616165e-05,
22
+ "loss": 0.5336,
23
+ "step": 32
24
+ },
25
+ {
26
+ "epoch": 0.1458966565349544,
27
+ "grad_norm": 2.7561874389648438,
28
+ "learning_rate": 2.4242424242424244e-05,
29
+ "loss": 0.4138,
30
+ "step": 48
31
+ },
32
+ {
33
+ "epoch": 0.1945288753799392,
34
+ "grad_norm": 6.935989856719971,
35
+ "learning_rate": 3.232323232323233e-05,
36
+ "loss": 0.1493,
37
+ "step": 64
38
+ },
39
+ {
40
+ "epoch": 0.24316109422492402,
41
+ "grad_norm": 5.60068416595459,
42
+ "learning_rate": 4.0404040404040405e-05,
43
+ "loss": 0.095,
44
+ "step": 80
45
+ },
46
+ {
47
+ "epoch": 0.2917933130699088,
48
+ "grad_norm": 1.5631191730499268,
49
+ "learning_rate": 4.848484848484849e-05,
50
+ "loss": 0.0697,
51
+ "step": 96
52
+ },
53
+ {
54
+ "epoch": 0.3404255319148936,
55
+ "grad_norm": 0.5951395630836487,
56
+ "learning_rate": 4.9324324324324325e-05,
57
+ "loss": 0.0401,
58
+ "step": 112
59
+ },
60
+ {
61
+ "epoch": 0.3890577507598784,
62
+ "grad_norm": 0.04545021429657936,
63
+ "learning_rate": 4.8479729729729735e-05,
64
+ "loss": 0.0506,
65
+ "step": 128
66
+ },
67
+ {
68
+ "epoch": 0.4376899696048632,
69
+ "grad_norm": 0.037650544196367264,
70
+ "learning_rate": 4.757882882882883e-05,
71
+ "loss": 0.0365,
72
+ "step": 144
73
+ },
74
+ {
75
+ "epoch": 0.48632218844984804,
76
+ "grad_norm": 0.023942653089761734,
77
+ "learning_rate": 4.667792792792793e-05,
78
+ "loss": 0.002,
79
+ "step": 160
80
+ },
81
+ {
82
+ "epoch": 0.5349544072948328,
83
+ "grad_norm": 0.024038679897785187,
84
+ "learning_rate": 4.577702702702703e-05,
85
+ "loss": 0.0364,
86
+ "step": 176
87
+ },
88
+ {
89
+ "epoch": 0.5835866261398176,
90
+ "grad_norm": 0.021927503868937492,
91
+ "learning_rate": 4.4876126126126126e-05,
92
+ "loss": 0.0031,
93
+ "step": 192
94
+ },
95
+ {
96
+ "epoch": 0.6322188449848024,
97
+ "grad_norm": 0.07690062373876572,
98
+ "learning_rate": 4.397522522522523e-05,
99
+ "loss": 0.001,
100
+ "step": 208
101
+ },
102
+ {
103
+ "epoch": 0.6808510638297872,
104
+ "grad_norm": 0.02904803678393364,
105
+ "learning_rate": 4.307432432432433e-05,
106
+ "loss": 0.042,
107
+ "step": 224
108
+ },
109
+ {
110
+ "epoch": 0.729483282674772,
111
+ "grad_norm": 0.017681801691651344,
112
+ "learning_rate": 4.222972972972973e-05,
113
+ "loss": 0.0739,
114
+ "step": 240
115
+ },
116
+ {
117
+ "epoch": 0.7781155015197568,
118
+ "grad_norm": 0.01349892932921648,
119
+ "learning_rate": 4.132882882882883e-05,
120
+ "loss": 0.0113,
121
+ "step": 256
122
+ },
123
+ {
124
+ "epoch": 0.8267477203647416,
125
+ "grad_norm": 0.0121884411200881,
126
+ "learning_rate": 4.042792792792793e-05,
127
+ "loss": 0.0009,
128
+ "step": 272
129
+ },
130
+ {
131
+ "epoch": 0.8753799392097265,
132
+ "grad_norm": 0.010667676106095314,
133
+ "learning_rate": 3.952702702702703e-05,
134
+ "loss": 0.037,
135
+ "step": 288
136
+ },
137
+ {
138
+ "epoch": 0.9240121580547113,
139
+ "grad_norm": 0.19501090049743652,
140
+ "learning_rate": 3.862612612612613e-05,
141
+ "loss": 0.0563,
142
+ "step": 304
143
+ },
144
+ {
145
+ "epoch": 0.9726443768996961,
146
+ "grad_norm": 0.009381966665387154,
147
+ "learning_rate": 3.7725225225225225e-05,
148
+ "loss": 0.0077,
149
+ "step": 320
150
+ },
151
+ {
152
+ "epoch": 1.0,
153
+ "eval_accuracy": 0.9969558599695586,
154
+ "eval_auc": 0.9996415974513596,
155
+ "eval_f1": 0.9978768577494692,
156
+ "eval_loss": 0.012014556676149368,
157
+ "eval_precision": 0.9957627118644068,
158
+ "eval_recall": 1.0,
159
+ "eval_runtime": 1.9672,
160
+ "eval_samples_per_second": 333.972,
161
+ "eval_steps_per_second": 21.35,
162
+ "step": 329
163
+ }
164
+ ],
165
+ "logging_steps": 16,
166
+ "max_steps": 987,
167
+ "num_input_tokens_seen": 0,
168
+ "num_train_epochs": 3,
169
+ "save_steps": 500,
170
+ "stateful_callbacks": {
171
+ "EarlyStoppingCallback": {
172
+ "args": {
173
+ "early_stopping_patience": 5,
174
+ "early_stopping_threshold": 0.01
175
+ },
176
+ "attributes": {
177
+ "early_stopping_patience_counter": 0
178
+ }
179
+ },
180
+ "TrainerControl": {
181
+ "args": {
182
+ "should_epoch_stop": false,
183
+ "should_evaluate": false,
184
+ "should_log": false,
185
+ "should_save": true,
186
+ "should_training_stop": false
187
+ },
188
+ "attributes": {}
189
+ }
190
+ },
191
+ "total_flos": 87031080916992.0,
192
+ "train_batch_size": 8,
193
+ "trial_name": null,
194
+ "trial_params": null
195
+ }
checkpoint-329/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f7b0a41b4670524b257a763259424279661e003f6eadc3144551607b386d2da5
3
+ size 5176
config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "distilbert/distilbert-base-uncased",
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": "female",
14
+ "1": "male"
15
+ },
16
+ "initializer_range": 0.02,
17
+ "label2id": {
18
+ "female": 0,
19
+ "male": 1
20
+ },
21
+ "max_position_embeddings": 512,
22
+ "model_type": "distilbert",
23
+ "n_heads": 12,
24
+ "n_layers": 6,
25
+ "pad_token_id": 0,
26
+ "problem_type": "single_label_classification",
27
+ "qa_dropout": 0.1,
28
+ "seq_classif_dropout": 0.2,
29
+ "sinusoidal_pos_embds": false,
30
+ "tie_weights_": true,
31
+ "torch_dtype": "float32",
32
+ "transformers_version": "4.41.0",
33
+ "vocab_size": 30522
34
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:874beb5217fb04ac90eb83cf40131232ee46acb4f1c920528d7abb10983a655e
3
+ size 267832560
runs/May26_07-35-32_r-ben-yu-autotrain-advanced-htbsxre5-85eea-l22x4/events.out.tfevents.1716708933.r-ben-yu-autotrain-advanced-htbsxre5-85eea-l22x4.87.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:cfad7a6cb410f11c53936e0009f03cf080d9fe3be2caa9547007a21005c938fe
3
- size 4876
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dd093dd49b2b519a8154fec87ad4e874d4273ba8921ad848e70c78c9f7d66e80
3
+ size 19630
runs/May26_07-35-32_r-ben-yu-autotrain-advanced-htbsxre5-85eea-l22x4/events.out.tfevents.1716709019.r-ben-yu-autotrain-advanced-htbsxre5-85eea-l22x4.87.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ee33a7fc2362ed094994d7daae375a61ee39de6acabd86c5a75ad0500bcb36b3
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": true,
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:f7b0a41b4670524b257a763259424279661e003f6eadc3144551607b386d2da5
3
+ size 5176
training_params.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "data_path": "autotrain-pmmxv-0342h/autotrain-data",
3
+ "model": "distilbert/distilbert-base-uncased",
4
+ "lr": 5e-05,
5
+ "epochs": 3,
6
+ "max_seq_length": 128,
7
+ "batch_size": 8,
8
+ "warmup_ratio": 0.1,
9
+ "gradient_accumulation": 1,
10
+ "optimizer": "adamw_torch",
11
+ "scheduler": "linear",
12
+ "weight_decay": 0.0,
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": -1,
20
+ "project_name": "autotrain-pmmxv-0342h",
21
+ "auto_find_batch_size": false,
22
+ "mixed_precision": "fp16",
23
+ "save_total_limit": 1,
24
+ "push_to_hub": true,
25
+ "evaluation_strategy": "epoch",
26
+ "username": "ben-yu",
27
+ "log": "tensorboard",
28
+ "early_stopping_patience": 5,
29
+ "early_stopping_threshold": 0.01
30
+ }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff