Bencode92 commited on
Commit
6affc35
Β·
1 Parent(s): fd1c9a5

πŸ”„ Incremental label | Acc: 0.739, F1: 0.774

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-25 13:39*
25
- *Dataset: `news_20250725.csv` (125 samples)*
26
 
27
  | Metric | Value |
28
  |--------|-------|
29
- | Loss | 2.0312 |
30
- | Accuracy | 0.6250 |
31
- | F1 Score | 0.6219 |
32
 
33
- | F1 Macro | 0.6219 |
34
 
35
- | Precision | 0.6214 |
36
- | Recall | 0.6250 |
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-25 13:39:35
 
21
 
22
  ## Performance
23
 
24
+ *Last training: 2025-07-25 15:30*
25
+ *Dataset: `news_20250725.csv` (202 samples)*
26
 
27
  | Metric | Value |
28
  |--------|-------|
29
+ | Loss | 1.3044 |
30
+ | Accuracy | 0.7255 |
31
+ | F1 Score | 0.7278 |
32
 
33
+ | F1 Macro | 0.7278 |
34
 
35
+ | Precision | 0.7434 |
36
+ | Recall | 0.7255 |
37
 
38
  ## Training Details
39
 
 
65
  ## Model Card Authors
66
 
67
  - TradePulse ML Team
68
+ - Auto-generated on 2025-07-25 15:30:27
checkpoint-24/trainer_state.json DELETED
@@ -1,71 +0,0 @@
1
- {
2
- "best_metric": 0.6219444444444444,
3
- "best_model_checkpoint": "hf-sentiment-production/checkpoint-24",
4
- "epoch": 1.0,
5
- "eval_steps": 500,
6
- "global_step": 24,
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.4166666666666667,
13
- "grad_norm": 7.967016699694796e-07,
14
- "learning_rate": 4.347826086956522e-06,
15
- "loss": 0.0,
16
- "step": 10
17
- },
18
- {
19
- "epoch": 0.8333333333333334,
20
- "grad_norm": 1.5679427178838523e-06,
21
- "learning_rate": 8.695652173913044e-06,
22
- "loss": 0.0,
23
- "step": 20
24
- },
25
- {
26
- "epoch": 1.0,
27
- "eval_accuracy": 0.625,
28
- "eval_f1": 0.6219444444444444,
29
- "eval_f1_macro": 0.5837037037037036,
30
- "eval_loss": 2.0312016010284424,
31
- "eval_precision": 0.6213942307692308,
32
- "eval_precision_macro": 0.594017094017094,
33
- "eval_recall": 0.625,
34
- "eval_recall_macro": 0.5777777777777778,
35
- "eval_runtime": 17.9062,
36
- "eval_samples_per_second": 1.787,
37
- "eval_steps_per_second": 0.447,
38
- "step": 24
39
- }
40
- ],
41
- "logging_steps": 10,
42
- "max_steps": 48,
43
- "num_input_tokens_seen": 0,
44
- "num_train_epochs": 2,
45
- "save_steps": 500,
46
- "stateful_callbacks": {
47
- "EarlyStoppingCallback": {
48
- "args": {
49
- "early_stopping_patience": 1,
50
- "early_stopping_threshold": 0.0
51
- },
52
- "attributes": {
53
- "early_stopping_patience_counter": 0
54
- }
55
- },
56
- "TrainerControl": {
57
- "args": {
58
- "should_epoch_stop": false,
59
- "should_evaluate": false,
60
- "should_log": false,
61
- "should_save": true,
62
- "should_training_stop": false
63
- },
64
- "attributes": {}
65
- }
66
- },
67
- "total_flos": 24469547848704.0,
68
- "train_batch_size": 4,
69
- "trial_name": null,
70
- "trial_params": null
71
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
{checkpoint-24 β†’ checkpoint-76}/config.json RENAMED
File without changes
{checkpoint-24 β†’ checkpoint-76}/model.safetensors RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4873b3e29870df78e839bbc233f2f6b30f3cc9cb9822b3192648d8e379971ecb
3
  size 439039996
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b2b962a912c25e4f15737aab8b39af42da139f77a7b6a471b5d377fd402a8249
3
  size 439039996
{checkpoint-24 β†’ checkpoint-76}/special_tokens_map.json RENAMED
File without changes
{checkpoint-24 β†’ checkpoint-76}/tokenizer.json RENAMED
File without changes
{checkpoint-24 β†’ checkpoint-76}/tokenizer_config.json RENAMED
File without changes
checkpoint-76/trainer_state.json ADDED
@@ -0,0 +1,121 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.7278238244682277,
3
+ "best_model_checkpoint": "hf-sentiment-production/checkpoint-76",
4
+ "epoch": 2.0,
5
+ "eval_steps": 500,
6
+ "global_step": 76,
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.2631578947368421,
13
+ "grad_norm": 173.46673583984375,
14
+ "learning_rate": 2.702702702702703e-06,
15
+ "loss": 2.9218,
16
+ "step": 10
17
+ },
18
+ {
19
+ "epoch": 0.5263157894736842,
20
+ "grad_norm": 67.6650619506836,
21
+ "learning_rate": 5.405405405405406e-06,
22
+ "loss": 2.5244,
23
+ "step": 20
24
+ },
25
+ {
26
+ "epoch": 0.7894736842105263,
27
+ "grad_norm": 62.29597091674805,
28
+ "learning_rate": 8.108108108108109e-06,
29
+ "loss": 2.2068,
30
+ "step": 30
31
+ },
32
+ {
33
+ "epoch": 1.0,
34
+ "eval_accuracy": 0.6862745098039216,
35
+ "eval_f1": 0.6874022811739074,
36
+ "eval_f1_macro": 0.7115468409586057,
37
+ "eval_loss": 2.3359429836273193,
38
+ "eval_precision": 0.7071207430340557,
39
+ "eval_precision_macro": 0.7571929824561403,
40
+ "eval_recall": 0.6862745098039216,
41
+ "eval_recall_macro": 0.6904761904761904,
42
+ "eval_runtime": 28.4035,
43
+ "eval_samples_per_second": 1.796,
44
+ "eval_steps_per_second": 0.458,
45
+ "step": 38
46
+ },
47
+ {
48
+ "epoch": 1.0526315789473684,
49
+ "grad_norm": 66.59963989257812,
50
+ "learning_rate": 9.230769230769232e-06,
51
+ "loss": 1.8492,
52
+ "step": 40
53
+ },
54
+ {
55
+ "epoch": 1.3157894736842106,
56
+ "grad_norm": 89.50397491455078,
57
+ "learning_rate": 6.666666666666667e-06,
58
+ "loss": 0.8866,
59
+ "step": 50
60
+ },
61
+ {
62
+ "epoch": 1.5789473684210527,
63
+ "grad_norm": 3.379488706588745,
64
+ "learning_rate": 4.102564102564103e-06,
65
+ "loss": 0.6023,
66
+ "step": 60
67
+ },
68
+ {
69
+ "epoch": 1.8421052631578947,
70
+ "grad_norm": 7.242420673370361,
71
+ "learning_rate": 1.5384615384615387e-06,
72
+ "loss": 0.9198,
73
+ "step": 70
74
+ },
75
+ {
76
+ "epoch": 2.0,
77
+ "eval_accuracy": 0.7254901960784313,
78
+ "eval_f1": 0.7278238244682277,
79
+ "eval_f1_macro": 0.7447940416476668,
80
+ "eval_loss": 1.3043822050094604,
81
+ "eval_precision": 0.7433930093776641,
82
+ "eval_precision_macro": 0.78743961352657,
83
+ "eval_recall": 0.7254901960784313,
84
+ "eval_recall_macro": 0.7222222222222222,
85
+ "eval_runtime": 29.0374,
86
+ "eval_samples_per_second": 1.756,
87
+ "eval_steps_per_second": 0.448,
88
+ "step": 76
89
+ }
90
+ ],
91
+ "logging_steps": 10,
92
+ "max_steps": 76,
93
+ "num_input_tokens_seen": 0,
94
+ "num_train_epochs": 2,
95
+ "save_steps": 500,
96
+ "stateful_callbacks": {
97
+ "EarlyStoppingCallback": {
98
+ "args": {
99
+ "early_stopping_patience": 1,
100
+ "early_stopping_threshold": 0.0
101
+ },
102
+ "attributes": {
103
+ "early_stopping_patience_counter": 0
104
+ }
105
+ },
106
+ "TrainerControl": {
107
+ "args": {
108
+ "should_epoch_stop": false,
109
+ "should_evaluate": false,
110
+ "should_log": false,
111
+ "should_save": true,
112
+ "should_training_stop": true
113
+ },
114
+ "attributes": {}
115
+ }
116
+ },
117
+ "total_flos": 79460252153856.0,
118
+ "train_batch_size": 4,
119
+ "trial_name": null,
120
+ "trial_params": null
121
+ }
{checkpoint-24 β†’ checkpoint-76}/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:4873b3e29870df78e839bbc233f2f6b30f3cc9cb9822b3192648d8e379971ecb
3
  size 439039996
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b2b962a912c25e4f15737aab8b39af42da139f77a7b6a471b5d377fd402a8249
3
  size 439039996
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:5b56f22a35bd2e9315d81b7bddb114c56cfe20ba49b9ca9913702947d69ae07c
3
  size 5521
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f491ea7b6fbb853765347a28f10ca6953f6ad0aee61a734426433ac960cbaeb6
3
  size 5521