Bencode92 commited on
Commit
79f39ee
Β·
1 Parent(s): 4a4ad78

πŸ”„ Incremental label | Acc: 0.750, F1: 0.718

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-17 13:24*
24
- *Dataset: `news_20250717.csv` (142 samples)*
25
 
26
  | Metric | Value |
27
  |--------|-------|
28
- | Loss | 0.8654 |
29
- | Accuracy | 0.8056 |
30
- | F1 Score | 0.7868 |
31
- | F1 Macro | 0.7868 |
32
- | Precision | 0.7904 |
33
- | Recall | 0.8056 |
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-17 13:24:25
 
20
 
21
  ## Performance
22
 
23
+ *Last training: 2025-07-21 09:09*
24
+ *Dataset: `news_20250721.csv` (177 samples)*
25
 
26
  | Metric | Value |
27
  |--------|-------|
28
+ | Loss | 0.7441 |
29
+ | Accuracy | 0.8222 |
30
+ | F1 Score | 0.8223 |
31
+ | F1 Macro | 0.8223 |
32
+ | Precision | 0.8432 |
33
+ | Recall | 0.8222 |
34
 
35
  ## Training Details
36
 
 
59
  ## Model Card Authors
60
 
61
  - TradePulse ML Team
62
+ - Auto-generated on 2025-07-21 09:09:16
{checkpoint-54 β†’ checkpoint-66}/config.json RENAMED
File without changes
{checkpoint-54 β†’ checkpoint-66}/model.safetensors RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b30214b2e61f4381ff7b8f502f9eca2ef28150f7b73030a37360897a2754f2b1
3
  size 439039996
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7230a8152985198b6e5e09fbcb992b41f8d41d2463d4293e20e7a86c5525555c
3
  size 439039996
{checkpoint-54 β†’ checkpoint-66}/special_tokens_map.json RENAMED
File without changes
{checkpoint-54 β†’ checkpoint-66}/tokenizer.json RENAMED
File without changes
{checkpoint-54 β†’ checkpoint-66}/tokenizer_config.json RENAMED
File without changes
{checkpoint-54 β†’ checkpoint-66}/trainer_state.json RENAMED
@@ -1,81 +1,88 @@
1
  {
2
- "best_metric": 0.7867592592592592,
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": 17.22686767578125,
14
- "learning_rate": 3.846153846153847e-06,
15
- "loss": 0.4613,
16
  "step": 10
17
  },
18
  {
19
- "epoch": 0.7407407407407407,
20
- "grad_norm": 40.6052131652832,
21
- "learning_rate": 7.692307692307694e-06,
22
- "loss": 0.6268,
23
  "step": 20
24
  },
25
  {
26
- "epoch": 1.0,
27
- "eval_accuracy": 0.7777777777777778,
28
- "eval_f1": 0.7507631257631258,
29
- "eval_f1_macro": 0.5952380952380952,
30
- "eval_loss": 0.9788176417350769,
31
- "eval_precision": 0.7937420178799489,
32
- "eval_precision_macro": 0.7088122605363983,
33
- "eval_recall": 0.7777777777777778,
34
- "eval_recall_macro": 0.5648148148148148,
35
- "eval_runtime": 20.0576,
36
- "eval_samples_per_second": 1.795,
37
- "eval_steps_per_second": 0.449,
38
- "step": 27
39
  },
40
  {
41
- "epoch": 1.1111111111111112,
42
- "grad_norm": 14.532109260559082,
43
- "learning_rate": 8.571428571428571e-06,
44
- "loss": 0.7786,
45
- "step": 30
 
 
 
 
 
 
 
 
46
  },
47
  {
48
- "epoch": 1.4814814814814814,
49
- "grad_norm": 41.52202606201172,
50
- "learning_rate": 5e-06,
51
- "loss": 0.5359,
52
  "step": 40
53
  },
54
  {
55
- "epoch": 1.8518518518518519,
56
- "grad_norm": 9.547104835510254,
57
- "learning_rate": 1.4285714285714286e-06,
58
- "loss": 0.2896,
59
  "step": 50
60
  },
 
 
 
 
 
 
 
61
  {
62
  "epoch": 2.0,
63
- "eval_accuracy": 0.8055555555555556,
64
- "eval_f1": 0.7867592592592592,
65
- "eval_f1_macro": 0.6544444444444445,
66
- "eval_loss": 0.8654000163078308,
67
- "eval_precision": 0.7904174015285127,
68
- "eval_precision_macro": 0.7239858906525574,
69
- "eval_recall": 0.8055555555555556,
70
- "eval_recall_macro": 0.6243961352657005,
71
- "eval_runtime": 20.0004,
72
- "eval_samples_per_second": 1.8,
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,
@@ -100,7 +107,7 @@
100
  "attributes": {}
101
  }
102
  },
103
- "total_flos": 55780044558336.0,
104
  "train_batch_size": 4,
105
  "trial_name": null,
106
  "trial_params": null
 
1
  {
2
+ "best_metric": 0.8222895622895622,
3
+ "best_model_checkpoint": "hf-sentiment-production/checkpoint-66",
4
  "epoch": 2.0,
5
  "eval_steps": 500,
6
+ "global_step": 66,
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.30303030303030304,
13
+ "grad_norm": 58.59674072265625,
14
+ "learning_rate": 3.0303030303030305e-06,
15
+ "loss": 1.0621,
16
  "step": 10
17
  },
18
  {
19
+ "epoch": 0.6060606060606061,
20
+ "grad_norm": 26.400432586669922,
21
+ "learning_rate": 6.060606060606061e-06,
22
+ "loss": 0.8608,
23
  "step": 20
24
  },
25
  {
26
+ "epoch": 0.9090909090909091,
27
+ "grad_norm": 44.112937927246094,
28
+ "learning_rate": 9.090909090909091e-06,
29
+ "loss": 1.0074,
30
+ "step": 30
 
 
 
 
 
 
 
 
31
  },
32
  {
33
+ "epoch": 1.0,
34
+ "eval_accuracy": 0.7333333333333333,
35
+ "eval_f1": 0.732098124098124,
36
+ "eval_f1_macro": 0.7363924963924964,
37
+ "eval_loss": 0.7799020409584045,
38
+ "eval_precision": 0.7394179894179893,
39
+ "eval_precision_macro": 0.7261904761904762,
40
+ "eval_recall": 0.7333333333333333,
41
+ "eval_recall_macro": 0.7589495850365416,
42
+ "eval_runtime": 24.995,
43
+ "eval_samples_per_second": 1.8,
44
+ "eval_steps_per_second": 0.48,
45
+ "step": 33
46
  },
47
  {
48
+ "epoch": 1.2121212121212122,
49
+ "grad_norm": 57.80762481689453,
50
+ "learning_rate": 7.87878787878788e-06,
51
+ "loss": 0.789,
52
  "step": 40
53
  },
54
  {
55
+ "epoch": 1.5151515151515151,
56
+ "grad_norm": 22.032854080200195,
57
+ "learning_rate": 4.848484848484849e-06,
58
+ "loss": 0.6725,
59
  "step": 50
60
  },
61
+ {
62
+ "epoch": 1.8181818181818183,
63
+ "grad_norm": 4.845839977264404,
64
+ "learning_rate": 1.8181818181818183e-06,
65
+ "loss": 0.4489,
66
+ "step": 60
67
+ },
68
  {
69
  "epoch": 2.0,
70
+ "eval_accuracy": 0.8222222222222222,
71
+ "eval_f1": 0.8222895622895622,
72
+ "eval_f1_macro": 0.8171717171717172,
73
+ "eval_loss": 0.7441494464874268,
74
+ "eval_precision": 0.8432323232323233,
75
+ "eval_precision_macro": 0.8424242424242424,
76
+ "eval_recall": 0.8222222222222222,
77
+ "eval_recall_macro": 0.8169205995292952,
78
+ "eval_runtime": 24.9519,
79
+ "eval_samples_per_second": 1.803,
80
+ "eval_steps_per_second": 0.481,
81
+ "step": 66
82
  }
83
  ],
84
  "logging_steps": 10,
85
+ "max_steps": 66,
86
  "num_input_tokens_seen": 0,
87
  "num_train_epochs": 2,
88
  "save_steps": 500,
 
107
  "attributes": {}
108
  }
109
  },
110
+ "total_flos": 69461942280192.0,
111
  "train_batch_size": 4,
112
  "trial_name": null,
113
  "trial_params": null
{checkpoint-54 β†’ checkpoint-66}/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:b30214b2e61f4381ff7b8f502f9eca2ef28150f7b73030a37360897a2754f2b1
3
  size 439039996
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7230a8152985198b6e5e09fbcb992b41f8d41d2463d4293e20e7a86c5525555c
3
  size 439039996
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:bad8240ca228befd928da31ee485a6cc22f3452c2564f747c9f3713d023ce753
3
  size 5521
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:799383ded4fc17c3c1d9d808fcd3bb8bca8bf49782cb0ef2ca6a990d48a3b959
3
  size 5521