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: ternary_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 |
+
# ternary_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.4914
|
21 |
+
- Accuracy: 0.8458
|
22 |
+
- F1 Score: 0.8459
|
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: 1e-05
|
42 |
+
- train_batch_size: 8
|
43 |
+
- eval_batch_size: 8
|
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.496 | 1.0 | 1394 | 0.4708 | 0.8192 | 0.8186 |
|
54 |
+
| 0.4177 | 2.0 | 2788 | 0.4914 | 0.8458 | 0.8459 |
|
55 |
+
| 0.3237 | 3.0 | 4182 | 0.5736 | 0.8354 | 0.8356 |
|
56 |
+
| 0.2874 | 4.0 | 5576 | 0.7309 | 0.8216 | 0.8217 |
|
57 |
+
| 0.2142 | 5.0 | 6970 | 0.9256 | 0.8184 | 0.8187 |
|
58 |
+
| 0.1494 | 6.0 | 8364 | 1.0608 | 0.8200 | 0.8197 |
|
59 |
+
| 0.1396 | 7.0 | 9758 | 1.0638 | 0.8257 | 0.8256 |
|
60 |
+
| 0.0983 | 8.0 | 11152 | 1.2088 | 0.8200 | 0.8200 |
|
61 |
+
| 0.0907 | 9.0 | 12546 | 1.3653 | 0.8079 | 0.8083 |
|
62 |
+
| 0.0727 | 10.0 | 13940 | 1.3032 | 0.8305 | 0.8307 |
|
63 |
+
| 0.0526 | 11.0 | 15334 | 1.4689 | 0.8184 | 0.8184 |
|
64 |
+
| 0.0413 | 12.0 | 16728 | 1.4875 | 0.8224 | 0.8227 |
|
65 |
+
| 0.0265 | 13.0 | 18122 | 1.6185 | 0.8241 | 0.8242 |
|
66 |
+
| 0.0366 | 14.0 | 19516 | 1.7135 | 0.8168 | 0.8168 |
|
67 |
+
| 0.0251 | 15.0 | 20910 | 1.6607 | 0.8249 | 0.8251 |
|
68 |
+
| 0.0151 | 16.0 | 22304 | 1.7922 | 0.8111 | 0.8111 |
|
69 |
+
| 0.0159 | 17.0 | 23698 | 1.7303 | 0.8200 | 0.8201 |
|
70 |
+
| 0.0163 | 18.0 | 25092 | 1.7555 | 0.8232 | 0.8232 |
|
71 |
+
| 0.0178 | 19.0 | 26486 | 1.7680 | 0.8232 | 0.8232 |
|
72 |
+
| 0.0147 | 20.0 | 27880 | 1.7546 | 0.8216 | 0.8217 |
|
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 1883740556
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cc0855b89a956b5b8a512d60ae365bb4690f98babcf11999e8bf6fc7be119d48
|
3 |
size 1883740556
|