Model save
Browse files- README.md +86 -0
- classification_report_test.txt +14 -0
- confusion_matrix_test.csv +4 -0
- model.safetensors +1 -1
README.md
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
base_model: uitnlp/visobert
|
| 4 |
+
tags:
|
| 5 |
+
- generated_from_trainer
|
| 6 |
+
metrics:
|
| 7 |
+
- accuracy
|
| 8 |
+
model-index:
|
| 9 |
+
- name: visobert_v1
|
| 10 |
+
results: []
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 14 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 15 |
+
|
| 16 |
+
# visobert_v1
|
| 17 |
+
|
| 18 |
+
This model is a fine-tuned version of [uitnlp/visobert](https://huggingface.co/uitnlp/visobert) on an unknown dataset.
|
| 19 |
+
It achieves the following results on the evaluation set:
|
| 20 |
+
- Loss: 0.4766
|
| 21 |
+
- Accuracy: 0.9337
|
| 22 |
+
- Precision Macro: 0.8527
|
| 23 |
+
- Recall Macro: 0.8055
|
| 24 |
+
- F1 Macro: 0.8251
|
| 25 |
+
- F1 Weighted: 0.9316
|
| 26 |
+
|
| 27 |
+
## Model description
|
| 28 |
+
|
| 29 |
+
More information needed
|
| 30 |
+
|
| 31 |
+
## Intended uses & limitations
|
| 32 |
+
|
| 33 |
+
More information needed
|
| 34 |
+
|
| 35 |
+
## Training and evaluation data
|
| 36 |
+
|
| 37 |
+
More information needed
|
| 38 |
+
|
| 39 |
+
## Training procedure
|
| 40 |
+
|
| 41 |
+
### Training hyperparameters
|
| 42 |
+
|
| 43 |
+
The following hyperparameters were used during training:
|
| 44 |
+
- learning_rate: 3e-05
|
| 45 |
+
- train_batch_size: 64
|
| 46 |
+
- eval_batch_size: 64
|
| 47 |
+
- seed: 42
|
| 48 |
+
- gradient_accumulation_steps: 2
|
| 49 |
+
- total_train_batch_size: 128
|
| 50 |
+
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 51 |
+
- lr_scheduler_type: linear
|
| 52 |
+
- num_epochs: 20
|
| 53 |
+
- mixed_precision_training: Native AMP
|
| 54 |
+
|
| 55 |
+
### Training results
|
| 56 |
+
|
| 57 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision Macro | Recall Macro | F1 Macro | F1 Weighted |
|
| 58 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:---------------:|:------------:|:--------:|:-----------:|
|
| 59 |
+
| 0.377 | 1.0 | 90 | 0.2037 | 0.9406 | 0.9012 | 0.7694 | 0.8068 | 0.9350 |
|
| 60 |
+
| 0.1659 | 2.0 | 180 | 0.2094 | 0.9356 | 0.8396 | 0.8232 | 0.8309 | 0.9348 |
|
| 61 |
+
| 0.0966 | 3.0 | 270 | 0.2278 | 0.9381 | 0.8463 | 0.8165 | 0.8298 | 0.9367 |
|
| 62 |
+
| 0.0696 | 4.0 | 360 | 0.2619 | 0.9318 | 0.8438 | 0.7756 | 0.8003 | 0.9280 |
|
| 63 |
+
| 0.0468 | 5.0 | 450 | 0.3120 | 0.9324 | 0.8362 | 0.8128 | 0.8234 | 0.9313 |
|
| 64 |
+
| 0.0337 | 6.0 | 540 | 0.3576 | 0.9311 | 0.8376 | 0.7912 | 0.8103 | 0.9287 |
|
| 65 |
+
| 0.0244 | 7.0 | 630 | 0.3796 | 0.9292 | 0.8428 | 0.7816 | 0.8051 | 0.9261 |
|
| 66 |
+
| 0.019 | 8.0 | 720 | 0.4309 | 0.9349 | 0.8612 | 0.8070 | 0.8286 | 0.9327 |
|
| 67 |
+
| 0.0094 | 9.0 | 810 | 0.4022 | 0.9337 | 0.8565 | 0.8134 | 0.8318 | 0.9319 |
|
| 68 |
+
| 0.0098 | 10.0 | 900 | 0.4181 | 0.9349 | 0.8534 | 0.8062 | 0.8259 | 0.9329 |
|
| 69 |
+
| 0.0039 | 11.0 | 990 | 0.4484 | 0.9330 | 0.8542 | 0.8091 | 0.8281 | 0.9311 |
|
| 70 |
+
| 0.0028 | 12.0 | 1080 | 0.4580 | 0.9349 | 0.8554 | 0.8106 | 0.8294 | 0.9330 |
|
| 71 |
+
| 0.0028 | 13.0 | 1170 | 0.4554 | 0.9318 | 0.8613 | 0.7998 | 0.8242 | 0.9292 |
|
| 72 |
+
| 0.0031 | 14.0 | 1260 | 0.4575 | 0.9330 | 0.8579 | 0.8009 | 0.8237 | 0.9306 |
|
| 73 |
+
| 0.0018 | 15.0 | 1350 | 0.4547 | 0.9356 | 0.8617 | 0.8068 | 0.8291 | 0.9333 |
|
| 74 |
+
| 0.0004 | 16.0 | 1440 | 0.4631 | 0.9343 | 0.8455 | 0.8182 | 0.8305 | 0.9331 |
|
| 75 |
+
| 0.0006 | 17.0 | 1530 | 0.4642 | 0.9356 | 0.8542 | 0.8152 | 0.8319 | 0.9339 |
|
| 76 |
+
| 0.0008 | 18.0 | 1620 | 0.4736 | 0.9343 | 0.8534 | 0.8141 | 0.8311 | 0.9326 |
|
| 77 |
+
| 0.0014 | 19.0 | 1710 | 0.4753 | 0.9337 | 0.8527 | 0.8055 | 0.8251 | 0.9316 |
|
| 78 |
+
| 0.0009 | 20.0 | 1800 | 0.4766 | 0.9337 | 0.8527 | 0.8055 | 0.8251 | 0.9316 |
|
| 79 |
+
|
| 80 |
+
|
| 81 |
+
### Framework versions
|
| 82 |
+
|
| 83 |
+
- Transformers 4.55.0
|
| 84 |
+
- Pytorch 2.7.0+cu126
|
| 85 |
+
- Datasets 4.0.0
|
| 86 |
+
- Tokenizers 0.21.4
|
classification_report_test.txt
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
precision recall f1-score support
|
| 2 |
+
|
| 3 |
+
negative 0.93 0.95 0.94 1409
|
| 4 |
+
neutral 0.64 0.43 0.51 167
|
| 5 |
+
positive 0.94 0.94 0.94 1590
|
| 6 |
+
|
| 7 |
+
accuracy 0.92 3166
|
| 8 |
+
macro avg 0.83 0.77 0.80 3166
|
| 9 |
+
weighted avg 0.92 0.92 0.92 3166
|
| 10 |
+
|
| 11 |
+
Confusion matrix:
|
| 12 |
+
[[1345 22 42]
|
| 13 |
+
[ 38 71 58]
|
| 14 |
+
[ 70 18 1502]]
|
confusion_matrix_test.csv
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
,negative,neutral,positive
|
| 2 |
+
negative,1345,22,42
|
| 3 |
+
neutral,38,71,58
|
| 4 |
+
positive,70,18,1502
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 390297116
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:005b329b5468bf28c2da515d125eb9bfbfa8bc97c8c12cb88ebd88621664c4d3
|
| 3 |
size 390297116
|