Bencode92 commited on
Commit
4c717bf
Β·
1 Parent(s): 1b061be

πŸ”„ Incremental label | Acc: 0.714, F1: 0.652

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-24 15:44*
25
- *Dataset: `news_20250724.csv` (171 samples)*
26
 
27
  | Metric | Value |
28
  |--------|-------|
29
- | Loss | 0.2699 |
30
- | Accuracy | 0.9535 |
31
- | F1 Score | 0.9535 |
32
 
33
- | F1 Macro | 0.9535 |
34
 
35
- | Precision | 0.9579 |
36
- | Recall | 0.9535 |
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-24 15:44:30
 
21
 
22
  ## Performance
23
 
24
+ *Last training: 2025-07-24 17:26*
25
+ *Dataset: `news_20250724.csv` (125 samples)*
26
 
27
  | Metric | Value |
28
  |--------|-------|
29
+ | Loss | 0.9254 |
30
+ | Accuracy | 0.7188 |
31
+ | F1 Score | 0.7175 |
32
 
33
+ | F1 Macro | 0.7175 |
34
 
35
+ | Precision | 0.7180 |
36
+ | Recall | 0.7188 |
37
 
38
  ## Training Details
39
 
 
65
  ## Model Card Authors
66
 
67
  - TradePulse ML Team
68
+ - Auto-generated on 2025-07-24 17:26:24
{checkpoint-32 β†’ checkpoint-48}/config.json RENAMED
File without changes
{checkpoint-32 β†’ checkpoint-48}/model.safetensors RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0c790fd6e8d95e12a74a0f232817351992936b6aa478caf158acf325cd08cf87
3
  size 439039996
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1a2a8f0b3fa1f005a7f755ea6e027525477228ed3aceb86bf2c5398de9023e25
3
  size 439039996
{checkpoint-32 β†’ checkpoint-48}/special_tokens_map.json RENAMED
File without changes
{checkpoint-32 β†’ checkpoint-48}/tokenizer.json RENAMED
File without changes
{checkpoint-32 β†’ checkpoint-48}/tokenizer_config.json RENAMED
File without changes
{checkpoint-32 β†’ checkpoint-48}/trainer_state.json RENAMED
@@ -1,52 +1,74 @@
1
  {
2
- "best_metric": 0.9534883720930233,
3
- "best_model_checkpoint": "hf-sentiment-production/checkpoint-32",
4
- "epoch": 1.0,
5
  "eval_steps": 500,
6
- "global_step": 32,
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.3125,
13
- "grad_norm": 20.869625091552734,
14
- "learning_rate": 3.125e-06,
15
- "loss": 0.2232,
16
  "step": 10
17
  },
18
  {
19
- "epoch": 0.625,
20
- "grad_norm": 24.07443618774414,
21
- "learning_rate": 6.25e-06,
22
- "loss": 0.142,
23
  "step": 20
24
  },
25
  {
26
- "epoch": 0.9375,
27
- "grad_norm": 5.75204610824585,
28
- "learning_rate": 9.375000000000001e-06,
29
- "loss": 0.203,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
30
  "step": 30
31
  },
32
  {
33
- "epoch": 1.0,
34
- "eval_accuracy": 0.9534883720930233,
35
- "eval_f1": 0.9534883720930233,
36
- "eval_f1_macro": 0.9666666666666667,
37
- "eval_loss": 0.26990270614624023,
38
- "eval_precision": 0.9579180509413068,
39
- "eval_precision_macro": 0.9682539682539683,
40
- "eval_recall": 0.9534883720930233,
41
- "eval_recall_macro": 0.9682539682539683,
42
- "eval_runtime": 23.8102,
43
- "eval_samples_per_second": 1.806,
44
- "eval_steps_per_second": 0.462,
45
- "step": 32
 
 
 
 
 
 
 
46
  }
47
  ],
48
  "logging_steps": 10,
49
- "max_steps": 64,
50
  "num_input_tokens_seen": 0,
51
  "num_train_epochs": 2,
52
  "save_steps": 500,
@@ -66,12 +88,12 @@
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": 33678517469184.0,
75
  "train_batch_size": 4,
76
  "trial_name": null,
77
  "trial_params": null
 
1
  {
2
+ "best_metric": 0.7175227910238429,
3
+ "best_model_checkpoint": "hf-sentiment-production/checkpoint-48",
4
+ "epoch": 2.0,
5
  "eval_steps": 500,
6
+ "global_step": 48,
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": 45.694217681884766,
14
+ "learning_rate": 4.347826086956522e-06,
15
+ "loss": 1.5547,
16
  "step": 10
17
  },
18
  {
19
+ "epoch": 0.8333333333333334,
20
+ "grad_norm": 26.449485778808594,
21
+ "learning_rate": 8.695652173913044e-06,
22
+ "loss": 1.6501,
23
  "step": 20
24
  },
25
  {
26
+ "epoch": 1.0,
27
+ "eval_accuracy": 0.59375,
28
+ "eval_f1": 0.6112771739130434,
29
+ "eval_f1_macro": 0.5805797101449276,
30
+ "eval_loss": 1.3827314376831055,
31
+ "eval_precision": 0.6832386363636364,
32
+ "eval_precision_macro": 0.603030303030303,
33
+ "eval_recall": 0.59375,
34
+ "eval_recall_macro": 0.6333333333333333,
35
+ "eval_runtime": 17.6899,
36
+ "eval_samples_per_second": 1.809,
37
+ "eval_steps_per_second": 0.452,
38
+ "step": 24
39
+ },
40
+ {
41
+ "epoch": 1.25,
42
+ "grad_norm": 47.07159423828125,
43
+ "learning_rate": 7.2000000000000005e-06,
44
+ "loss": 0.9016,
45
  "step": 30
46
  },
47
  {
48
+ "epoch": 1.6666666666666665,
49
+ "grad_norm": 23.4508056640625,
50
+ "learning_rate": 3.2000000000000003e-06,
51
+ "loss": 0.6038,
52
+ "step": 40
53
+ },
54
+ {
55
+ "epoch": 2.0,
56
+ "eval_accuracy": 0.71875,
57
+ "eval_f1": 0.7175227910238429,
58
+ "eval_f1_macro": 0.6899485741000468,
59
+ "eval_loss": 0.9254353642463684,
60
+ "eval_precision": 0.7180397727272727,
61
+ "eval_precision_macro": 0.6924242424242424,
62
+ "eval_recall": 0.71875,
63
+ "eval_recall_macro": 0.6888888888888888,
64
+ "eval_runtime": 17.6375,
65
+ "eval_samples_per_second": 1.814,
66
+ "eval_steps_per_second": 0.454,
67
+ "step": 48
68
  }
69
  ],
70
  "logging_steps": 10,
71
+ "max_steps": 48,
72
  "num_input_tokens_seen": 0,
73
  "num_train_epochs": 2,
74
  "save_steps": 500,
 
88
  "should_evaluate": false,
89
  "should_log": false,
90
  "should_save": true,
91
+ "should_training_stop": true
92
  },
93
  "attributes": {}
94
  }
95
  },
96
+ "total_flos": 48939095697408.0,
97
  "train_batch_size": 4,
98
  "trial_name": null,
99
  "trial_params": null
{checkpoint-32 β†’ checkpoint-48}/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:0c790fd6e8d95e12a74a0f232817351992936b6aa478caf158acf325cd08cf87
3
  size 439039996
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1a2a8f0b3fa1f005a7f755ea6e027525477228ed3aceb86bf2c5398de9023e25
3
  size 439039996
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0797cb80249f45aa53e3f7e5498774d0cda687d153caa26fca11f969aecb203d
3
  size 5521
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5b56f22a35bd2e9315d81b7bddb114c56cfe20ba49b9ca9913702947d69ae07c
3
  size 5521