Bencode92 commited on
Commit
38ed08d
Β·
1 Parent(s): 0b390d8

πŸ”„ Incremental label | Acc: 0.875, F1: 0.822

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-28 12:14*
25
- *Dataset: `news_20250728.csv` (198 samples)*
26
 
27
  | Metric | Value |
28
  |--------|-------|
29
- | Loss | 1.6009 |
30
- | Accuracy | 0.7600 |
31
- | F1 Score | 0.7604 |
32
 
33
- | F1 Macro | 0.7604 |
34
 
35
- | Precision | 0.7664 |
36
- | Recall | 0.7600 |
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-28 12:14:09
 
21
 
22
  ## Performance
23
 
24
+ *Last training: 2025-07-28 15:45*
25
+ *Dataset: `news_20250728.csv` (69 samples)*
26
 
27
  | Metric | Value |
28
  |--------|-------|
29
+ | Loss | 1.2706 |
30
+ | Accuracy | 0.6667 |
31
+ | F1 Score | 0.6386 |
32
 
33
+ | F1 Macro | 0.6386 |
34
 
35
+ | Precision | 0.7273 |
36
+ | Recall | 0.6667 |
37
 
38
  ## Training Details
39
 
 
65
  ## Model Card Authors
66
 
67
  - TradePulse ML Team
68
+ - Auto-generated on 2025-07-28 15:45:56
{checkpoint-37 β†’ checkpoint-26}/config.json RENAMED
File without changes
{checkpoint-37 β†’ checkpoint-26}/model.safetensors RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:437e87cd3362a0ef4aeec7beb4c89c2019a526d89bbf9f07c7a6b88f0b788541
3
  size 439039996
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ce7ef9636ab0a65b31f2a801656cd67ff030fec140918aff871675de1b69a92f
3
  size 439039996
{checkpoint-37 β†’ checkpoint-26}/special_tokens_map.json RENAMED
File without changes
{checkpoint-37 β†’ checkpoint-26}/tokenizer.json RENAMED
File without changes
{checkpoint-37 β†’ checkpoint-26}/tokenizer_config.json RENAMED
File without changes
{checkpoint-37 β†’ checkpoint-26}/trainer_state.json RENAMED
@@ -1,52 +1,60 @@
1
  {
2
- "best_metric": 0.7603687479568486,
3
- "best_model_checkpoint": "hf-sentiment-production/checkpoint-37",
4
- "epoch": 1.0,
5
  "eval_steps": 500,
6
- "global_step": 37,
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.2702702702702703,
13
- "grad_norm": 106.24102783203125,
14
- "learning_rate": 2.702702702702703e-06,
15
- "loss": 1.8339,
16
  "step": 10
17
  },
18
  {
19
- "epoch": 0.5405405405405406,
20
- "grad_norm": 0.3359943628311157,
21
- "learning_rate": 5.405405405405406e-06,
22
- "loss": 1.3359,
23
- "step": 20
 
 
 
 
 
 
 
 
24
  },
25
  {
26
- "epoch": 0.8108108108108109,
27
- "grad_norm": 84.19926452636719,
28
- "learning_rate": 8.108108108108109e-06,
29
- "loss": 1.3803,
30
- "step": 30
31
  },
32
  {
33
- "epoch": 1.0,
34
- "eval_accuracy": 0.76,
35
- "eval_f1": 0.7603687479568486,
36
- "eval_f1_macro": 0.7129127165740438,
37
- "eval_loss": 1.6009101867675781,
38
- "eval_precision": 0.7664221158958,
39
- "eval_precision_macro": 0.7162856636540847,
40
- "eval_recall": 0.76,
41
- "eval_recall_macro": 0.7152777777777778,
42
- "eval_runtime": 27.5474,
43
- "eval_samples_per_second": 1.815,
44
- "eval_steps_per_second": 0.472,
45
- "step": 37
46
  }
47
  ],
48
  "logging_steps": 10,
49
- "max_steps": 74,
50
  "num_input_tokens_seen": 0,
51
  "num_train_epochs": 2,
52
  "save_steps": 500,
@@ -66,12 +74,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": 38940785823744.0,
75
  "train_batch_size": 4,
76
  "trial_name": null,
77
  "trial_params": null
 
1
  {
2
+ "best_metric": 0.63859649122807,
3
+ "best_model_checkpoint": "hf-sentiment-production/checkpoint-26",
4
+ "epoch": 2.0,
5
  "eval_steps": 500,
6
+ "global_step": 26,
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.7692307692307693,
13
+ "grad_norm": 22.653139114379883,
14
+ "learning_rate": 8.333333333333334e-06,
15
+ "loss": 1.3358,
16
  "step": 10
17
  },
18
  {
19
+ "epoch": 1.0,
20
+ "eval_accuracy": 0.6111111111111112,
21
+ "eval_f1": 0.5608465608465608,
22
+ "eval_f1_macro": 0.5132275132275131,
23
+ "eval_loss": 1.5110797882080078,
24
+ "eval_precision": 0.6068376068376069,
25
+ "eval_precision_macro": 0.594017094017094,
26
+ "eval_recall": 0.6111111111111112,
27
+ "eval_recall_macro": 0.5277777777777778,
28
+ "eval_runtime": 10.0748,
29
+ "eval_samples_per_second": 1.787,
30
+ "eval_steps_per_second": 0.496,
31
+ "step": 13
32
  },
33
  {
34
+ "epoch": 1.5384615384615383,
35
+ "grad_norm": 85.80370330810547,
36
+ "learning_rate": 4.2857142857142855e-06,
37
+ "loss": 1.1837,
38
+ "step": 20
39
  },
40
  {
41
+ "epoch": 2.0,
42
+ "eval_accuracy": 0.6666666666666666,
43
+ "eval_f1": 0.63859649122807,
44
+ "eval_f1_macro": 0.6011695906432748,
45
+ "eval_loss": 1.2705979347229004,
46
+ "eval_precision": 0.7272727272727272,
47
+ "eval_precision_macro": 0.7676767676767676,
48
+ "eval_recall": 0.6666666666666666,
49
+ "eval_recall_macro": 0.5972222222222222,
50
+ "eval_runtime": 10.0239,
51
+ "eval_samples_per_second": 1.796,
52
+ "eval_steps_per_second": 0.499,
53
+ "step": 26
54
  }
55
  ],
56
  "logging_steps": 10,
57
+ "max_steps": 26,
58
  "num_input_tokens_seen": 0,
59
  "num_train_epochs": 2,
60
  "save_steps": 500,
 
74
  "should_evaluate": false,
75
  "should_log": false,
76
  "should_save": true,
77
+ "should_training_stop": true
78
  },
79
  "attributes": {}
80
  }
81
  },
82
+ "total_flos": 26837568608256.0,
83
  "train_batch_size": 4,
84
  "trial_name": null,
85
  "trial_params": null
{checkpoint-37 β†’ checkpoint-26}/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:437e87cd3362a0ef4aeec7beb4c89c2019a526d89bbf9f07c7a6b88f0b788541
3
  size 439039996
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ce7ef9636ab0a65b31f2a801656cd67ff030fec140918aff871675de1b69a92f
3
  size 439039996
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f491ea7b6fbb853765347a28f10ca6953f6ad0aee61a734426433ac960cbaeb6
3
  size 5521
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6ad69498dd9fa096348f008607d94610872cc2538bed3682c94493efbdb6cc88
3
  size 5521