Bencode92 commited on
Commit
791f663
Β·
1 Parent(s): 2101b59

πŸ”„ Incremental label | Acc: 0.667, F1: 0.615

Browse files
README.md CHANGED
@@ -20,17 +20,17 @@ Fine-tuned FinBERT model for financial sentiment analysis in TradePulse.
20
 
21
  ## Performance
22
 
23
- *Last training: 2025-07-15 15:07*
24
- *Dataset: `news_20250715.csv` (45 samples)*
25
 
26
  | Metric | Value |
27
  |--------|-------|
28
- | Loss | 1.4576 |
29
- | Accuracy | 0.6667 |
30
- | F1 Score | 0.5972 |
31
- | F1 Macro | 0.5972 |
32
- | Precision | 0.6333 |
33
- | Recall | 0.6667 |
34
 
35
  ## Training Details
36
 
@@ -59,4 +59,4 @@ predictions = outputs.logits.softmax(dim=-1)
59
  ## Model Card Authors
60
 
61
  - TradePulse ML Team
62
- - Auto-generated on 2025-07-15 15:07:46
 
20
 
21
  ## Performance
22
 
23
+ *Last training: 2025-07-15 17:37*
24
+ *Dataset: `news_20250715.csv` (216 samples)*
25
 
26
  | Metric | Value |
27
  |--------|-------|
28
+ | Loss | 0.9200 |
29
+ | Accuracy | 0.7222 |
30
+ | F1 Score | 0.6998 |
31
+ | F1 Macro | 0.6998 |
32
+ | Precision | 0.7129 |
33
+ | Recall | 0.7222 |
34
 
35
  ## Training Details
36
 
 
59
  ## Model Card Authors
60
 
61
  - TradePulse ML Team
62
+ - Auto-generated on 2025-07-15 17:37:16
checkpoint-18/trainer_state.json DELETED
@@ -1,79 +0,0 @@
1
- {
2
- "best_metric": 0.5972222222222222,
3
- "best_model_checkpoint": "hf-sentiment-production/checkpoint-18",
4
- "epoch": 2.0,
5
- "eval_steps": 500,
6
- "global_step": 18,
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
- "eval_accuracy": 0.5,
14
- "eval_f1": 0.45584045584045585,
15
- "eval_f1_macro": 0.35327635327635326,
16
- "eval_loss": 1.4192219972610474,
17
- "eval_precision": 0.41904761904761906,
18
- "eval_precision_macro": 0.3238095238095238,
19
- "eval_recall": 0.5,
20
- "eval_recall_macro": 0.38888888888888884,
21
- "eval_runtime": 6.7313,
22
- "eval_samples_per_second": 1.783,
23
- "eval_steps_per_second": 0.446,
24
- "step": 9
25
- },
26
- {
27
- "epoch": 1.1111111111111112,
28
- "grad_norm": 7.546491622924805,
29
- "learning_rate": 8.000000000000001e-06,
30
- "loss": 1.2856,
31
- "step": 10
32
- },
33
- {
34
- "epoch": 2.0,
35
- "eval_accuracy": 0.6666666666666666,
36
- "eval_f1": 0.5972222222222222,
37
- "eval_f1_macro": 0.47222222222222215,
38
- "eval_loss": 1.4576077461242676,
39
- "eval_precision": 0.6333333333333333,
40
- "eval_precision_macro": 0.5333333333333333,
41
- "eval_recall": 0.6666666666666666,
42
- "eval_recall_macro": 0.5,
43
- "eval_runtime": 6.8029,
44
- "eval_samples_per_second": 1.764,
45
- "eval_steps_per_second": 0.441,
46
- "step": 18
47
- }
48
- ],
49
- "logging_steps": 10,
50
- "max_steps": 18,
51
- "num_input_tokens_seen": 0,
52
- "num_train_epochs": 2,
53
- "save_steps": 500,
54
- "stateful_callbacks": {
55
- "EarlyStoppingCallback": {
56
- "args": {
57
- "early_stopping_patience": 1,
58
- "early_stopping_threshold": 0.0
59
- },
60
- "attributes": {
61
- "early_stopping_patience_counter": 0
62
- }
63
- },
64
- "TrainerControl": {
65
- "args": {
66
- "should_epoch_stop": false,
67
- "should_evaluate": false,
68
- "should_log": false,
69
- "should_save": true,
70
- "should_training_stop": true
71
- },
72
- "attributes": {}
73
- }
74
- },
75
- "total_flos": 17365485570048.0,
76
- "train_batch_size": 4,
77
- "trial_name": null,
78
- "trial_params": null
79
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
{checkpoint-18 β†’ checkpoint-82}/config.json RENAMED
File without changes
{checkpoint-18 β†’ checkpoint-82}/model.safetensors RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:61774b77ab6bd5c073bb54dcf905328d1eb6be8936197401cbacb41ac9a7f62e
3
  size 439039996
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9b40e583218c7b79dc87eb50e070e8954b7fc934643249b22a8b668e41924f9c
3
  size 439039996
{checkpoint-18 β†’ checkpoint-82}/special_tokens_map.json RENAMED
File without changes
{checkpoint-18 β†’ checkpoint-82}/tokenizer.json RENAMED
File without changes
{checkpoint-18 β†’ checkpoint-82}/tokenizer_config.json RENAMED
File without changes
checkpoint-82/trainer_state.json ADDED
@@ -0,0 +1,128 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.6998329156223894,
3
+ "best_model_checkpoint": "hf-sentiment-production/checkpoint-82",
4
+ "epoch": 2.0,
5
+ "eval_steps": 500,
6
+ "global_step": 82,
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.24390243902439024,
13
+ "grad_norm": 83.21106719970703,
14
+ "learning_rate": 2.5e-06,
15
+ "loss": 1.8676,
16
+ "step": 10
17
+ },
18
+ {
19
+ "epoch": 0.4878048780487805,
20
+ "grad_norm": 27.932008743286133,
21
+ "learning_rate": 5e-06,
22
+ "loss": 1.3509,
23
+ "step": 20
24
+ },
25
+ {
26
+ "epoch": 0.7317073170731707,
27
+ "grad_norm": 41.64483642578125,
28
+ "learning_rate": 7.500000000000001e-06,
29
+ "loss": 1.0839,
30
+ "step": 30
31
+ },
32
+ {
33
+ "epoch": 0.975609756097561,
34
+ "grad_norm": 44.70191955566406,
35
+ "learning_rate": 1e-05,
36
+ "loss": 0.893,
37
+ "step": 40
38
+ },
39
+ {
40
+ "epoch": 1.0,
41
+ "eval_accuracy": 0.6481481481481481,
42
+ "eval_f1": 0.6094831673779042,
43
+ "eval_f1_macro": 0.5259364627785681,
44
+ "eval_loss": 1.0318896770477295,
45
+ "eval_precision": 0.6535775809031624,
46
+ "eval_precision_macro": 0.657530454042082,
47
+ "eval_recall": 0.6481481481481481,
48
+ "eval_recall_macro": 0.5030954708374064,
49
+ "eval_runtime": 30.12,
50
+ "eval_samples_per_second": 1.793,
51
+ "eval_steps_per_second": 0.465,
52
+ "step": 41
53
+ },
54
+ {
55
+ "epoch": 1.2195121951219512,
56
+ "grad_norm": 36.04447937011719,
57
+ "learning_rate": 7.61904761904762e-06,
58
+ "loss": 0.8264,
59
+ "step": 50
60
+ },
61
+ {
62
+ "epoch": 1.4634146341463414,
63
+ "grad_norm": 37.31035614013672,
64
+ "learning_rate": 5.2380952380952384e-06,
65
+ "loss": 0.4944,
66
+ "step": 60
67
+ },
68
+ {
69
+ "epoch": 1.7073170731707317,
70
+ "grad_norm": 54.336265563964844,
71
+ "learning_rate": 2.8571428571428573e-06,
72
+ "loss": 0.3878,
73
+ "step": 70
74
+ },
75
+ {
76
+ "epoch": 1.951219512195122,
77
+ "grad_norm": 16.297292709350586,
78
+ "learning_rate": 4.7619047619047623e-07,
79
+ "loss": 0.6911,
80
+ "step": 80
81
+ },
82
+ {
83
+ "epoch": 2.0,
84
+ "eval_accuracy": 0.7222222222222222,
85
+ "eval_f1": 0.6998329156223894,
86
+ "eval_f1_macro": 0.6270676691729323,
87
+ "eval_loss": 0.9199584722518921,
88
+ "eval_precision": 0.7129205670872337,
89
+ "eval_precision_macro": 0.6942918192918194,
90
+ "eval_recall": 0.7222222222222222,
91
+ "eval_recall_macro": 0.6022319973932877,
92
+ "eval_runtime": 30.2098,
93
+ "eval_samples_per_second": 1.787,
94
+ "eval_steps_per_second": 0.463,
95
+ "step": 82
96
+ }
97
+ ],
98
+ "logging_steps": 10,
99
+ "max_steps": 82,
100
+ "num_input_tokens_seen": 0,
101
+ "num_train_epochs": 2,
102
+ "save_steps": 500,
103
+ "stateful_callbacks": {
104
+ "EarlyStoppingCallback": {
105
+ "args": {
106
+ "early_stopping_patience": 1,
107
+ "early_stopping_threshold": 0.0
108
+ },
109
+ "attributes": {
110
+ "early_stopping_patience_counter": 0
111
+ }
112
+ },
113
+ "TrainerControl": {
114
+ "args": {
115
+ "should_epoch_stop": false,
116
+ "should_evaluate": false,
117
+ "should_log": false,
118
+ "should_save": true,
119
+ "should_training_stop": true
120
+ },
121
+ "attributes": {}
122
+ }
123
+ },
124
+ "total_flos": 85248747343872.0,
125
+ "train_batch_size": 4,
126
+ "trial_name": null,
127
+ "trial_params": null
128
+ }
{checkpoint-18 β†’ checkpoint-82}/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:61774b77ab6bd5c073bb54dcf905328d1eb6be8936197401cbacb41ac9a7f62e
3
  size 439039996
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9b40e583218c7b79dc87eb50e070e8954b7fc934643249b22a8b668e41924f9c
3
  size 439039996
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:5252a3dfc5e3189973ccf6c48b2e1c54be4bed8515b663bd1944779b183018fb
3
  size 5521
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f7386f54fd671cc375301617bcffea5243dc81d8430495514350319792344926
3
  size 5521