Instructions to use nandapraisal/relevance-analysis with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nandapraisal/relevance-analysis with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="nandapraisal/relevance-analysis")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("nandapraisal/relevance-analysis") model = AutoModelForSequenceClassification.from_pretrained("nandapraisal/relevance-analysis", device_map="auto") - Notebooks
- Google Colab
- Kaggle
indobert-relevance-nanda
Browse files- README.md +116 -10
- model.safetensors +1 -1
README.md
CHANGED
|
@@ -17,8 +17,8 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 17 |
|
| 18 |
This model is a fine-tuned version of [mdhugol/indonesia-bert-sentiment-classification](https://huggingface.co/mdhugol/indonesia-bert-sentiment-classification) on the None dataset.
|
| 19 |
It achieves the following results on the evaluation set:
|
| 20 |
-
- Loss:
|
| 21 |
-
- Accuracy: 0.
|
| 22 |
|
| 23 |
## Model description
|
| 24 |
|
|
@@ -44,18 +44,124 @@ The following hyperparameters were used during training:
|
|
| 44 |
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 45 |
- lr_scheduler_type: linear
|
| 46 |
- lr_scheduler_warmup_steps: 100
|
| 47 |
-
- num_epochs:
|
| 48 |
- mixed_precision_training: Native AMP
|
| 49 |
|
| 50 |
### Training results
|
| 51 |
|
| 52 |
-
| Training Loss | Epoch
|
| 53 |
-
|:-------------:|:------:|:----:|:---------------:|:--------:|
|
| 54 |
-
|
|
| 55 |
-
|
|
| 56 |
-
|
|
| 57 |
-
|
|
| 58 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 59 |
|
| 60 |
|
| 61 |
### Framework versions
|
|
|
|
| 17 |
|
| 18 |
This model is a fine-tuned version of [mdhugol/indonesia-bert-sentiment-classification](https://huggingface.co/mdhugol/indonesia-bert-sentiment-classification) on the None dataset.
|
| 19 |
It achieves the following results on the evaluation set:
|
| 20 |
+
- Loss: 0.5308
|
| 21 |
+
- Accuracy: 0.8230
|
| 22 |
|
| 23 |
## Model description
|
| 24 |
|
|
|
|
| 44 |
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 45 |
- lr_scheduler_type: linear
|
| 46 |
- lr_scheduler_warmup_steps: 100
|
| 47 |
+
- num_epochs: 200
|
| 48 |
- mixed_precision_training: Native AMP
|
| 49 |
|
| 50 |
### Training results
|
| 51 |
|
| 52 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 53 |
+
|:-------------:|:--------:|:-----:|:---------------:|:--------:|
|
| 54 |
+
| 3.4407 | 1.7986 | 500 | 3.4936 | 0.2 |
|
| 55 |
+
| 3.0684 | 3.5971 | 1000 | 3.1423 | 0.2162 |
|
| 56 |
+
| 2.7449 | 5.3957 | 1500 | 2.7929 | 0.2243 |
|
| 57 |
+
| 2.4066 | 7.1942 | 2000 | 2.4499 | 0.2459 |
|
| 58 |
+
| 2.0853 | 8.9928 | 2500 | 2.1284 | 0.2838 |
|
| 59 |
+
| 1.8021 | 10.7914 | 3000 | 1.8369 | 0.3514 |
|
| 60 |
+
| 1.546 | 12.5899 | 3500 | 1.5842 | 0.4176 |
|
| 61 |
+
| 1.3521 | 14.3885 | 4000 | 1.3852 | 0.4811 |
|
| 62 |
+
| 1.1889 | 16.1871 | 4500 | 1.2250 | 0.5392 |
|
| 63 |
+
| 1.0671 | 17.9856 | 5000 | 1.1067 | 0.5824 |
|
| 64 |
+
| 0.9838 | 19.7842 | 5500 | 1.0203 | 0.6365 |
|
| 65 |
+
| 0.8825 | 21.5827 | 6000 | 0.9541 | 0.6757 |
|
| 66 |
+
| 0.846 | 23.3813 | 6500 | 0.9053 | 0.7027 |
|
| 67 |
+
| 0.8263 | 25.1799 | 7000 | 0.8669 | 0.7284 |
|
| 68 |
+
| 0.7888 | 26.9784 | 7500 | 0.8360 | 0.75 |
|
| 69 |
+
| 0.7516 | 28.7770 | 8000 | 0.8106 | 0.7608 |
|
| 70 |
+
| 0.7417 | 30.5755 | 8500 | 0.7894 | 0.7703 |
|
| 71 |
+
| 0.7277 | 32.3741 | 9000 | 0.7702 | 0.7797 |
|
| 72 |
+
| 0.7217 | 34.1727 | 9500 | 0.7532 | 0.7878 |
|
| 73 |
+
| 0.694 | 35.9712 | 10000 | 0.7382 | 0.7932 |
|
| 74 |
+
| 0.673 | 37.7698 | 10500 | 0.7249 | 0.7973 |
|
| 75 |
+
| 0.6955 | 39.5683 | 11000 | 0.7124 | 0.7986 |
|
| 76 |
+
| 0.6544 | 41.3669 | 11500 | 0.7013 | 0.8027 |
|
| 77 |
+
| 0.6548 | 43.1655 | 12000 | 0.6906 | 0.8068 |
|
| 78 |
+
| 0.6355 | 44.9640 | 12500 | 0.6811 | 0.8108 |
|
| 79 |
+
| 0.6386 | 46.7626 | 13000 | 0.6720 | 0.8122 |
|
| 80 |
+
| 0.627 | 48.5612 | 13500 | 0.6637 | 0.8122 |
|
| 81 |
+
| 0.6199 | 50.3597 | 14000 | 0.6559 | 0.8122 |
|
| 82 |
+
| 0.6291 | 52.1583 | 14500 | 0.6487 | 0.8122 |
|
| 83 |
+
| 0.5938 | 53.9568 | 15000 | 0.6422 | 0.8122 |
|
| 84 |
+
| 0.603 | 55.7554 | 15500 | 0.6358 | 0.8135 |
|
| 85 |
+
| 0.594 | 57.5540 | 16000 | 0.6298 | 0.8162 |
|
| 86 |
+
| 0.5931 | 59.3525 | 16500 | 0.6243 | 0.8176 |
|
| 87 |
+
| 0.5865 | 61.1511 | 17000 | 0.6189 | 0.8176 |
|
| 88 |
+
| 0.5797 | 62.9496 | 17500 | 0.6143 | 0.8176 |
|
| 89 |
+
| 0.5764 | 64.7482 | 18000 | 0.6099 | 0.8176 |
|
| 90 |
+
| 0.5856 | 66.5468 | 18500 | 0.6054 | 0.8176 |
|
| 91 |
+
| 0.5513 | 68.3453 | 19000 | 0.6019 | 0.8176 |
|
| 92 |
+
| 0.5823 | 70.1439 | 19500 | 0.5978 | 0.8176 |
|
| 93 |
+
| 0.5588 | 71.9424 | 20000 | 0.5945 | 0.8176 |
|
| 94 |
+
| 0.5571 | 73.7410 | 20500 | 0.5913 | 0.8189 |
|
| 95 |
+
| 0.5722 | 75.5396 | 21000 | 0.5882 | 0.8189 |
|
| 96 |
+
| 0.5507 | 77.3381 | 21500 | 0.5853 | 0.8189 |
|
| 97 |
+
| 0.5524 | 79.1367 | 22000 | 0.5827 | 0.8189 |
|
| 98 |
+
| 0.5487 | 80.9353 | 22500 | 0.5800 | 0.8189 |
|
| 99 |
+
| 0.545 | 82.7338 | 23000 | 0.5776 | 0.8189 |
|
| 100 |
+
| 0.5465 | 84.5324 | 23500 | 0.5754 | 0.8189 |
|
| 101 |
+
| 0.5645 | 86.3309 | 24000 | 0.5730 | 0.8189 |
|
| 102 |
+
| 0.5195 | 88.1295 | 24500 | 0.5712 | 0.8189 |
|
| 103 |
+
| 0.5405 | 89.9281 | 25000 | 0.5692 | 0.8189 |
|
| 104 |
+
| 0.5331 | 91.7266 | 25500 | 0.5674 | 0.8189 |
|
| 105 |
+
| 0.5384 | 93.5252 | 26000 | 0.5657 | 0.8189 |
|
| 106 |
+
| 0.5407 | 95.3237 | 26500 | 0.5639 | 0.8189 |
|
| 107 |
+
| 0.5368 | 97.1223 | 27000 | 0.5623 | 0.8189 |
|
| 108 |
+
| 0.5254 | 98.9209 | 27500 | 0.5607 | 0.8189 |
|
| 109 |
+
| 0.5327 | 100.7194 | 28000 | 0.5592 | 0.8189 |
|
| 110 |
+
| 0.5309 | 102.5180 | 28500 | 0.5578 | 0.8203 |
|
| 111 |
+
| 0.5309 | 104.3165 | 29000 | 0.5564 | 0.8203 |
|
| 112 |
+
| 0.516 | 106.1151 | 29500 | 0.5550 | 0.8203 |
|
| 113 |
+
| 0.5325 | 107.9137 | 30000 | 0.5537 | 0.8203 |
|
| 114 |
+
| 0.5239 | 109.7122 | 30500 | 0.5525 | 0.8203 |
|
| 115 |
+
| 0.5122 | 111.5108 | 31000 | 0.5514 | 0.8203 |
|
| 116 |
+
| 0.5309 | 113.3094 | 31500 | 0.5502 | 0.8203 |
|
| 117 |
+
| 0.5185 | 115.1079 | 32000 | 0.5491 | 0.8203 |
|
| 118 |
+
| 0.5209 | 116.9065 | 32500 | 0.5480 | 0.8203 |
|
| 119 |
+
| 0.5101 | 118.7050 | 33000 | 0.5470 | 0.8203 |
|
| 120 |
+
| 0.5063 | 120.5036 | 33500 | 0.5461 | 0.8203 |
|
| 121 |
+
| 0.5241 | 122.3022 | 34000 | 0.5452 | 0.8203 |
|
| 122 |
+
| 0.5056 | 124.1007 | 34500 | 0.5444 | 0.8203 |
|
| 123 |
+
| 0.5122 | 125.8993 | 35000 | 0.5435 | 0.8203 |
|
| 124 |
+
| 0.5065 | 127.6978 | 35500 | 0.5428 | 0.8203 |
|
| 125 |
+
| 0.5142 | 129.4964 | 36000 | 0.5419 | 0.8189 |
|
| 126 |
+
| 0.5115 | 131.2950 | 36500 | 0.5412 | 0.8189 |
|
| 127 |
+
| 0.5158 | 133.0935 | 37000 | 0.5405 | 0.8189 |
|
| 128 |
+
| 0.5076 | 134.8921 | 37500 | 0.5398 | 0.8203 |
|
| 129 |
+
| 0.5079 | 136.6906 | 38000 | 0.5393 | 0.8203 |
|
| 130 |
+
| 0.5014 | 138.4892 | 38500 | 0.5386 | 0.8203 |
|
| 131 |
+
| 0.511 | 140.2878 | 39000 | 0.5380 | 0.8203 |
|
| 132 |
+
| 0.5035 | 142.0863 | 39500 | 0.5375 | 0.8203 |
|
| 133 |
+
| 0.5008 | 143.8849 | 40000 | 0.5370 | 0.8203 |
|
| 134 |
+
| 0.5052 | 145.6835 | 40500 | 0.5365 | 0.8216 |
|
| 135 |
+
| 0.508 | 147.4820 | 41000 | 0.5360 | 0.8216 |
|
| 136 |
+
| 0.4975 | 149.2806 | 41500 | 0.5356 | 0.8216 |
|
| 137 |
+
| 0.5102 | 151.0791 | 42000 | 0.5351 | 0.8216 |
|
| 138 |
+
| 0.5092 | 152.8777 | 42500 | 0.5346 | 0.8216 |
|
| 139 |
+
| 0.4985 | 154.6763 | 43000 | 0.5343 | 0.8216 |
|
| 140 |
+
| 0.4997 | 156.4748 | 43500 | 0.5339 | 0.8216 |
|
| 141 |
+
| 0.5058 | 158.2734 | 44000 | 0.5336 | 0.8216 |
|
| 142 |
+
| 0.4978 | 160.0719 | 44500 | 0.5333 | 0.8230 |
|
| 143 |
+
| 0.4983 | 161.8705 | 45000 | 0.5330 | 0.8230 |
|
| 144 |
+
| 0.5097 | 163.6691 | 45500 | 0.5327 | 0.8230 |
|
| 145 |
+
| 0.4966 | 165.4676 | 46000 | 0.5325 | 0.8230 |
|
| 146 |
+
| 0.5003 | 167.2662 | 46500 | 0.5322 | 0.8230 |
|
| 147 |
+
| 0.4967 | 169.0647 | 47000 | 0.5320 | 0.8230 |
|
| 148 |
+
| 0.497 | 170.8633 | 47500 | 0.5318 | 0.8230 |
|
| 149 |
+
| 0.5108 | 172.6619 | 48000 | 0.5316 | 0.8230 |
|
| 150 |
+
| 0.4891 | 174.4604 | 48500 | 0.5315 | 0.8230 |
|
| 151 |
+
| 0.4967 | 176.2590 | 49000 | 0.5314 | 0.8230 |
|
| 152 |
+
| 0.5029 | 178.0576 | 49500 | 0.5313 | 0.8230 |
|
| 153 |
+
| 0.5023 | 179.8561 | 50000 | 0.5312 | 0.8230 |
|
| 154 |
+
| 0.5007 | 181.6547 | 50500 | 0.5311 | 0.8230 |
|
| 155 |
+
| 0.4966 | 183.4532 | 51000 | 0.5310 | 0.8230 |
|
| 156 |
+
| 0.4921 | 185.2518 | 51500 | 0.5310 | 0.8230 |
|
| 157 |
+
| 0.4966 | 187.0504 | 52000 | 0.5309 | 0.8230 |
|
| 158 |
+
| 0.5056 | 188.8489 | 52500 | 0.5309 | 0.8230 |
|
| 159 |
+
| 0.4888 | 190.6475 | 53000 | 0.5309 | 0.8230 |
|
| 160 |
+
| 0.4995 | 192.4460 | 53500 | 0.5309 | 0.8230 |
|
| 161 |
+
| 0.4976 | 194.2446 | 54000 | 0.5309 | 0.8230 |
|
| 162 |
+
| 0.4942 | 196.0432 | 54500 | 0.5308 | 0.8230 |
|
| 163 |
+
| 0.4993 | 197.8417 | 55000 | 0.5308 | 0.8230 |
|
| 164 |
+
| 0.4988 | 199.6403 | 55500 | 0.5308 | 0.8230 |
|
| 165 |
|
| 166 |
|
| 167 |
### Framework versions
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 497798148
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c2e59f08e9ea05bb179fc21b97bf8ed232375e20a09a5c3a094c24d35193afca
|
| 3 |
size 497798148
|