PushpanjaliM commited on
Commit
72f8b3a
·
verified ·
1 Parent(s): d80e5b4

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ---
3
+ library_name: transformers
4
+ tags:
5
+ - autotrain
6
+ - text-classification
7
+ base_model: google-bert/bert-base-uncased
8
+ widget:
9
+ - text: "I love AutoTrain"
10
+ ---
11
+
12
+ # Model Trained Using AutoTrain
13
+
14
+ - Problem type: Text Classification
15
+
16
+ ## Validation Metrics
17
+ loss: 1.6747721433639526
18
+
19
+ f1_macro: 0.33333333333333337
20
+
21
+ f1_micro: 0.42857142857142855
22
+
23
+ f1_weighted: 0.33333333333333337
24
+
25
+ precision_macro: 0.29761904761904756
26
+
27
+ precision_micro: 0.42857142857142855
28
+
29
+ precision_weighted: 0.29761904761904756
30
+
31
+ recall_macro: 0.42857142857142855
32
+
33
+ recall_micro: 0.42857142857142855
34
+
35
+ recall_weighted: 0.42857142857142855
36
+
37
+ accuracy: 0.42857142857142855
checkpoint-15/config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google-bert/bert-base-uncased",
3
+ "_num_labels": 7,
4
+ "architectures": [
5
+ "BertForSequenceClassification"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.1,
8
+ "classifier_dropout": null,
9
+ "gradient_checkpointing": false,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
+ "id2label": {
14
+ "0": "account_help",
15
+ "1": "cancel_order",
16
+ "2": "greeting",
17
+ "3": "order_status",
18
+ "4": "payments_billing",
19
+ "5": "product_info",
20
+ "6": "return_refund"
21
+ },
22
+ "initializer_range": 0.02,
23
+ "intermediate_size": 3072,
24
+ "label2id": {
25
+ "account_help": 0,
26
+ "cancel_order": 1,
27
+ "greeting": 2,
28
+ "order_status": 3,
29
+ "payments_billing": 4,
30
+ "product_info": 5,
31
+ "return_refund": 6
32
+ },
33
+ "layer_norm_eps": 1e-12,
34
+ "max_position_embeddings": 512,
35
+ "model_type": "bert",
36
+ "num_attention_heads": 12,
37
+ "num_hidden_layers": 12,
38
+ "pad_token_id": 0,
39
+ "position_embedding_type": "absolute",
40
+ "problem_type": "single_label_classification",
41
+ "torch_dtype": "float32",
42
+ "transformers_version": "4.48.0",
43
+ "type_vocab_size": 2,
44
+ "use_cache": true,
45
+ "vocab_size": 30522
46
+ }
checkpoint-15/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c469957c8d6288ec5dd66220452207d5cbd4b3cbf41a995c76b2077256441b60
3
+ size 437974028
checkpoint-15/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a6d019dd4c53ead485bdc5fb3d8b388c763a21efa1e922752ba71de8960e7ffb
3
+ size 876063482
checkpoint-15/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f438a1eb54b25e5fcd4bc1b7d96d7a59276f468a2dedeff10a4f138148df6bb7
3
+ size 13990
checkpoint-15/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2d0facd13ec6092c2b43cce23b0a73463bc00999cd16da7cbf795867dc294419
3
+ size 1064
checkpoint-15/trainer_state.json ADDED
@@ -0,0 +1,201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 1.6747721433639526,
3
+ "best_model_checkpoint": "FineTuneLLM/checkpoint-15",
4
+ "epoch": 3.0,
5
+ "eval_steps": 500,
6
+ "global_step": 15,
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.2,
13
+ "grad_norm": 6.890127658843994,
14
+ "learning_rate": 2.5e-05,
15
+ "loss": 2.1305,
16
+ "step": 1
17
+ },
18
+ {
19
+ "epoch": 0.4,
20
+ "grad_norm": 10.414511680603027,
21
+ "learning_rate": 5e-05,
22
+ "loss": 1.9801,
23
+ "step": 2
24
+ },
25
+ {
26
+ "epoch": 0.6,
27
+ "grad_norm": 5.39543342590332,
28
+ "learning_rate": 4.615384615384616e-05,
29
+ "loss": 1.8724,
30
+ "step": 3
31
+ },
32
+ {
33
+ "epoch": 0.8,
34
+ "grad_norm": 9.067084312438965,
35
+ "learning_rate": 4.230769230769231e-05,
36
+ "loss": 1.9735,
37
+ "step": 4
38
+ },
39
+ {
40
+ "epoch": 1.0,
41
+ "grad_norm": 11.871109962463379,
42
+ "learning_rate": 3.846153846153846e-05,
43
+ "loss": 1.9923,
44
+ "step": 5
45
+ },
46
+ {
47
+ "epoch": 1.0,
48
+ "eval_accuracy": 0.2857142857142857,
49
+ "eval_f1_macro": 0.1761904761904762,
50
+ "eval_f1_micro": 0.2857142857142857,
51
+ "eval_f1_weighted": 0.1761904761904762,
52
+ "eval_loss": 1.8235706090927124,
53
+ "eval_precision_macro": 0.14285714285714285,
54
+ "eval_precision_micro": 0.2857142857142857,
55
+ "eval_precision_weighted": 0.14285714285714285,
56
+ "eval_recall_macro": 0.2857142857142857,
57
+ "eval_recall_micro": 0.2857142857142857,
58
+ "eval_recall_weighted": 0.2857142857142857,
59
+ "eval_runtime": 1.8828,
60
+ "eval_samples_per_second": 7.436,
61
+ "eval_steps_per_second": 0.531,
62
+ "step": 5
63
+ },
64
+ {
65
+ "epoch": 1.2,
66
+ "grad_norm": 6.580744743347168,
67
+ "learning_rate": 3.461538461538462e-05,
68
+ "loss": 1.9068,
69
+ "step": 6
70
+ },
71
+ {
72
+ "epoch": 1.4,
73
+ "grad_norm": 8.550537109375,
74
+ "learning_rate": 3.0769230769230774e-05,
75
+ "loss": 1.8587,
76
+ "step": 7
77
+ },
78
+ {
79
+ "epoch": 1.6,
80
+ "grad_norm": 7.668857574462891,
81
+ "learning_rate": 2.6923076923076923e-05,
82
+ "loss": 1.7187,
83
+ "step": 8
84
+ },
85
+ {
86
+ "epoch": 1.8,
87
+ "grad_norm": 6.790992259979248,
88
+ "learning_rate": 2.307692307692308e-05,
89
+ "loss": 1.7227,
90
+ "step": 9
91
+ },
92
+ {
93
+ "epoch": 2.0,
94
+ "grad_norm": 12.722885131835938,
95
+ "learning_rate": 1.923076923076923e-05,
96
+ "loss": 1.7813,
97
+ "step": 10
98
+ },
99
+ {
100
+ "epoch": 2.0,
101
+ "eval_accuracy": 0.42857142857142855,
102
+ "eval_f1_macro": 0.33492063492063495,
103
+ "eval_f1_micro": 0.42857142857142855,
104
+ "eval_f1_weighted": 0.33492063492063495,
105
+ "eval_loss": 1.709821105003357,
106
+ "eval_precision_macro": 0.30272108843537415,
107
+ "eval_precision_micro": 0.42857142857142855,
108
+ "eval_precision_weighted": 0.30272108843537415,
109
+ "eval_recall_macro": 0.42857142857142855,
110
+ "eval_recall_micro": 0.42857142857142855,
111
+ "eval_recall_weighted": 0.42857142857142855,
112
+ "eval_runtime": 1.3201,
113
+ "eval_samples_per_second": 10.605,
114
+ "eval_steps_per_second": 0.757,
115
+ "step": 10
116
+ },
117
+ {
118
+ "epoch": 2.2,
119
+ "grad_norm": 6.563385009765625,
120
+ "learning_rate": 1.5384615384615387e-05,
121
+ "loss": 1.7001,
122
+ "step": 11
123
+ },
124
+ {
125
+ "epoch": 2.4,
126
+ "grad_norm": 6.786114692687988,
127
+ "learning_rate": 1.153846153846154e-05,
128
+ "loss": 1.8268,
129
+ "step": 12
130
+ },
131
+ {
132
+ "epoch": 2.6,
133
+ "grad_norm": 10.00303840637207,
134
+ "learning_rate": 7.692307692307694e-06,
135
+ "loss": 1.5824,
136
+ "step": 13
137
+ },
138
+ {
139
+ "epoch": 2.8,
140
+ "grad_norm": 6.632320880889893,
141
+ "learning_rate": 3.846153846153847e-06,
142
+ "loss": 1.6911,
143
+ "step": 14
144
+ },
145
+ {
146
+ "epoch": 3.0,
147
+ "grad_norm": 9.150317192077637,
148
+ "learning_rate": 0.0,
149
+ "loss": 1.5648,
150
+ "step": 15
151
+ },
152
+ {
153
+ "epoch": 3.0,
154
+ "eval_accuracy": 0.42857142857142855,
155
+ "eval_f1_macro": 0.33333333333333337,
156
+ "eval_f1_micro": 0.42857142857142855,
157
+ "eval_f1_weighted": 0.33333333333333337,
158
+ "eval_loss": 1.6747721433639526,
159
+ "eval_precision_macro": 0.29761904761904756,
160
+ "eval_precision_micro": 0.42857142857142855,
161
+ "eval_precision_weighted": 0.29761904761904756,
162
+ "eval_recall_macro": 0.42857142857142855,
163
+ "eval_recall_micro": 0.42857142857142855,
164
+ "eval_recall_weighted": 0.42857142857142855,
165
+ "eval_runtime": 1.3795,
166
+ "eval_samples_per_second": 10.149,
167
+ "eval_steps_per_second": 0.725,
168
+ "step": 15
169
+ }
170
+ ],
171
+ "logging_steps": 1,
172
+ "max_steps": 15,
173
+ "num_input_tokens_seen": 0,
174
+ "num_train_epochs": 3,
175
+ "save_steps": 500,
176
+ "stateful_callbacks": {
177
+ "EarlyStoppingCallback": {
178
+ "args": {
179
+ "early_stopping_patience": 5,
180
+ "early_stopping_threshold": 0.01
181
+ },
182
+ "attributes": {
183
+ "early_stopping_patience_counter": 0
184
+ }
185
+ },
186
+ "TrainerControl": {
187
+ "args": {
188
+ "should_epoch_stop": false,
189
+ "should_evaluate": false,
190
+ "should_log": false,
191
+ "should_save": true,
192
+ "should_training_stop": true
193
+ },
194
+ "attributes": {}
195
+ }
196
+ },
197
+ "total_flos": 6906975264000.0,
198
+ "train_batch_size": 8,
199
+ "trial_name": null,
200
+ "trial_params": null
201
+ }
checkpoint-15/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:882c1191a59f5d4f8b643fc4e2a49ccb5a205b2f37925124d2e4c576ea167a13
3
+ size 5368
config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google-bert/bert-base-uncased",
3
+ "_num_labels": 7,
4
+ "architectures": [
5
+ "BertForSequenceClassification"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.1,
8
+ "classifier_dropout": null,
9
+ "gradient_checkpointing": false,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
+ "id2label": {
14
+ "0": "account_help",
15
+ "1": "cancel_order",
16
+ "2": "greeting",
17
+ "3": "order_status",
18
+ "4": "payments_billing",
19
+ "5": "product_info",
20
+ "6": "return_refund"
21
+ },
22
+ "initializer_range": 0.02,
23
+ "intermediate_size": 3072,
24
+ "label2id": {
25
+ "account_help": 0,
26
+ "cancel_order": 1,
27
+ "greeting": 2,
28
+ "order_status": 3,
29
+ "payments_billing": 4,
30
+ "product_info": 5,
31
+ "return_refund": 6
32
+ },
33
+ "layer_norm_eps": 1e-12,
34
+ "max_position_embeddings": 512,
35
+ "model_type": "bert",
36
+ "num_attention_heads": 12,
37
+ "num_hidden_layers": 12,
38
+ "pad_token_id": 0,
39
+ "position_embedding_type": "absolute",
40
+ "problem_type": "single_label_classification",
41
+ "torch_dtype": "float32",
42
+ "transformers_version": "4.48.0",
43
+ "type_vocab_size": 2,
44
+ "use_cache": true,
45
+ "vocab_size": 30522
46
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c469957c8d6288ec5dd66220452207d5cbd4b3cbf41a995c76b2077256441b60
3
+ size 437974028
runs/Dec31_08-07-53_r-pushpanjalim-finetuningllm-productexercise-rvezl54c-5beab2b7j/events.out.tfevents.1767168475.r-pushpanjalim-finetuningllm-productexercise-rvezl54c-5beab2b7j.77.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b329efd74827734fc3ac9c52820c49cb22ac511f68dfdc15116c35cd21260d03
3
- size 5476
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9af3ccdeb89f1ca95400d1c7c9658e8b4f3561d99cbf9f0c5583836404c0217b
3
+ size 11383
runs/Dec31_08-07-53_r-pushpanjalim-finetuningllm-productexercise-rvezl54c-5beab2b7j/events.out.tfevents.1767168539.r-pushpanjalim-finetuningllm-productexercise-rvezl54c-5beab2b7j.77.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e4c2a90ecd605c00cb27be532613f327c4685f6d7c186403377289cdd4a10eab
3
+ size 906
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,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": false,
45
+ "cls_token": "[CLS]",
46
+ "do_lower_case": true,
47
+ "extra_special_tokens": {},
48
+ "mask_token": "[MASK]",
49
+ "model_max_length": 512,
50
+ "pad_token": "[PAD]",
51
+ "sep_token": "[SEP]",
52
+ "strip_accents": null,
53
+ "tokenize_chinese_chars": true,
54
+ "tokenizer_class": "BertTokenizer",
55
+ "unk_token": "[UNK]"
56
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:882c1191a59f5d4f8b643fc4e2a49ccb5a205b2f37925124d2e4c576ea167a13
3
+ size 5368
training_params.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "data_path": "FineTuneLLM/autotrain-data",
3
+ "model": "google-bert/bert-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": "FineTuneLLM",
21
+ "auto_find_batch_size": false,
22
+ "mixed_precision": "none",
23
+ "save_total_limit": 1,
24
+ "push_to_hub": true,
25
+ "eval_strategy": "epoch",
26
+ "username": "PushpanjaliM",
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