Bencode92 commited on
Commit
6a87ec8
·
1 Parent(s): 508df80

🔄 Incremental label | Acc: 0.845, F1: 0.836

Browse files
README.md CHANGED
@@ -21,19 +21,19 @@ Fine-tuned FinBERT model for financial sentiment analysis in TradePulse.
21
 
22
  ## Performance
23
 
24
- *Last training: 2025-07-29 09:27*
25
- *Dataset: `news_20250729.csv` (53 samples)*
26
 
27
  | Metric | Value |
28
  |--------|-------|
29
- | Loss | 2.1347 |
30
- | Accuracy | 0.5714 |
31
- | F1 Score | 0.5536 |
32
 
33
- | F1 Macro | 0.5536 |
34
 
35
- | Precision | 0.6429 |
36
- | Recall | 0.5714 |
37
 
38
  ## Training Details
39
 
@@ -65,4 +65,4 @@ predictions = outputs.logits.softmax(dim=-1)
65
  ## Model Card Authors
66
 
67
  - TradePulse ML Team
68
- - Auto-generated on 2025-07-29 09:27:33
 
21
 
22
  ## Performance
23
 
24
+ *Last training: 2025-07-29 12:46*
25
+ *Dataset: `base_reference.csv` (637 samples)*
26
 
27
  | Metric | Value |
28
  |--------|-------|
29
+ | Loss | 0.9526 |
30
+ | Accuracy | 0.8250 |
31
+ | F1 Score | 0.8217 |
32
 
33
+ | F1 Macro | 0.8217 |
34
 
35
+ | Precision | 0.8277 |
36
+ | Recall | 0.8250 |
37
 
38
  ## Training Details
39
 
 
65
  ## Model Card Authors
66
 
67
  - TradePulse ML Team
68
+ - Auto-generated on 2025-07-29 12:46:43
checkpoint-10/trainer_state.json DELETED
@@ -1,64 +0,0 @@
1
- {
2
- "best_metric": 0.5535714285714286,
3
- "best_model_checkpoint": "hf-sentiment-production/checkpoint-10",
4
- "epoch": 1.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": 1.0,
13
- "grad_norm": 116.80064392089844,
14
- "learning_rate": 9.090909090909091e-06,
15
- "loss": 2.1666,
16
- "step": 10
17
- },
18
- {
19
- "epoch": 1.0,
20
- "eval_accuracy": 0.5714285714285714,
21
- "eval_f1": 0.5535714285714286,
22
- "eval_f1_macro": 0.5787037037037037,
23
- "eval_loss": 2.1347310543060303,
24
- "eval_precision": 0.6428571428571429,
25
- "eval_precision_macro": 0.7222222222222222,
26
- "eval_recall": 0.5714285714285714,
27
- "eval_recall_macro": 0.5555555555555555,
28
- "eval_runtime": 7.7629,
29
- "eval_samples_per_second": 1.803,
30
- "eval_steps_per_second": 0.515,
31
- "step": 10
32
- }
33
- ],
34
- "logging_steps": 10,
35
- "max_steps": 20,
36
- "num_input_tokens_seen": 0,
37
- "num_train_epochs": 2,
38
- "save_steps": 500,
39
- "stateful_callbacks": {
40
- "EarlyStoppingCallback": {
41
- "args": {
42
- "early_stopping_patience": 1,
43
- "early_stopping_threshold": 0.0
44
- },
45
- "attributes": {
46
- "early_stopping_patience_counter": 0
47
- }
48
- },
49
- "TrainerControl": {
50
- "args": {
51
- "should_epoch_stop": false,
52
- "should_evaluate": false,
53
- "should_log": false,
54
- "should_save": true,
55
- "should_training_stop": false
56
- },
57
- "attributes": {}
58
- }
59
- },
60
- "total_flos": 10261423291392.0,
61
- "train_batch_size": 4,
62
- "trial_name": null,
63
- "trial_params": null
64
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
{checkpoint-10 → checkpoint-240}/config.json RENAMED
File without changes
{checkpoint-10 → checkpoint-240}/model.safetensors RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:762e4b5f3de0d6932bc387b2ca47fab34971ea86f950d431db351f7d5269f6ba
3
  size 439039996
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f2b8d9dbc3c718fdf0698f3013f7f79c7162a22a441338d87fa34509632536c6
3
  size 439039996
{checkpoint-10 → checkpoint-240}/special_tokens_map.json RENAMED
File without changes
{checkpoint-10 → checkpoint-240}/tokenizer.json RENAMED
File without changes
{checkpoint-10 → checkpoint-240}/tokenizer_config.json RENAMED
File without changes
checkpoint-240/trainer_state.json ADDED
@@ -0,0 +1,240 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.8217223565907776,
3
+ "best_model_checkpoint": "hf-sentiment-production/checkpoint-240",
4
+ "epoch": 2.0,
5
+ "eval_steps": 500,
6
+ "global_step": 240,
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.08333333333333333,
13
+ "grad_norm": 32.42210006713867,
14
+ "learning_rate": 8.403361344537816e-07,
15
+ "loss": 0.5341,
16
+ "step": 10
17
+ },
18
+ {
19
+ "epoch": 0.16666666666666666,
20
+ "grad_norm": 32.30667495727539,
21
+ "learning_rate": 1.6806722689075632e-06,
22
+ "loss": 0.2982,
23
+ "step": 20
24
+ },
25
+ {
26
+ "epoch": 0.25,
27
+ "grad_norm": 65.03559112548828,
28
+ "learning_rate": 2.521008403361345e-06,
29
+ "loss": 0.4933,
30
+ "step": 30
31
+ },
32
+ {
33
+ "epoch": 0.3333333333333333,
34
+ "grad_norm": 11.74012565612793,
35
+ "learning_rate": 3.3613445378151265e-06,
36
+ "loss": 0.3533,
37
+ "step": 40
38
+ },
39
+ {
40
+ "epoch": 0.4166666666666667,
41
+ "grad_norm": 88.07356262207031,
42
+ "learning_rate": 4.201680672268908e-06,
43
+ "loss": 0.9541,
44
+ "step": 50
45
+ },
46
+ {
47
+ "epoch": 0.5,
48
+ "grad_norm": 56.444908142089844,
49
+ "learning_rate": 5.04201680672269e-06,
50
+ "loss": 0.857,
51
+ "step": 60
52
+ },
53
+ {
54
+ "epoch": 0.5833333333333334,
55
+ "grad_norm": 7.758561611175537,
56
+ "learning_rate": 5.882352941176471e-06,
57
+ "loss": 0.8653,
58
+ "step": 70
59
+ },
60
+ {
61
+ "epoch": 0.6666666666666666,
62
+ "grad_norm": 2.285611629486084,
63
+ "learning_rate": 6.722689075630253e-06,
64
+ "loss": 1.3253,
65
+ "step": 80
66
+ },
67
+ {
68
+ "epoch": 0.75,
69
+ "grad_norm": 51.23533630371094,
70
+ "learning_rate": 7.563025210084034e-06,
71
+ "loss": 0.6127,
72
+ "step": 90
73
+ },
74
+ {
75
+ "epoch": 0.8333333333333334,
76
+ "grad_norm": 79.65983581542969,
77
+ "learning_rate": 8.403361344537815e-06,
78
+ "loss": 0.6925,
79
+ "step": 100
80
+ },
81
+ {
82
+ "epoch": 0.9166666666666666,
83
+ "grad_norm": 98.18861389160156,
84
+ "learning_rate": 9.243697478991598e-06,
85
+ "loss": 0.7733,
86
+ "step": 110
87
+ },
88
+ {
89
+ "epoch": 1.0,
90
+ "grad_norm": 0.007537131663411856,
91
+ "learning_rate": 9.917355371900828e-06,
92
+ "loss": 0.3243,
93
+ "step": 120
94
+ },
95
+ {
96
+ "epoch": 1.0,
97
+ "eval_accuracy": 0.81875,
98
+ "eval_f1": 0.8149920382165605,
99
+ "eval_f1_macro": 0.8011677282377919,
100
+ "eval_loss": 0.8371865153312683,
101
+ "eval_precision": 0.8279807278208441,
102
+ "eval_precision_macro": 0.8436405397645709,
103
+ "eval_recall": 0.81875,
104
+ "eval_recall_macro": 0.7802058251146221,
105
+ "eval_runtime": 88.4094,
106
+ "eval_samples_per_second": 1.81,
107
+ "eval_steps_per_second": 0.452,
108
+ "step": 120
109
+ },
110
+ {
111
+ "epoch": 1.0833333333333333,
112
+ "grad_norm": 77.50802612304688,
113
+ "learning_rate": 9.090909090909091e-06,
114
+ "loss": 0.4296,
115
+ "step": 130
116
+ },
117
+ {
118
+ "epoch": 1.1666666666666667,
119
+ "grad_norm": 15.326767921447754,
120
+ "learning_rate": 8.264462809917356e-06,
121
+ "loss": 0.1833,
122
+ "step": 140
123
+ },
124
+ {
125
+ "epoch": 1.25,
126
+ "grad_norm": 91.35188293457031,
127
+ "learning_rate": 7.43801652892562e-06,
128
+ "loss": 0.3804,
129
+ "step": 150
130
+ },
131
+ {
132
+ "epoch": 1.3333333333333333,
133
+ "grad_norm": 88.58149719238281,
134
+ "learning_rate": 6.611570247933885e-06,
135
+ "loss": 0.5602,
136
+ "step": 160
137
+ },
138
+ {
139
+ "epoch": 1.4166666666666667,
140
+ "grad_norm": 44.488040924072266,
141
+ "learning_rate": 5.785123966942149e-06,
142
+ "loss": 0.1753,
143
+ "step": 170
144
+ },
145
+ {
146
+ "epoch": 1.5,
147
+ "grad_norm": 71.1673583984375,
148
+ "learning_rate": 4.958677685950414e-06,
149
+ "loss": 0.2846,
150
+ "step": 180
151
+ },
152
+ {
153
+ "epoch": 1.5833333333333335,
154
+ "grad_norm": 68.90252685546875,
155
+ "learning_rate": 4.132231404958678e-06,
156
+ "loss": 0.3893,
157
+ "step": 190
158
+ },
159
+ {
160
+ "epoch": 1.6666666666666665,
161
+ "grad_norm": 9.828429222106934,
162
+ "learning_rate": 3.3057851239669424e-06,
163
+ "loss": 0.2814,
164
+ "step": 200
165
+ },
166
+ {
167
+ "epoch": 1.75,
168
+ "grad_norm": 29.61725616455078,
169
+ "learning_rate": 2.479338842975207e-06,
170
+ "loss": 0.3129,
171
+ "step": 210
172
+ },
173
+ {
174
+ "epoch": 1.8333333333333335,
175
+ "grad_norm": 108.5630111694336,
176
+ "learning_rate": 1.6528925619834712e-06,
177
+ "loss": 0.3268,
178
+ "step": 220
179
+ },
180
+ {
181
+ "epoch": 1.9166666666666665,
182
+ "grad_norm": 21.261966705322266,
183
+ "learning_rate": 8.264462809917356e-07,
184
+ "loss": 0.8541,
185
+ "step": 230
186
+ },
187
+ {
188
+ "epoch": 2.0,
189
+ "grad_norm": 0.0011018794029951096,
190
+ "learning_rate": 0.0,
191
+ "loss": 0.8383,
192
+ "step": 240
193
+ },
194
+ {
195
+ "epoch": 2.0,
196
+ "eval_accuracy": 0.825,
197
+ "eval_f1": 0.8217223565907776,
198
+ "eval_f1_macro": 0.8096114411903885,
199
+ "eval_loss": 0.9526222348213196,
200
+ "eval_precision": 0.8277439948473138,
201
+ "eval_precision_macro": 0.8298729509231896,
202
+ "eval_recall": 0.825,
203
+ "eval_recall_macro": 0.798550868049829,
204
+ "eval_runtime": 88.1644,
205
+ "eval_samples_per_second": 1.815,
206
+ "eval_steps_per_second": 0.454,
207
+ "step": 240
208
+ }
209
+ ],
210
+ "logging_steps": 10,
211
+ "max_steps": 240,
212
+ "num_input_tokens_seen": 0,
213
+ "num_train_epochs": 2,
214
+ "save_steps": 500,
215
+ "stateful_callbacks": {
216
+ "EarlyStoppingCallback": {
217
+ "args": {
218
+ "early_stopping_patience": 1,
219
+ "early_stopping_threshold": 0.0
220
+ },
221
+ "attributes": {
222
+ "early_stopping_patience_counter": 0
223
+ }
224
+ },
225
+ "TrainerControl": {
226
+ "args": {
227
+ "should_epoch_stop": false,
228
+ "should_evaluate": false,
229
+ "should_log": false,
230
+ "should_save": true,
231
+ "should_training_stop": true
232
+ },
233
+ "attributes": {}
234
+ }
235
+ },
236
+ "total_flos": 251010200512512.0,
237
+ "train_batch_size": 4,
238
+ "trial_name": null,
239
+ "trial_params": null
240
+ }
{checkpoint-10 → checkpoint-240}/vocab.txt RENAMED
File without changes
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:762e4b5f3de0d6932bc387b2ca47fab34971ea86f950d431db351f7d5269f6ba
3
  size 439039996
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f2b8d9dbc3c718fdf0698f3013f7f79c7162a22a441338d87fa34509632536c6
3
  size 439039996
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6b8f159013fb904e2f36d2e95adb0ed11cf2cbd3e2b66c3ee3ec1d0c1082226e
3
  size 5521
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:76b8cf3932f11a5314ed3d8475b3e07f076b574cf6ed23ea9ee7b8a1833b39a3
3
  size 5521