maximuspowers commited on
Commit
068cb87
·
verified ·
1 Parent(s): 528c152

Model save

Browse files
README.md CHANGED
@@ -7,23 +7,23 @@ tags:
7
  model-index:
8
  - name: bert-philosophy-classifier
9
  results: []
10
- datasets:
11
- - maximuspowers/philosophy-schools-multilabel
12
- pipeline_tag: text-classification
13
  ---
14
 
 
 
 
15
  # bert-philosophy-classifier
16
 
17
- This model is a fine-tuned version of [maximuspowers/bert-philosophy-adapted](https://huggingface.co/maximuspowers/bert-philosophy-adapted) on a dataset of snippets representing various philosophies, labeled with multi-label school of philosophy labels.
18
  It achieves the following results on the evaluation set:
19
- - Loss: 0.5626
20
- - Exact Match Accuracy: 0.3271
21
- - Macro Precision: 0.5032
22
- - Macro Recall: 0.2266
23
- - Macro F1: 0.2665
24
- - Micro Precision: 0.7745
25
- - Micro Recall: 0.4480
26
- - Micro F1: 0.5676
27
  - Hamming Loss: 0.0635
28
 
29
  ## Model description
@@ -57,30 +57,60 @@ The following hyperparameters were used during training:
57
 
58
  ### Training results
59
 
60
- | Training Loss | Epoch | Step | Validation Loss | Exact Match Accuracy | Macro Precision | Macro Recall | Macro F1 | Micro Precision | Micro Recall | Micro F1 | Hamming Loss |
61
- |:-------------:|:------:|:----:|:---------------:|:--------------------:|:---------------:|:------------:|:--------:|:---------------:|:------------:|:--------:|:------------:|
62
- | 1.8839 | 0.4167 | 100 | 1.0236 | 0.0396 | 0.0315 | 0.0123 | 0.0177 | 0.5 | 0.0504 | 0.0916 | 0.0924 |
63
- | 1.402 | 0.8333 | 200 | 0.8696 | 0.0042 | 0.0588 | 0.0016 | 0.0032 | 1.0 | 0.0066 | 0.0132 | 0.0918 |
64
- | 1.2522 | 1.25 | 300 | 0.8201 | 0.0479 | 0.0588 | 0.0120 | 0.0200 | 1.0 | 0.0491 | 0.0936 | 0.0879 |
65
- | 1.1493 | 1.6667 | 400 | 0.7287 | 0.0854 | 0.0555 | 0.0218 | 0.0313 | 0.9437 | 0.0889 | 0.1624 | 0.0847 |
66
- | 1.1566 | 2.0833 | 500 | 0.7392 | 0.0646 | 0.0576 | 0.0156 | 0.0246 | 0.9796 | 0.0637 | 0.1196 | 0.0866 |
67
- | 1.0856 | 2.5 | 600 | 0.6814 | 0.1292 | 0.1114 | 0.0368 | 0.0450 | 0.896 | 0.1485 | 0.2548 | 0.0803 |
68
- | 1.0468 | 2.9167 | 700 | 0.6753 | 0.1229 | 0.1127 | 0.0365 | 0.0452 | 0.9174 | 0.1472 | 0.2537 | 0.0800 |
69
- | 1.043 | 3.3333 | 800 | 0.6417 | 0.1542 | 0.1676 | 0.0483 | 0.0614 | 0.8662 | 0.1804 | 0.2986 | 0.0783 |
70
- | 0.9489 | 3.75 | 900 | 0.6827 | 0.1562 | 0.1681 | 0.0513 | 0.0701 | 0.9145 | 0.1844 | 0.3068 | 0.0770 |
71
- | 0.9773 | 4.1667 | 1000 | 0.6348 | 0.2188 | 0.1554 | 0.0830 | 0.1048 | 0.8559 | 0.2679 | 0.4081 | 0.0718 |
72
- | 0.9368 | 4.5833 | 1100 | 0.6322 | 0.2167 | 0.1525 | 0.0795 | 0.0989 | 0.8277 | 0.2613 | 0.3972 | 0.0733 |
73
- | 0.9063 | 5.0 | 1200 | 0.6395 | 0.225 | 0.1502 | 0.0865 | 0.1080 | 0.8487 | 0.2679 | 0.4073 | 0.0721 |
74
- | 0.8342 | 5.4167 | 1300 | 0.6009 | 0.2437 | 0.2571 | 0.1040 | 0.1337 | 0.8456 | 0.2905 | 0.4324 | 0.0705 |
75
- | 0.8722 | 5.8333 | 1400 | 0.6168 | 0.2437 | 0.1936 | 0.1053 | 0.1321 | 0.8441 | 0.2944 | 0.4366 | 0.0702 |
76
- | 0.7927 | 6.25 | 1500 | 0.6005 | 0.2646 | 0.2561 | 0.1262 | 0.1552 | 0.8357 | 0.3170 | 0.4596 | 0.0689 |
77
- | 0.8029 | 6.6667 | 1600 | 0.5795 | 0.2479 | 0.3469 | 0.1314 | 0.1761 | 0.8571 | 0.3103 | 0.4557 | 0.0685 |
78
- | 0.7886 | 7.0833 | 1700 | 0.5882 | 0.3208 | 0.4122 | 0.1830 | 0.2325 | 0.8273 | 0.3939 | 0.5337 | 0.0636 |
79
- | 0.7246 | 7.5 | 1800 | 0.5620 | 0.2917 | 0.3547 | 0.1514 | 0.1923 | 0.8142 | 0.3488 | 0.4884 | 0.0675 |
80
- | 0.7283 | 7.9167 | 1900 | 0.6152 | 0.2833 | 0.3992 | 0.1531 | 0.2023 | 0.8383 | 0.3369 | 0.4806 | 0.0673 |
81
- | 0.7024 | 8.3333 | 2000 | 0.5610 | 0.3083 | 0.4750 | 0.1731 | 0.2267 | 0.8369 | 0.3674 | 0.5106 | 0.0651 |
82
- | 0.6504 | 8.75 | 2100 | 0.5670 | 0.3125 | 0.5516 | 0.2099 | 0.2723 | 0.7947 | 0.3952 | 0.5279 | 0.0653 |
83
- | 0.6453 | 9.1667 | 2200 | 0.5828 | 0.3125 | 0.4952 | 0.2084 | 0.2634 | 0.7850 | 0.4019 | 0.5316 | 0.0654 |
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
84
 
85
 
86
  ### Framework versions
@@ -88,4 +118,4 @@ The following hyperparameters were used during training:
88
  - Transformers 4.52.4
89
  - Pytorch 2.6.0+cu124
90
  - Datasets 3.6.0
91
- - Tokenizers 0.21.2
 
7
  model-index:
8
  - name: bert-philosophy-classifier
9
  results: []
 
 
 
10
  ---
11
 
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
  # bert-philosophy-classifier
16
 
17
+ This model is a fine-tuned version of [maximuspowers/bert-philosophy-adapted](https://huggingface.co/maximuspowers/bert-philosophy-adapted) on the None dataset.
18
  It achieves the following results on the evaluation set:
19
+ - Loss: 0.5491
20
+ - Exact Match Accuracy: 0.36
21
+ - Macro Precision: 0.5561
22
+ - Macro Recall: 0.4035
23
+ - Macro F1: 0.4602
24
+ - Micro Precision: 0.7328
25
+ - Micro Recall: 0.5586
26
+ - Micro F1: 0.6340
27
  - Hamming Loss: 0.0635
28
 
29
  ## Model description
 
57
 
58
  ### Training results
59
 
60
+ | Training Loss | Epoch | Step | Validation Loss | Exact Match Accuracy | Macro Precision | Macro Recall | Macro F1 | Micro Precision | Micro Recall | Micro F1 | Hamming Loss |
61
+ |:-------------:|:-------:|:----:|:---------------:|:--------------------:|:---------------:|:------------:|:--------:|:---------------:|:------------:|:--------:|:------------:|
62
+ | 1.9157 | 0.3802 | 100 | 0.9992 | 0.0 | 0.0407 | 0.0026 | 0.0048 | 0.6923 | 0.0102 | 0.0202 | 0.0979 |
63
+ | 1.433 | 0.7605 | 200 | 0.8577 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0985 |
64
+ | 1.261 | 1.1407 | 300 | 0.8821 | 0.0 | 0.0588 | 0.0003 | 0.0006 | 1.0 | 0.0011 | 0.0023 | 0.0984 |
65
+ | 1.1991 | 1.5209 | 400 | 0.7624 | 0.0286 | 0.0588 | 0.0122 | 0.0202 | 1.0 | 0.0489 | 0.0933 | 0.0937 |
66
+ | 1.1809 | 1.9011 | 500 | 0.7328 | 0.0457 | 0.0588 | 0.0176 | 0.0271 | 1.0 | 0.0705 | 0.1318 | 0.0915 |
67
+ | 1.0938 | 2.2814 | 600 | 0.7042 | 0.0629 | 0.0575 | 0.0256 | 0.0354 | 0.9783 | 0.1024 | 0.1854 | 0.0886 |
68
+ | 1.1008 | 2.6616 | 700 | 0.6941 | 0.08 | 0.0553 | 0.0313 | 0.0399 | 0.9402 | 0.1251 | 0.2209 | 0.0869 |
69
+ | 1.0646 | 3.0418 | 800 | 0.6270 | 0.08 | 0.0552 | 0.0344 | 0.0424 | 0.9380 | 0.1377 | 0.2401 | 0.0858 |
70
+ | 1.0233 | 3.4221 | 900 | 0.6455 | 0.1010 | 0.1701 | 0.0427 | 0.0537 | 0.8994 | 0.1627 | 0.2755 | 0.0843 |
71
+ | 0.97 | 3.8023 | 1000 | 0.6775 | 0.1181 | 0.1630 | 0.0501 | 0.0699 | 0.9264 | 0.1718 | 0.2898 | 0.0829 |
72
+ | 0.9737 | 4.1825 | 1100 | 0.6337 | 0.1410 | 0.1515 | 0.0640 | 0.0831 | 0.8597 | 0.2162 | 0.3455 | 0.0807 |
73
+ | 0.9564 | 4.5627 | 1200 | 0.6215 | 0.2057 | 0.1456 | 0.0930 | 0.1109 | 0.8289 | 0.2867 | 0.4260 | 0.0761 |
74
+ | 0.9356 | 4.9430 | 1300 | 0.5945 | 0.1886 | 0.1495 | 0.0851 | 0.1053 | 0.8453 | 0.2673 | 0.4062 | 0.0770 |
75
+ | 0.867 | 5.3232 | 1400 | 0.5871 | 0.2019 | 0.2662 | 0.0950 | 0.1202 | 0.8378 | 0.2821 | 0.4221 | 0.0761 |
76
+ | 0.9107 | 5.7034 | 1500 | 0.5976 | 0.1943 | 0.3013 | 0.1035 | 0.1374 | 0.8282 | 0.2742 | 0.4120 | 0.0771 |
77
+ | 0.8554 | 6.0837 | 1600 | 0.5966 | 0.2133 | 0.2838 | 0.1189 | 0.1509 | 0.8110 | 0.3026 | 0.4408 | 0.0756 |
78
+ | 0.8247 | 6.4639 | 1700 | 0.5772 | 0.2210 | 0.3270 | 0.1291 | 0.1702 | 0.8491 | 0.3072 | 0.4511 | 0.0736 |
79
+ | 0.8203 | 6.8441 | 1800 | 0.5701 | 0.2648 | 0.5266 | 0.1741 | 0.2244 | 0.8232 | 0.3709 | 0.5114 | 0.0698 |
80
+ | 0.727 | 7.2243 | 1900 | 0.5601 | 0.2267 | 0.5093 | 0.1544 | 0.2102 | 0.8450 | 0.3288 | 0.4734 | 0.0720 |
81
+ | 0.7541 | 7.6046 | 2000 | 0.5609 | 0.2724 | 0.4593 | 0.1824 | 0.2396 | 0.8209 | 0.3754 | 0.5152 | 0.0696 |
82
+ | 0.781 | 7.9848 | 2100 | 0.5527 | 0.2914 | 0.5056 | 0.2097 | 0.2700 | 0.8286 | 0.3959 | 0.5358 | 0.0676 |
83
+ | 0.7179 | 8.3650 | 2200 | 0.5396 | 0.2705 | 0.5272 | 0.1860 | 0.2531 | 0.84 | 0.3584 | 0.5024 | 0.0699 |
84
+ | 0.7131 | 8.7452 | 2300 | 0.5501 | 0.2743 | 0.5552 | 0.2042 | 0.2735 | 0.8363 | 0.3720 | 0.5150 | 0.0690 |
85
+ | 0.6664 | 9.1255 | 2400 | 0.5685 | 0.2933 | 0.4603 | 0.2233 | 0.2804 | 0.7983 | 0.4187 | 0.5493 | 0.0677 |
86
+ | 0.6507 | 9.5057 | 2500 | 0.5638 | 0.3314 | 0.5954 | 0.2558 | 0.3285 | 0.8168 | 0.4414 | 0.5731 | 0.0648 |
87
+ | 0.6684 | 9.8859 | 2600 | 0.5676 | 0.2705 | 0.6380 | 0.2202 | 0.3027 | 0.8686 | 0.3686 | 0.5176 | 0.0677 |
88
+ | 0.604 | 10.2662 | 2700 | 0.6087 | 0.2952 | 0.5374 | 0.2783 | 0.3511 | 0.7883 | 0.4278 | 0.5546 | 0.0677 |
89
+ | 0.625 | 10.6464 | 2800 | 0.5938 | 0.3105 | 0.5671 | 0.2689 | 0.3422 | 0.7832 | 0.4357 | 0.5599 | 0.0675 |
90
+ | 0.5915 | 11.0266 | 2900 | 0.5653 | 0.3124 | 0.5755 | 0.2821 | 0.3563 | 0.7928 | 0.4528 | 0.5764 | 0.0655 |
91
+ | 0.5599 | 11.4068 | 3000 | 0.5655 | 0.3181 | 0.5906 | 0.2902 | 0.3593 | 0.7846 | 0.4642 | 0.5833 | 0.0653 |
92
+ | 0.5457 | 11.7871 | 3100 | 0.5650 | 0.3124 | 0.6100 | 0.3058 | 0.3743 | 0.7759 | 0.4608 | 0.5782 | 0.0662 |
93
+ | 0.5365 | 12.1673 | 3200 | 0.5637 | 0.3067 | 0.6418 | 0.2921 | 0.3812 | 0.8063 | 0.4403 | 0.5695 | 0.0655 |
94
+ | 0.5288 | 12.5475 | 3300 | 0.5512 | 0.3295 | 0.6104 | 0.3281 | 0.3993 | 0.7782 | 0.4869 | 0.5990 | 0.0642 |
95
+ | 0.5438 | 12.9278 | 3400 | 0.5668 | 0.3143 | 0.6077 | 0.3221 | 0.3992 | 0.7835 | 0.4653 | 0.5839 | 0.0653 |
96
+ | 0.513 | 13.3080 | 3500 | 0.5715 | 0.3276 | 0.5619 | 0.3553 | 0.4167 | 0.7576 | 0.5085 | 0.6086 | 0.0644 |
97
+ | 0.4844 | 13.6882 | 3600 | 0.5955 | 0.3524 | 0.5864 | 0.3479 | 0.4261 | 0.7730 | 0.5154 | 0.6184 | 0.0626 |
98
+ | 0.5115 | 14.0684 | 3700 | 0.5497 | 0.3562 | 0.5769 | 0.3415 | 0.4184 | 0.7815 | 0.5006 | 0.6103 | 0.0630 |
99
+ | 0.4524 | 14.4487 | 3800 | 0.5876 | 0.3505 | 0.5814 | 0.3511 | 0.4279 | 0.7678 | 0.5040 | 0.6085 | 0.0639 |
100
+ | 0.4378 | 14.8289 | 3900 | 0.5833 | 0.3276 | 0.5747 | 0.3345 | 0.4129 | 0.7623 | 0.4778 | 0.5874 | 0.0661 |
101
+ | 0.4541 | 15.2091 | 4000 | 0.5292 | 0.3581 | 0.5828 | 0.3727 | 0.4432 | 0.7544 | 0.5381 | 0.6282 | 0.0627 |
102
+ | 0.423 | 15.5894 | 4100 | 0.5555 | 0.3562 | 0.5856 | 0.3647 | 0.4383 | 0.7657 | 0.5279 | 0.6249 | 0.0624 |
103
+ | 0.4367 | 15.9696 | 4200 | 0.5670 | 0.3467 | 0.6071 | 0.3490 | 0.4265 | 0.7792 | 0.5017 | 0.6104 | 0.0631 |
104
+ | 0.3713 | 16.3498 | 4300 | 0.5770 | 0.3390 | 0.5605 | 0.3637 | 0.4298 | 0.7541 | 0.5233 | 0.6179 | 0.0638 |
105
+ | 0.3835 | 16.7300 | 4400 | 0.5754 | 0.3543 | 0.5643 | 0.3716 | 0.4364 | 0.7492 | 0.5370 | 0.6256 | 0.0633 |
106
+ | 0.3723 | 17.1103 | 4500 | 0.5839 | 0.3524 | 0.5978 | 0.3969 | 0.4550 | 0.7438 | 0.5484 | 0.6313 | 0.0631 |
107
+ | 0.3565 | 17.4905 | 4600 | 0.5713 | 0.3505 | 0.5965 | 0.3854 | 0.4523 | 0.7516 | 0.5301 | 0.6217 | 0.0635 |
108
+ | 0.3917 | 17.8707 | 4700 | 0.5352 | 0.36 | 0.6236 | 0.3837 | 0.4545 | 0.7619 | 0.5461 | 0.6362 | 0.0615 |
109
+ | 0.3546 | 18.2510 | 4800 | 0.5972 | 0.32 | 0.5358 | 0.3825 | 0.4392 | 0.7293 | 0.5301 | 0.6140 | 0.0657 |
110
+ | 0.3363 | 18.6312 | 4900 | 0.5696 | 0.3371 | 0.6057 | 0.3643 | 0.4334 | 0.7414 | 0.5154 | 0.6081 | 0.0654 |
111
+ | 0.3344 | 19.0114 | 5000 | 0.5925 | 0.3029 | 0.6128 | 0.3819 | 0.4548 | 0.7241 | 0.4926 | 0.5863 | 0.0685 |
112
+ | 0.3148 | 19.3916 | 5100 | 0.5891 | 0.3429 | 0.5458 | 0.4026 | 0.4575 | 0.7303 | 0.5484 | 0.6264 | 0.0644 |
113
+ | 0.3474 | 19.7719 | 5200 | 0.5491 | 0.36 | 0.5561 | 0.4035 | 0.4602 | 0.7328 | 0.5586 | 0.6340 | 0.0635 |
114
 
115
 
116
  ### Framework versions
 
118
  - Transformers 4.52.4
119
  - Pytorch 2.6.0+cu124
120
  - Datasets 3.6.0
121
+ - Tokenizers 0.21.2
all_results.json CHANGED
@@ -1,20 +1,8 @@
1
  {
2
- "epoch": 9.166666666666666,
3
- "eval_exact_match_accuracy": 0.32708333333333334,
4
- "eval_hamming_loss": 0.06348039215686274,
5
- "eval_loss": 0.5625751614570618,
6
- "eval_macro_f1": 0.2665328063937161,
7
- "eval_macro_precision": 0.5031965769308523,
8
- "eval_macro_recall": 0.2266199986153601,
9
- "eval_micro_f1": 0.5676126878130217,
10
- "eval_micro_precision": 0.7744874715261959,
11
- "eval_micro_recall": 0.4479578392621871,
12
- "eval_runtime": 2.4538,
13
- "eval_samples_per_second": 195.613,
14
- "eval_steps_per_second": 24.452,
15
  "total_flos": 0.0,
16
- "train_loss": 1.0184532798420298,
17
- "train_runtime": 630.3061,
18
- "train_samples_per_second": 3042.966,
19
- "train_steps_per_second": 190.384
20
  }
 
1
  {
2
+ "epoch": 19.771863117870723,
 
 
 
 
 
 
 
 
 
 
 
 
3
  "total_flos": 0.0,
4
+ "train_loss": 0.7332356544641349,
5
+ "train_runtime": 1473.3753,
6
+ "train_samples_per_second": 1426.317,
7
+ "train_steps_per_second": 89.251
8
  }
runs/Jun28_21-18-35_821879c92305/events.out.tfevents.1751145516.821879c92305.4121.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0dd843b8b6a2d8c4b5506be26770636ed56734c61459242d612e1b6f03f6ef7e
3
- size 1463177
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e5ded482537d23485544927b08f3e427b733f11b798a921c18fe64b13292819a
3
+ size 1899647
train_results.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
- "epoch": 9.166666666666666,
3
  "total_flos": 0.0,
4
- "train_loss": 1.0184532798420298,
5
- "train_runtime": 630.3061,
6
- "train_samples_per_second": 3042.966,
7
- "train_steps_per_second": 190.384
8
  }
 
1
  {
2
+ "epoch": 19.771863117870723,
3
  "total_flos": 0.0,
4
+ "train_loss": 0.7332356544641349,
5
+ "train_runtime": 1473.3753,
6
+ "train_samples_per_second": 1426.317,
7
+ "train_steps_per_second": 89.251
8
  }