--- license: apache-2.0 base_model: bert-base-uncased tags: - generated_from_trainer metrics: - accuracy model-index: - name: best_model-yelp_polarity-16-42 results: [] --- # best_model-yelp_polarity-16-42 This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on an unknown dataset. It achieves the following results on the evaluation set: - Loss: 0.3113 - Accuracy: 0.875 ## Model description More information needed ## Intended uses & limitations More information needed ## Training and evaluation data More information needed ## Training procedure ### Training hyperparameters The following hyperparameters were used during training: - learning_rate: 1e-05 - train_batch_size: 32 - eval_batch_size: 32 - seed: 42 - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 - lr_scheduler_type: linear - lr_scheduler_warmup_steps: 500 - num_epochs: 150 ### Training results | Training Loss | Epoch | Step | Validation Loss | Accuracy | |:-------------:|:-----:|:----:|:---------------:|:--------:| | No log | 1.0 | 1 | 0.5515 | 0.75 | | No log | 2.0 | 2 | 0.5515 | 0.75 | | No log | 3.0 | 3 | 0.5515 | 0.75 | | No log | 4.0 | 4 | 0.5515 | 0.75 | | No log | 5.0 | 5 | 0.5514 | 0.75 | | No log | 6.0 | 6 | 0.5513 | 0.75 | | No log | 7.0 | 7 | 0.5512 | 0.75 | | No log | 8.0 | 8 | 0.5510 | 0.75 | | No log | 9.0 | 9 | 0.5508 | 0.75 | | 0.4598 | 10.0 | 10 | 0.5506 | 0.75 | | 0.4598 | 11.0 | 11 | 0.5503 | 0.75 | | 0.4598 | 12.0 | 12 | 0.5500 | 0.75 | | 0.4598 | 13.0 | 13 | 0.5497 | 0.75 | | 0.4598 | 14.0 | 14 | 0.5493 | 0.75 | | 0.4598 | 15.0 | 15 | 0.5489 | 0.75 | | 0.4598 | 16.0 | 16 | 0.5486 | 0.75 | | 0.4598 | 17.0 | 17 | 0.5482 | 0.75 | | 0.4598 | 18.0 | 18 | 0.5478 | 0.75 | | 0.4598 | 19.0 | 19 | 0.5475 | 0.75 | | 0.4323 | 20.0 | 20 | 0.5472 | 0.75 | | 0.4323 | 21.0 | 21 | 0.5469 | 0.75 | | 0.4323 | 22.0 | 22 | 0.5467 | 0.75 | | 0.4323 | 23.0 | 23 | 0.5464 | 0.75 | | 0.4323 | 24.0 | 24 | 0.5462 | 0.75 | | 0.4323 | 25.0 | 25 | 0.5459 | 0.75 | | 0.4323 | 26.0 | 26 | 0.5458 | 0.75 | | 0.4323 | 27.0 | 27 | 0.5458 | 0.75 | | 0.4323 | 28.0 | 28 | 0.5458 | 0.75 | | 0.4323 | 29.0 | 29 | 0.5454 | 0.75 | | 0.4032 | 30.0 | 30 | 0.5448 | 0.75 | | 0.4032 | 31.0 | 31 | 0.5440 | 0.75 | | 0.4032 | 32.0 | 32 | 0.5434 | 0.75 | | 0.4032 | 33.0 | 33 | 0.5425 | 0.75 | | 0.4032 | 34.0 | 34 | 0.5415 | 0.75 | | 0.4032 | 35.0 | 35 | 0.5403 | 0.75 | | 0.4032 | 36.0 | 36 | 0.5389 | 0.75 | | 0.4032 | 37.0 | 37 | 0.5374 | 0.75 | | 0.4032 | 38.0 | 38 | 0.5360 | 0.75 | | 0.4032 | 39.0 | 39 | 0.5343 | 0.75 | | 0.3556 | 40.0 | 40 | 0.5322 | 0.75 | | 0.3556 | 41.0 | 41 | 0.5305 | 0.75 | | 0.3556 | 42.0 | 42 | 0.5291 | 0.75 | | 0.3556 | 43.0 | 43 | 0.5279 | 0.75 | | 0.3556 | 44.0 | 44 | 0.5264 | 0.75 | | 0.3556 | 45.0 | 45 | 0.5250 | 0.75 | | 0.3556 | 46.0 | 46 | 0.5230 | 0.75 | | 0.3556 | 47.0 | 47 | 0.5217 | 0.75 | | 0.3556 | 48.0 | 48 | 0.5209 | 0.75 | | 0.3556 | 49.0 | 49 | 0.5198 | 0.75 | | 0.2992 | 50.0 | 50 | 0.5190 | 0.75 | | 0.2992 | 51.0 | 51 | 0.5184 | 0.75 | | 0.2992 | 52.0 | 52 | 0.5170 | 0.75 | | 0.2992 | 53.0 | 53 | 0.5162 | 0.75 | | 0.2992 | 54.0 | 54 | 0.5153 | 0.75 | | 0.2992 | 55.0 | 55 | 0.5141 | 0.75 | | 0.2992 | 56.0 | 56 | 0.5133 | 0.75 | | 0.2992 | 57.0 | 57 | 0.5117 | 0.75 | | 0.2992 | 58.0 | 58 | 0.5105 | 0.75 | | 0.2992 | 59.0 | 59 | 0.5097 | 0.75 | | 0.2515 | 60.0 | 60 | 0.5083 | 0.75 | | 0.2515 | 61.0 | 61 | 0.5063 | 0.75 | | 0.2515 | 62.0 | 62 | 0.5045 | 0.75 | | 0.2515 | 63.0 | 63 | 0.5019 | 0.75 | | 0.2515 | 64.0 | 64 | 0.4990 | 0.75 | | 0.2515 | 65.0 | 65 | 0.4951 | 0.75 | | 0.2515 | 66.0 | 66 | 0.4909 | 0.75 | | 0.2515 | 67.0 | 67 | 0.4877 | 0.7812 | | 0.2515 | 68.0 | 68 | 0.4854 | 0.7812 | | 0.2515 | 69.0 | 69 | 0.4830 | 0.7812 | | 0.2069 | 70.0 | 70 | 0.4801 | 0.7812 | | 0.2069 | 71.0 | 71 | 0.4776 | 0.7812 | | 0.2069 | 72.0 | 72 | 0.4750 | 0.7812 | | 0.2069 | 73.0 | 73 | 0.4728 | 0.7812 | | 0.2069 | 74.0 | 74 | 0.4715 | 0.7812 | | 0.2069 | 75.0 | 75 | 0.4701 | 0.7812 | | 0.2069 | 76.0 | 76 | 0.4695 | 0.7812 | | 0.2069 | 77.0 | 77 | 0.4686 | 0.7812 | | 0.2069 | 78.0 | 78 | 0.4681 | 0.8125 | | 0.2069 | 79.0 | 79 | 0.4664 | 0.8125 | | 0.1625 | 80.0 | 80 | 0.4640 | 0.8125 | | 0.1625 | 81.0 | 81 | 0.4609 | 0.8125 | | 0.1625 | 82.0 | 82 | 0.4572 | 0.7812 | | 0.1625 | 83.0 | 83 | 0.4533 | 0.7812 | | 0.1625 | 84.0 | 84 | 0.4497 | 0.7812 | | 0.1625 | 85.0 | 85 | 0.4464 | 0.7812 | | 0.1625 | 86.0 | 86 | 0.4433 | 0.7812 | | 0.1625 | 87.0 | 87 | 0.4408 | 0.8125 | | 0.1625 | 88.0 | 88 | 0.4384 | 0.8125 | | 0.1625 | 89.0 | 89 | 0.4360 | 0.8438 | | 0.1355 | 90.0 | 90 | 0.4335 | 0.8438 | | 0.1355 | 91.0 | 91 | 0.4312 | 0.8438 | | 0.1355 | 92.0 | 92 | 0.4290 | 0.8438 | | 0.1355 | 93.0 | 93 | 0.4270 | 0.8438 | | 0.1355 | 94.0 | 94 | 0.4252 | 0.8438 | | 0.1355 | 95.0 | 95 | 0.4230 | 0.8438 | | 0.1355 | 96.0 | 96 | 0.4206 | 0.8438 | | 0.1355 | 97.0 | 97 | 0.4182 | 0.8438 | | 0.1355 | 98.0 | 98 | 0.4160 | 0.8438 | | 0.1355 | 99.0 | 99 | 0.4139 | 0.8438 | | 0.1195 | 100.0 | 100 | 0.4117 | 0.8438 | | 0.1195 | 101.0 | 101 | 0.4093 | 0.8438 | | 0.1195 | 102.0 | 102 | 0.4067 | 0.8438 | | 0.1195 | 103.0 | 103 | 0.4044 | 0.875 | | 0.1195 | 104.0 | 104 | 0.4020 | 0.875 | | 0.1195 | 105.0 | 105 | 0.3995 | 0.875 | | 0.1195 | 106.0 | 106 | 0.3971 | 0.875 | | 0.1195 | 107.0 | 107 | 0.3945 | 0.875 | | 0.1195 | 108.0 | 108 | 0.3918 | 0.8438 | | 0.1195 | 109.0 | 109 | 0.3890 | 0.8438 | | 0.1029 | 110.0 | 110 | 0.3859 | 0.8438 | | 0.1029 | 111.0 | 111 | 0.3827 | 0.8438 | | 0.1029 | 112.0 | 112 | 0.3800 | 0.8438 | | 0.1029 | 113.0 | 113 | 0.3779 | 0.8438 | | 0.1029 | 114.0 | 114 | 0.3759 | 0.8438 | | 0.1029 | 115.0 | 115 | 0.3747 | 0.8438 | | 0.1029 | 116.0 | 116 | 0.3736 | 0.8438 | | 0.1029 | 117.0 | 117 | 0.3726 | 0.8438 | | 0.1029 | 118.0 | 118 | 0.3713 | 0.8438 | | 0.1029 | 119.0 | 119 | 0.3695 | 0.8438 | | 0.0883 | 120.0 | 120 | 0.3679 | 0.8438 | | 0.0883 | 121.0 | 121 | 0.3657 | 0.8438 | | 0.0883 | 122.0 | 122 | 0.3641 | 0.8438 | | 0.0883 | 123.0 | 123 | 0.3627 | 0.8438 | | 0.0883 | 124.0 | 124 | 0.3614 | 0.8438 | | 0.0883 | 125.0 | 125 | 0.3605 | 0.8438 | | 0.0883 | 126.0 | 126 | 0.3596 | 0.875 | | 0.0883 | 127.0 | 127 | 0.3584 | 0.875 | | 0.0883 | 128.0 | 128 | 0.3568 | 0.875 | | 0.0883 | 129.0 | 129 | 0.3553 | 0.875 | | 0.0747 | 130.0 | 130 | 0.3534 | 0.875 | | 0.0747 | 131.0 | 131 | 0.3512 | 0.875 | | 0.0747 | 132.0 | 132 | 0.3486 | 0.875 | | 0.0747 | 133.0 | 133 | 0.3465 | 0.875 | | 0.0747 | 134.0 | 134 | 0.3452 | 0.8438 | | 0.0747 | 135.0 | 135 | 0.3436 | 0.8438 | | 0.0747 | 136.0 | 136 | 0.3415 | 0.8438 | | 0.0747 | 137.0 | 137 | 0.3400 | 0.8438 | | 0.0747 | 138.0 | 138 | 0.3382 | 0.8438 | | 0.0747 | 139.0 | 139 | 0.3366 | 0.875 | | 0.0652 | 140.0 | 140 | 0.3352 | 0.875 | | 0.0652 | 141.0 | 141 | 0.3341 | 0.875 | | 0.0652 | 142.0 | 142 | 0.3327 | 0.875 | | 0.0652 | 143.0 | 143 | 0.3295 | 0.875 | | 0.0652 | 144.0 | 144 | 0.3268 | 0.875 | | 0.0652 | 145.0 | 145 | 0.3241 | 0.875 | | 0.0652 | 146.0 | 146 | 0.3216 | 0.875 | | 0.0652 | 147.0 | 147 | 0.3187 | 0.875 | | 0.0652 | 148.0 | 148 | 0.3162 | 0.875 | | 0.0652 | 149.0 | 149 | 0.3138 | 0.875 | | 0.0542 | 150.0 | 150 | 0.3113 | 0.875 | ### Framework versions - Transformers 4.32.0.dev0 - Pytorch 2.0.1+cu118 - Datasets 2.4.0 - Tokenizers 0.13.3