HanBrar commited on
Commit
5b889b7
·
verified ·
1 Parent(s): 9edfcd7

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ---
3
+ tags:
4
+ - autotrain
5
+ - text-classification
6
+ base_model: mrm8488/distilroberta-finetuned-financial-news-sentiment-analysis
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.5204629898071289
17
+
18
+ f1_macro: 0.8248638325526141
19
+
20
+ f1_micro: 0.8391752577319588
21
+
22
+ f1_weighted: 0.8401728559000128
23
+
24
+ precision_macro: 0.8043237511636941
25
+
26
+ precision_micro: 0.8391752577319588
27
+
28
+ precision_weighted: 0.845019702890122
29
+
30
+ recall_macro: 0.853526208639845
31
+
32
+ recall_micro: 0.8391752577319588
33
+
34
+ recall_weighted: 0.8391752577319588
35
+
36
+ accuracy: 0.8391752577319588
checkpoint-485/config.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "mrm8488/distilroberta-finetuned-financial-news-sentiment-analysis",
3
+ "_num_labels": 3,
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": "neutral",
18
+ "2": "positive"
19
+ },
20
+ "initializer_range": 0.02,
21
+ "intermediate_size": 3072,
22
+ "label2id": {
23
+ "negative": 0,
24
+ "neutral": 1,
25
+ "positive": 2
26
+ },
27
+ "layer_norm_eps": 1e-05,
28
+ "max_position_embeddings": 514,
29
+ "model_type": "roberta",
30
+ "num_attention_heads": 12,
31
+ "num_hidden_layers": 6,
32
+ "pad_token_id": 1,
33
+ "position_embedding_type": "absolute",
34
+ "problem_type": "single_label_classification",
35
+ "torch_dtype": "float32",
36
+ "transformers_version": "4.47.1",
37
+ "type_vocab_size": 1,
38
+ "use_cache": true,
39
+ "vocab_size": 50265
40
+ }
checkpoint-485/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fbf4861a56c7deb82eaf17563753844ae25cfd0ea4ff038a01e3a03ec4011778
3
+ size 328495356
checkpoint-485/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0786ffc87444c3c10d8a7b538b34fddcfd783695228e4195683d8cdaad310603
3
+ size 657050810
checkpoint-485/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:39183f93702ed1ca9e3c7a67a7fd00d750802b48439f6be23f00cd5515a573a5
3
+ size 13990
checkpoint-485/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ad8c192bb869c50d2e7ec66cd9b18efa2d95d0f219297731e336d42a839a8128
3
+ size 1064
checkpoint-485/trainer_state.json ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.5204629898071289,
3
+ "best_model_checkpoint": "autotrain/checkpoint-485",
4
+ "epoch": 1.0,
5
+ "eval_steps": 500,
6
+ "global_step": 485,
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.049484536082474224,
13
+ "grad_norm": 13.852910041809082,
14
+ "learning_rate": 8.21917808219178e-06,
15
+ "loss": 0.9486,
16
+ "step": 24
17
+ },
18
+ {
19
+ "epoch": 0.09896907216494845,
20
+ "grad_norm": 13.40283203125,
21
+ "learning_rate": 1.643835616438356e-05,
22
+ "loss": 0.7154,
23
+ "step": 48
24
+ },
25
+ {
26
+ "epoch": 0.14845360824742268,
27
+ "grad_norm": 24.096817016601562,
28
+ "learning_rate": 2.4657534246575342e-05,
29
+ "loss": 0.4573,
30
+ "step": 72
31
+ },
32
+ {
33
+ "epoch": 0.1979381443298969,
34
+ "grad_norm": 8.489076614379883,
35
+ "learning_rate": 3.287671232876712e-05,
36
+ "loss": 0.6314,
37
+ "step": 96
38
+ },
39
+ {
40
+ "epoch": 0.24742268041237114,
41
+ "grad_norm": 23.408002853393555,
42
+ "learning_rate": 4.1095890410958905e-05,
43
+ "loss": 0.446,
44
+ "step": 120
45
+ },
46
+ {
47
+ "epoch": 0.29690721649484536,
48
+ "grad_norm": 89.99927520751953,
49
+ "learning_rate": 4.9315068493150684e-05,
50
+ "loss": 0.4341,
51
+ "step": 144
52
+ },
53
+ {
54
+ "epoch": 0.3463917525773196,
55
+ "grad_norm": 17.79033851623535,
56
+ "learning_rate": 4.9159663865546216e-05,
57
+ "loss": 0.6628,
58
+ "step": 168
59
+ },
60
+ {
61
+ "epoch": 0.3958762886597938,
62
+ "grad_norm": 21.725704193115234,
63
+ "learning_rate": 4.8242933537051186e-05,
64
+ "loss": 0.6229,
65
+ "step": 192
66
+ },
67
+ {
68
+ "epoch": 0.44536082474226807,
69
+ "grad_norm": 7.025701522827148,
70
+ "learning_rate": 4.732620320855615e-05,
71
+ "loss": 0.3756,
72
+ "step": 216
73
+ },
74
+ {
75
+ "epoch": 0.4948453608247423,
76
+ "grad_norm": 7.281248569488525,
77
+ "learning_rate": 4.6409472880061113e-05,
78
+ "loss": 0.453,
79
+ "step": 240
80
+ },
81
+ {
82
+ "epoch": 0.5443298969072164,
83
+ "grad_norm": 5.907578468322754,
84
+ "learning_rate": 4.5492742551566084e-05,
85
+ "loss": 0.5642,
86
+ "step": 264
87
+ },
88
+ {
89
+ "epoch": 0.5938144329896907,
90
+ "grad_norm": 23.55532455444336,
91
+ "learning_rate": 4.4576012223071054e-05,
92
+ "loss": 0.3995,
93
+ "step": 288
94
+ },
95
+ {
96
+ "epoch": 0.643298969072165,
97
+ "grad_norm": 34.66104507446289,
98
+ "learning_rate": 4.365928189457602e-05,
99
+ "loss": 0.4468,
100
+ "step": 312
101
+ },
102
+ {
103
+ "epoch": 0.6927835051546392,
104
+ "grad_norm": 24.519365310668945,
105
+ "learning_rate": 4.274255156608098e-05,
106
+ "loss": 0.4816,
107
+ "step": 336
108
+ },
109
+ {
110
+ "epoch": 0.7422680412371134,
111
+ "grad_norm": 5.479645729064941,
112
+ "learning_rate": 4.1825821237585944e-05,
113
+ "loss": 0.482,
114
+ "step": 360
115
+ },
116
+ {
117
+ "epoch": 0.7917525773195876,
118
+ "grad_norm": 15.753713607788086,
119
+ "learning_rate": 4.0909090909090915e-05,
120
+ "loss": 0.4679,
121
+ "step": 384
122
+ },
123
+ {
124
+ "epoch": 0.8412371134020619,
125
+ "grad_norm": 16.035234451293945,
126
+ "learning_rate": 3.999236058059588e-05,
127
+ "loss": 0.469,
128
+ "step": 408
129
+ },
130
+ {
131
+ "epoch": 0.8907216494845361,
132
+ "grad_norm": 13.605697631835938,
133
+ "learning_rate": 3.907563025210084e-05,
134
+ "loss": 0.3936,
135
+ "step": 432
136
+ },
137
+ {
138
+ "epoch": 0.9402061855670103,
139
+ "grad_norm": 5.289237976074219,
140
+ "learning_rate": 3.8158899923605805e-05,
141
+ "loss": 0.4539,
142
+ "step": 456
143
+ },
144
+ {
145
+ "epoch": 0.9896907216494846,
146
+ "grad_norm": 6.887050151824951,
147
+ "learning_rate": 3.724216959511077e-05,
148
+ "loss": 0.4396,
149
+ "step": 480
150
+ },
151
+ {
152
+ "epoch": 1.0,
153
+ "eval_accuracy": 0.8391752577319588,
154
+ "eval_f1_macro": 0.8248638325526141,
155
+ "eval_f1_micro": 0.8391752577319588,
156
+ "eval_f1_weighted": 0.8401728559000128,
157
+ "eval_loss": 0.5204629898071289,
158
+ "eval_precision_macro": 0.8043237511636941,
159
+ "eval_precision_micro": 0.8391752577319588,
160
+ "eval_precision_weighted": 0.845019702890122,
161
+ "eval_recall_macro": 0.853526208639845,
162
+ "eval_recall_micro": 0.8391752577319588,
163
+ "eval_recall_weighted": 0.8391752577319588,
164
+ "eval_runtime": 97.441,
165
+ "eval_samples_per_second": 9.955,
166
+ "eval_steps_per_second": 0.626,
167
+ "step": 485
168
+ }
169
+ ],
170
+ "logging_steps": 24,
171
+ "max_steps": 1455,
172
+ "num_input_tokens_seen": 0,
173
+ "num_train_epochs": 3,
174
+ "save_steps": 500,
175
+ "stateful_callbacks": {
176
+ "EarlyStoppingCallback": {
177
+ "args": {
178
+ "early_stopping_patience": 5,
179
+ "early_stopping_threshold": 0.01
180
+ },
181
+ "attributes": {
182
+ "early_stopping_patience_counter": 0
183
+ }
184
+ },
185
+ "TrainerControl": {
186
+ "args": {
187
+ "should_epoch_stop": false,
188
+ "should_evaluate": false,
189
+ "should_log": false,
190
+ "should_save": true,
191
+ "should_training_stop": false
192
+ },
193
+ "attributes": {}
194
+ }
195
+ },
196
+ "total_flos": 128363198432256.0,
197
+ "train_batch_size": 8,
198
+ "trial_name": null,
199
+ "trial_params": null
200
+ }
checkpoint-485/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5cd8150c9de6e0e6d11b0b984a14ec582d14809e1a6a4e5445d764f4cf52dc88
3
+ size 5368
config.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "mrm8488/distilroberta-finetuned-financial-news-sentiment-analysis",
3
+ "_num_labels": 3,
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": "neutral",
18
+ "2": "positive"
19
+ },
20
+ "initializer_range": 0.02,
21
+ "intermediate_size": 3072,
22
+ "label2id": {
23
+ "negative": 0,
24
+ "neutral": 1,
25
+ "positive": 2
26
+ },
27
+ "layer_norm_eps": 1e-05,
28
+ "max_position_embeddings": 514,
29
+ "model_type": "roberta",
30
+ "num_attention_heads": 12,
31
+ "num_hidden_layers": 6,
32
+ "pad_token_id": 1,
33
+ "position_embedding_type": "absolute",
34
+ "problem_type": "single_label_classification",
35
+ "torch_dtype": "float32",
36
+ "transformers_version": "4.47.1",
37
+ "type_vocab_size": 1,
38
+ "use_cache": true,
39
+ "vocab_size": 50265
40
+ }
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:fbf4861a56c7deb82eaf17563753844ae25cfd0ea4ff038a01e3a03ec4011778
3
+ size 328495356
runs/Jan11_03-48-48_r-hanbrar-financial-bot2-70wmgxe8-4e0bf-pb72t/events.out.tfevents.1736567329.r-hanbrar-financial-bot2-70wmgxe8-4e0bf-pb72t.142.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e4327ef355130eba33a09dd19c7f188cb30b9ae1c8cbc28fce537b62c161acc6
3
- size 19291
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6d695c23b3e898e24d7e9fbe2c38f1ba5ee6a97f3c764b569ca8b47ba5484b35
3
+ size 20900
runs/Jan11_03-48-48_r-hanbrar-financial-bot2-70wmgxe8-4e0bf-pb72t/events.out.tfevents.1736572840.r-hanbrar-financial-bot2-70wmgxe8-4e0bf-pb72t.142.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:79f14975caf9e3d5f20eff1ab892944334d41cfc901c74325453325040f87619
3
+ size 921
special_tokens_map.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "cls_token": {
10
+ "content": "<s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "eos_token": {
17
+ "content": "</s>",
18
+ "lstrip": false,
19
+ "normalized": false,
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": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ },
37
+ "sep_token": {
38
+ "content": "</s>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false
43
+ },
44
+ "unk_token": {
45
+ "content": "<unk>",
46
+ "lstrip": false,
47
+ "normalized": false,
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,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "0": {
5
+ "content": "<s>",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "1": {
13
+ "content": "<pad>",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "2": {
21
+ "content": "</s>",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "3": {
29
+ "content": "<unk>",
30
+ "lstrip": false,
31
+ "normalized": false,
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": false,
47
+ "cls_token": "<s>",
48
+ "eos_token": "</s>",
49
+ "errors": "replace",
50
+ "extra_special_tokens": {},
51
+ "mask_token": "<mask>",
52
+ "max_length": 512,
53
+ "model_max_length": 512,
54
+ "pad_token": "<pad>",
55
+ "sep_token": "</s>",
56
+ "stride": 0,
57
+ "tokenizer_class": "RobertaTokenizer",
58
+ "trim_offsets": true,
59
+ "truncation_side": "right",
60
+ "truncation_strategy": "longest_first",
61
+ "unk_token": "<unk>"
62
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5cd8150c9de6e0e6d11b0b984a14ec582d14809e1a6a4e5445d764f4cf52dc88
3
+ size 5368
training_params.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "data_path": "autotrain/autotrain-data",
3
+ "model": "mrm8488/distilroberta-finetuned-financial-news-sentiment-analysis",
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",
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": "HanBrar",
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