Bencode92 commited on
Commit
7835c44
Β·
1 Parent(s): c4eca42

πŸ”„ Incremental label | Acc: 0.958, F1: 0.955

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-23 11:08*
24
- *Dataset: `news_20250723.csv` (144 samples)*
25
 
26
  | Metric | Value |
27
  |--------|-------|
28
- | Loss | 0.9366 |
29
- | Accuracy | 0.6389 |
30
- | F1 Score | 0.6202 |
31
- | F1 Macro | 0.6202 |
32
- | Precision | 0.6204 |
33
- | Recall | 0.6389 |
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-23 11:08:20
 
20
 
21
  ## Performance
22
 
23
+ *Last training: 2025-07-24 14:37*
24
+ *Dataset: `news_20250724.csv` (207 samples)*
25
 
26
  | Metric | Value |
27
  |--------|-------|
28
+ | Loss | 0.1299 |
29
+ | Accuracy | 0.9808 |
30
+ | F1 Score | 0.9806 |
31
+ | F1 Macro | 0.9806 |
32
+ | Precision | 0.9816 |
33
+ | Recall | 0.9808 |
34
 
35
  ## Training Details
36
 
 
59
  ## Model Card Authors
60
 
61
  - TradePulse ML Team
62
+ - Auto-generated on 2025-07-24 14:37:47
{checkpoint-54 β†’ checkpoint-39}/config.json RENAMED
File without changes
{checkpoint-54 β†’ checkpoint-39}/model.safetensors RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:290dece3c30dbb9712dd36d74b5f5c7255848f4aeed844a2c8db3073db41a0d7
3
  size 439039996
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8f7174b90a43b2e22324eabf02785e60249bd132fb7e623ce1f23219f97804ff
3
  size 439039996
{checkpoint-54 β†’ checkpoint-39}/special_tokens_map.json RENAMED
File without changes
{checkpoint-54 β†’ checkpoint-39}/tokenizer.json RENAMED
File without changes
{checkpoint-54 β†’ checkpoint-39}/tokenizer_config.json RENAMED
File without changes
{checkpoint-54 β†’ checkpoint-39}/trainer_state.json RENAMED
@@ -1,81 +1,52 @@
1
  {
2
- "best_metric": 0.6201754385964912,
3
- "best_model_checkpoint": "hf-sentiment-production/checkpoint-54",
4
- "epoch": 2.0,
5
  "eval_steps": 500,
6
- "global_step": 54,
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.37037037037037035,
13
- "grad_norm": 38.498687744140625,
14
- "learning_rate": 3.7037037037037037e-06,
15
- "loss": 0.9607,
16
  "step": 10
17
  },
18
  {
19
- "epoch": 0.7407407407407407,
20
- "grad_norm": 22.442626953125,
21
- "learning_rate": 7.4074074074074075e-06,
22
- "loss": 1.1276,
23
  "step": 20
24
  },
25
  {
26
- "epoch": 1.0,
27
- "eval_accuracy": 0.5555555555555556,
28
- "eval_f1": 0.551656314699793,
29
- "eval_f1_macro": 0.5635610766045548,
30
- "eval_loss": 0.8553796410560608,
31
- "eval_precision": 0.5486812570145904,
32
- "eval_precision_macro": 0.5630110630110631,
33
- "eval_recall": 0.5555555555555556,
34
- "eval_recall_macro": 0.5648926237161532,
35
- "eval_runtime": 20.0221,
36
- "eval_samples_per_second": 1.798,
37
- "eval_steps_per_second": 0.45,
38
- "step": 27
39
- },
40
- {
41
- "epoch": 1.1111111111111112,
42
- "grad_norm": 27.929914474487305,
43
- "learning_rate": 8.888888888888888e-06,
44
- "loss": 0.8638,
45
  "step": 30
46
  },
47
  {
48
- "epoch": 1.4814814814814814,
49
- "grad_norm": 20.848979949951172,
50
- "learning_rate": 5.185185185185185e-06,
51
- "loss": 0.5173,
52
- "step": 40
53
- },
54
- {
55
- "epoch": 1.8518518518518519,
56
- "grad_norm": 29.46346664428711,
57
- "learning_rate": 1.4814814814814815e-06,
58
- "loss": 0.7011,
59
- "step": 50
60
- },
61
- {
62
- "epoch": 2.0,
63
- "eval_accuracy": 0.6388888888888888,
64
- "eval_f1": 0.6201754385964912,
65
- "eval_f1_macro": 0.6170426065162907,
66
- "eval_loss": 0.9366019368171692,
67
- "eval_precision": 0.6203703703703703,
68
- "eval_precision_macro": 0.626984126984127,
69
- "eval_recall": 0.6388888888888888,
70
- "eval_recall_macro": 0.6237161531279178,
71
- "eval_runtime": 19.994,
72
- "eval_samples_per_second": 1.801,
73
- "eval_steps_per_second": 0.45,
74
- "step": 54
75
  }
76
  ],
77
  "logging_steps": 10,
78
- "max_steps": 54,
79
  "num_input_tokens_seen": 0,
80
  "num_train_epochs": 2,
81
  "save_steps": 500,
@@ -95,12 +66,12 @@
95
  "should_evaluate": false,
96
  "should_log": false,
97
  "should_save": true,
98
- "should_training_stop": true
99
  },
100
  "attributes": {}
101
  }
102
  },
103
- "total_flos": 56832498229248.0,
104
  "train_batch_size": 4,
105
  "trial_name": null,
106
  "trial_params": null
 
1
  {
2
+ "best_metric": 0.9806422484338846,
3
+ "best_model_checkpoint": "hf-sentiment-production/checkpoint-39",
4
+ "epoch": 1.0,
5
  "eval_steps": 500,
6
+ "global_step": 39,
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.2564102564102564,
13
+ "grad_norm": 32.748779296875,
14
+ "learning_rate": 2.631578947368421e-06,
15
+ "loss": 0.3842,
16
  "step": 10
17
  },
18
  {
19
+ "epoch": 0.5128205128205128,
20
+ "grad_norm": 49.287166595458984,
21
+ "learning_rate": 5.263157894736842e-06,
22
+ "loss": 0.4517,
23
  "step": 20
24
  },
25
  {
26
+ "epoch": 0.7692307692307693,
27
+ "grad_norm": 6.787952899932861,
28
+ "learning_rate": 7.894736842105265e-06,
29
+ "loss": 0.3644,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
30
  "step": 30
31
  },
32
  {
33
+ "epoch": 1.0,
34
+ "eval_accuracy": 0.9807692307692307,
35
+ "eval_f1": 0.9806422484338846,
36
+ "eval_f1_macro": 0.9814135485448765,
37
+ "eval_loss": 0.12986835837364197,
38
+ "eval_precision": 0.9815705128205129,
39
+ "eval_precision_macro": 0.9861111111111112,
40
+ "eval_recall": 0.9807692307692307,
41
+ "eval_recall_macro": 0.9777777777777779,
42
+ "eval_runtime": 28.8477,
43
+ "eval_samples_per_second": 1.803,
44
+ "eval_steps_per_second": 0.451,
45
+ "step": 39
 
 
 
 
 
 
 
 
 
 
 
 
 
 
46
  }
47
  ],
48
  "logging_steps": 10,
49
+ "max_steps": 78,
50
  "num_input_tokens_seen": 0,
51
  "num_train_epochs": 2,
52
  "save_steps": 500,
 
66
  "should_evaluate": false,
67
  "should_log": false,
68
  "should_save": true,
69
+ "should_training_stop": false
70
  },
71
  "attributes": {}
72
  }
73
  },
74
+ "total_flos": 40782579747840.0,
75
  "train_batch_size": 4,
76
  "trial_name": null,
77
  "trial_params": null
{checkpoint-54 β†’ checkpoint-39}/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:290dece3c30dbb9712dd36d74b5f5c7255848f4aeed844a2c8db3073db41a0d7
3
  size 439039996
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8f7174b90a43b2e22324eabf02785e60249bd132fb7e623ce1f23219f97804ff
3
  size 439039996
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:bed310ee88943731c474b9142a5c909ef20e3cf9839f55b35adefa9b094357fa
3
  size 5521
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:094ed7933cd97ab6828b1c7fbee89b96a01fd7de78bb8bae5049e93d2eb033e8
3
  size 5521