rawani123 commited on
Commit
88f0878
1 Parent(s): 13ffcb2

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ---
3
+ tags:
4
+ - autotrain
5
+ - text-classification
6
+ base_model: cardiffnlp/twitter-roberta-base-sentiment-latest
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.02143952250480652
17
+
18
+ f1: 1.0
19
+
20
+ precision: 1.0
21
+
22
+ recall: 1.0
23
+
24
+ auc: 1.0
25
+
26
+ accuracy: 1.0
checkpoint-10/config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "cardiffnlp/twitter-roberta-base-sentiment-latest",
3
+ "_num_labels": 2,
4
+ "architectures": [
5
+ "RobertaForSequenceClassification"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.1,
8
+ "bos_token_id": 0,
9
+ "classifier_dropout": null,
10
+ "eos_token_id": 2,
11
+ "gradient_checkpointing": false,
12
+ "hidden_act": "gelu",
13
+ "hidden_dropout_prob": 0.1,
14
+ "hidden_size": 768,
15
+ "id2label": {
16
+ "0": "Negative",
17
+ "1": "Positive"
18
+ },
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 3072,
21
+ "label2id": {
22
+ "Negative": 0,
23
+ "Positive": 1
24
+ },
25
+ "layer_norm_eps": 1e-05,
26
+ "max_position_embeddings": 514,
27
+ "model_type": "roberta",
28
+ "num_attention_heads": 12,
29
+ "num_hidden_layers": 12,
30
+ "pad_token_id": 1,
31
+ "position_embedding_type": "absolute",
32
+ "problem_type": "single_label_classification",
33
+ "torch_dtype": "float32",
34
+ "transformers_version": "4.45.0",
35
+ "type_vocab_size": 1,
36
+ "use_cache": true,
37
+ "vocab_size": 50265
38
+ }
checkpoint-10/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bf5ef04aa606faa15bfd5b8dd19d5e9ecfe24c114a5c6a05e362042915e746d8
3
+ size 498612824
checkpoint-10/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fe0db1a7dd1e0833758351fc98951c287521e7c6cea3625e2f9624ff29981b0a
3
+ size 997339898
checkpoint-10/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ef3ea81146a541f2364eef30013a8e1a686f1244e89626392c9ca005c64a85b0
3
+ size 13990
checkpoint-10/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0fcbd984600c98bdcc78383a5987627eb4a3d08762dc110427741c7205bf80bb
3
+ size 1064
checkpoint-10/trainer_state.json ADDED
@@ -0,0 +1,177 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.02143952250480652,
3
+ "best_model_checkpoint": "autotrain-lr1y2-upf18/checkpoint-10",
4
+ "epoch": 5.0,
5
+ "eval_steps": 500,
6
+ "global_step": 10,
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.5,
13
+ "grad_norm": 9.743551254272461,
14
+ "learning_rate": 5e-05,
15
+ "loss": 0.7475,
16
+ "step": 1
17
+ },
18
+ {
19
+ "epoch": 1.0,
20
+ "grad_norm": 8.557718276977539,
21
+ "learning_rate": 4.4444444444444447e-05,
22
+ "loss": 0.6613,
23
+ "step": 2
24
+ },
25
+ {
26
+ "epoch": 1.0,
27
+ "eval_accuracy": 1.0,
28
+ "eval_auc": 1.0,
29
+ "eval_f1": 1.0,
30
+ "eval_loss": 0.31733882427215576,
31
+ "eval_precision": 1.0,
32
+ "eval_recall": 1.0,
33
+ "eval_runtime": 0.7944,
34
+ "eval_samples_per_second": 5.035,
35
+ "eval_steps_per_second": 1.259,
36
+ "step": 2
37
+ },
38
+ {
39
+ "epoch": 1.5,
40
+ "grad_norm": 5.864255428314209,
41
+ "learning_rate": 3.888888888888889e-05,
42
+ "loss": 0.3906,
43
+ "step": 3
44
+ },
45
+ {
46
+ "epoch": 2.0,
47
+ "grad_norm": 5.040473937988281,
48
+ "learning_rate": 3.3333333333333335e-05,
49
+ "loss": 0.2288,
50
+ "step": 4
51
+ },
52
+ {
53
+ "epoch": 2.0,
54
+ "eval_accuracy": 1.0,
55
+ "eval_auc": 1.0,
56
+ "eval_f1": 1.0,
57
+ "eval_loss": 0.10309673100709915,
58
+ "eval_precision": 1.0,
59
+ "eval_recall": 1.0,
60
+ "eval_runtime": 0.875,
61
+ "eval_samples_per_second": 4.572,
62
+ "eval_steps_per_second": 1.143,
63
+ "step": 4
64
+ },
65
+ {
66
+ "epoch": 2.5,
67
+ "grad_norm": 2.2815959453582764,
68
+ "learning_rate": 2.777777777777778e-05,
69
+ "loss": 0.1414,
70
+ "step": 5
71
+ },
72
+ {
73
+ "epoch": 3.0,
74
+ "grad_norm": 1.7566968202590942,
75
+ "learning_rate": 2.2222222222222223e-05,
76
+ "loss": 0.0916,
77
+ "step": 6
78
+ },
79
+ {
80
+ "epoch": 3.0,
81
+ "eval_accuracy": 1.0,
82
+ "eval_auc": 1.0,
83
+ "eval_f1": 1.0,
84
+ "eval_loss": 0.043794408440589905,
85
+ "eval_precision": 1.0,
86
+ "eval_recall": 1.0,
87
+ "eval_runtime": 0.9691,
88
+ "eval_samples_per_second": 4.127,
89
+ "eval_steps_per_second": 1.032,
90
+ "step": 6
91
+ },
92
+ {
93
+ "epoch": 3.5,
94
+ "grad_norm": 1.2300028800964355,
95
+ "learning_rate": 1.6666666666666667e-05,
96
+ "loss": 0.0645,
97
+ "step": 7
98
+ },
99
+ {
100
+ "epoch": 4.0,
101
+ "grad_norm": 0.9242731332778931,
102
+ "learning_rate": 1.1111111111111112e-05,
103
+ "loss": 0.0478,
104
+ "step": 8
105
+ },
106
+ {
107
+ "epoch": 4.0,
108
+ "eval_accuracy": 1.0,
109
+ "eval_auc": 1.0,
110
+ "eval_f1": 1.0,
111
+ "eval_loss": 0.026518918573856354,
112
+ "eval_precision": 1.0,
113
+ "eval_recall": 1.0,
114
+ "eval_runtime": 0.9106,
115
+ "eval_samples_per_second": 4.393,
116
+ "eval_steps_per_second": 1.098,
117
+ "step": 8
118
+ },
119
+ {
120
+ "epoch": 4.5,
121
+ "grad_norm": 0.726085901260376,
122
+ "learning_rate": 5.555555555555556e-06,
123
+ "loss": 0.0379,
124
+ "step": 9
125
+ },
126
+ {
127
+ "epoch": 5.0,
128
+ "grad_norm": 0.7212420701980591,
129
+ "learning_rate": 0.0,
130
+ "loss": 0.035,
131
+ "step": 10
132
+ },
133
+ {
134
+ "epoch": 5.0,
135
+ "eval_accuracy": 1.0,
136
+ "eval_auc": 1.0,
137
+ "eval_f1": 1.0,
138
+ "eval_loss": 0.02143952250480652,
139
+ "eval_precision": 1.0,
140
+ "eval_recall": 1.0,
141
+ "eval_runtime": 0.961,
142
+ "eval_samples_per_second": 4.162,
143
+ "eval_steps_per_second": 1.041,
144
+ "step": 10
145
+ }
146
+ ],
147
+ "logging_steps": 1,
148
+ "max_steps": 10,
149
+ "num_input_tokens_seen": 0,
150
+ "num_train_epochs": 5,
151
+ "save_steps": 500,
152
+ "stateful_callbacks": {
153
+ "EarlyStoppingCallback": {
154
+ "args": {
155
+ "early_stopping_patience": 5,
156
+ "early_stopping_threshold": 0.01
157
+ },
158
+ "attributes": {
159
+ "early_stopping_patience_counter": 1
160
+ }
161
+ },
162
+ "TrainerControl": {
163
+ "args": {
164
+ "should_epoch_stop": false,
165
+ "should_evaluate": false,
166
+ "should_log": false,
167
+ "should_save": true,
168
+ "should_training_stop": true
169
+ },
170
+ "attributes": {}
171
+ }
172
+ },
173
+ "total_flos": 5262221107200.0,
174
+ "train_batch_size": 10,
175
+ "trial_name": null,
176
+ "trial_params": null
177
+ }
checkpoint-10/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:189d346cf00a6a3ee943f9ecf4db2c8f69d1164cc33bd9c542f6c3a7f58ff8ab
3
+ size 5240
config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "cardiffnlp/twitter-roberta-base-sentiment-latest",
3
+ "_num_labels": 2,
4
+ "architectures": [
5
+ "RobertaForSequenceClassification"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.1,
8
+ "bos_token_id": 0,
9
+ "classifier_dropout": null,
10
+ "eos_token_id": 2,
11
+ "gradient_checkpointing": false,
12
+ "hidden_act": "gelu",
13
+ "hidden_dropout_prob": 0.1,
14
+ "hidden_size": 768,
15
+ "id2label": {
16
+ "0": "Negative",
17
+ "1": "Positive"
18
+ },
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 3072,
21
+ "label2id": {
22
+ "Negative": 0,
23
+ "Positive": 1
24
+ },
25
+ "layer_norm_eps": 1e-05,
26
+ "max_position_embeddings": 514,
27
+ "model_type": "roberta",
28
+ "num_attention_heads": 12,
29
+ "num_hidden_layers": 12,
30
+ "pad_token_id": 1,
31
+ "position_embedding_type": "absolute",
32
+ "problem_type": "single_label_classification",
33
+ "torch_dtype": "float32",
34
+ "transformers_version": "4.45.0",
35
+ "type_vocab_size": 1,
36
+ "use_cache": true,
37
+ "vocab_size": 50265
38
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bf5ef04aa606faa15bfd5b8dd19d5e9ecfe24c114a5c6a05e362042915e746d8
3
+ size 498612824
runs/Oct14_13-45-13_r-rawani123-autotrain-model-using-hugging-face-9khu66-53b2d-uay/events.out.tfevents.1728913515.r-rawani123-autotrain-model-using-hugging-face-9khu66-53b2d-uay.103.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b22e3db3800964596fcbe241b4f695dc3d80fb3c79356d8b7dfd87d86c03ee22
3
- size 5248
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8022db86e54ef2137ac21f919acab507ebcb9a58adf1c251c3ef51972a3a20e9
3
+ size 10211
runs/Oct14_13-45-13_r-rawani123-autotrain-model-using-hugging-face-9khu66-53b2d-uay/events.out.tfevents.1728913598.r-rawani123-autotrain-model-using-hugging-face-9khu66-53b2d-uay.103.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ea8198eab30ceab6e592b7167cf42c6d93ec49fac2e2460db030060b9d714110
3
+ size 597
special_tokens_map.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "cls_token": {
10
+ "content": "<s>",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "eos_token": {
17
+ "content": "</s>",
18
+ "lstrip": false,
19
+ "normalized": true,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "mask_token": {
24
+ "content": "<mask>",
25
+ "lstrip": true,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "pad_token": {
31
+ "content": "<pad>",
32
+ "lstrip": false,
33
+ "normalized": true,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ },
37
+ "sep_token": {
38
+ "content": "</s>",
39
+ "lstrip": false,
40
+ "normalized": true,
41
+ "rstrip": false,
42
+ "single_word": false
43
+ },
44
+ "unk_token": {
45
+ "content": "<unk>",
46
+ "lstrip": false,
47
+ "normalized": true,
48
+ "rstrip": false,
49
+ "single_word": false
50
+ }
51
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "0": {
5
+ "content": "<s>",
6
+ "lstrip": false,
7
+ "normalized": true,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "1": {
13
+ "content": "<pad>",
14
+ "lstrip": false,
15
+ "normalized": true,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "2": {
21
+ "content": "</s>",
22
+ "lstrip": false,
23
+ "normalized": true,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "3": {
29
+ "content": "<unk>",
30
+ "lstrip": false,
31
+ "normalized": true,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": true
35
+ },
36
+ "50264": {
37
+ "content": "<mask>",
38
+ "lstrip": true,
39
+ "normalized": false,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": true
43
+ }
44
+ },
45
+ "bos_token": "<s>",
46
+ "clean_up_tokenization_spaces": true,
47
+ "cls_token": "<s>",
48
+ "eos_token": "</s>",
49
+ "errors": "replace",
50
+ "mask_token": "<mask>",
51
+ "model_max_length": 1000000000000000019884624838656,
52
+ "pad_token": "<pad>",
53
+ "sep_token": "</s>",
54
+ "tokenizer_class": "RobertaTokenizer",
55
+ "trim_offsets": true,
56
+ "unk_token": "<unk>"
57
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:189d346cf00a6a3ee943f9ecf4db2c8f69d1164cc33bd9c542f6c3a7f58ff8ab
3
+ size 5240
training_params.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "data_path": "autotrain-lr1y2-upf18/autotrain-data",
3
+ "model": "cardiffnlp/twitter-roberta-base-sentiment-latest",
4
+ "lr": 5e-05,
5
+ "epochs": 5,
6
+ "max_seq_length": 128,
7
+ "batch_size": 10,
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-lr1y2-upf18",
21
+ "auto_find_batch_size": false,
22
+ "mixed_precision": null,
23
+ "save_total_limit": 1,
24
+ "push_to_hub": true,
25
+ "eval_strategy": "epoch",
26
+ "username": "rawani123",
27
+ "log": "tensorboard",
28
+ "early_stopping_patience": 5,
29
+ "early_stopping_threshold": 0.01
30
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff