End of training
Browse files- README.md +80 -0
- model.safetensors +1 -1
README.md
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
base_model: sentence-transformers/LaBSE
|
| 4 |
+
tags:
|
| 5 |
+
- generated_from_trainer
|
| 6 |
+
metrics:
|
| 7 |
+
- accuracy
|
| 8 |
+
model-index:
|
| 9 |
+
- name: binary_persian_sentiment_analysis
|
| 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 |
+
# binary_persian_sentiment_analysis
|
| 17 |
+
|
| 18 |
+
This model is a fine-tuned version of [sentence-transformers/LaBSE](https://huggingface.co/sentence-transformers/LaBSE) on the None dataset.
|
| 19 |
+
It achieves the following results on the evaluation set:
|
| 20 |
+
- Loss: 0.5060
|
| 21 |
+
- Accuracy: 0.8805
|
| 22 |
+
- F1 Score: 0.8805
|
| 23 |
+
|
| 24 |
+
## Model description
|
| 25 |
+
|
| 26 |
+
More information needed
|
| 27 |
+
|
| 28 |
+
## Intended uses & limitations
|
| 29 |
+
|
| 30 |
+
More information needed
|
| 31 |
+
|
| 32 |
+
## Training and evaluation data
|
| 33 |
+
|
| 34 |
+
More information needed
|
| 35 |
+
|
| 36 |
+
## Training procedure
|
| 37 |
+
|
| 38 |
+
### Training hyperparameters
|
| 39 |
+
|
| 40 |
+
The following hyperparameters were used during training:
|
| 41 |
+
- learning_rate: 2e-05
|
| 42 |
+
- train_batch_size: 2
|
| 43 |
+
- eval_batch_size: 2
|
| 44 |
+
- seed: 42
|
| 45 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 46 |
+
- lr_scheduler_type: linear
|
| 47 |
+
- num_epochs: 20
|
| 48 |
+
|
| 49 |
+
### Training results
|
| 50 |
+
|
| 51 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 Score |
|
| 52 |
+
|:-------------:|:-----:|:------:|:---------------:|:--------:|:--------:|
|
| 53 |
+
| 0.5045 | 1.0 | 8359 | 0.5295 | 0.8816 | 0.8814 |
|
| 54 |
+
| 0.4211 | 2.0 | 16718 | 0.6029 | 0.8837 | 0.8837 |
|
| 55 |
+
| 0.3501 | 3.0 | 25077 | 0.5060 | 0.8805 | 0.8805 |
|
| 56 |
+
| 0.2541 | 4.0 | 33436 | 0.7740 | 0.8762 | 0.8762 |
|
| 57 |
+
| 0.2065 | 5.0 | 41795 | 0.8071 | 0.8746 | 0.8745 |
|
| 58 |
+
| 0.1915 | 6.0 | 50154 | 0.8341 | 0.8805 | 0.8805 |
|
| 59 |
+
| 0.137 | 7.0 | 58513 | 0.9235 | 0.8644 | 0.8644 |
|
| 60 |
+
| 0.0605 | 8.0 | 66872 | 0.9695 | 0.8584 | 0.8584 |
|
| 61 |
+
| 0.0405 | 9.0 | 75231 | 1.0090 | 0.8751 | 0.8751 |
|
| 62 |
+
| 0.0712 | 10.0 | 83590 | 1.0134 | 0.8767 | 0.8767 |
|
| 63 |
+
| 0.0295 | 11.0 | 91949 | 1.0266 | 0.8708 | 0.8709 |
|
| 64 |
+
| 0.0704 | 12.0 | 100308 | 0.9940 | 0.8767 | 0.8767 |
|
| 65 |
+
| 0.0233 | 13.0 | 108667 | 1.0747 | 0.8762 | 0.8762 |
|
| 66 |
+
| 0.0153 | 14.0 | 117026 | 1.0747 | 0.8741 | 0.8741 |
|
| 67 |
+
| 0.0245 | 15.0 | 125385 | 1.0027 | 0.8837 | 0.8837 |
|
| 68 |
+
| 0.0618 | 16.0 | 133744 | 0.9939 | 0.8778 | 0.8778 |
|
| 69 |
+
| 0.0087 | 17.0 | 142103 | 1.0448 | 0.8854 | 0.8853 |
|
| 70 |
+
| 0.0174 | 18.0 | 150462 | 1.0339 | 0.8837 | 0.8838 |
|
| 71 |
+
| 0.0185 | 19.0 | 158821 | 1.1171 | 0.8778 | 0.8778 |
|
| 72 |
+
| 0.0075 | 20.0 | 167180 | 1.1022 | 0.8827 | 0.8827 |
|
| 73 |
+
|
| 74 |
+
|
| 75 |
+
### Framework versions
|
| 76 |
+
|
| 77 |
+
- Transformers 4.35.2
|
| 78 |
+
- Pytorch 2.1.0+cu121
|
| 79 |
+
- Datasets 2.16.1
|
| 80 |
+
- Tokenizers 0.15.0
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1883737480
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:04ea1ec1fdcbbbc9b8087ad1f92871cba5637dab3737c01927a7a4f028ecd3f3
|
| 3 |
size 1883737480
|