Sentiment Fa
Browse files
README.md
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
license: apache-2.0
|
| 4 |
+
base_model: dadashzadeh/roberta-sentiment-persian
|
| 5 |
+
tags:
|
| 6 |
+
- generated_from_trainer
|
| 7 |
+
metrics:
|
| 8 |
+
- accuracy
|
| 9 |
+
- f1
|
| 10 |
+
model-index:
|
| 11 |
+
- name: Roberta-Sentiment-Fa
|
| 12 |
+
results: []
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 16 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 17 |
+
|
| 18 |
+
# Roberta-Sentiment-Fa
|
| 19 |
+
|
| 20 |
+
This model is a fine-tuned version of [dadashzadeh/roberta-sentiment-persian](https://huggingface.co/dadashzadeh/roberta-sentiment-persian) on the None dataset.
|
| 21 |
+
It achieves the following results on the evaluation set:
|
| 22 |
+
- Loss: 1.4132
|
| 23 |
+
- Accuracy: 0.8167
|
| 24 |
+
- F1: 0.8000
|
| 25 |
+
|
| 26 |
+
## Model description
|
| 27 |
+
|
| 28 |
+
More information needed
|
| 29 |
+
|
| 30 |
+
## Intended uses & limitations
|
| 31 |
+
|
| 32 |
+
More information needed
|
| 33 |
+
|
| 34 |
+
## Training and evaluation data
|
| 35 |
+
|
| 36 |
+
More information needed
|
| 37 |
+
|
| 38 |
+
## Training procedure
|
| 39 |
+
|
| 40 |
+
### Training hyperparameters
|
| 41 |
+
|
| 42 |
+
The following hyperparameters were used during training:
|
| 43 |
+
- learning_rate: 2e-05
|
| 44 |
+
- train_batch_size: 8
|
| 45 |
+
- eval_batch_size: 8
|
| 46 |
+
- seed: 42
|
| 47 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 48 |
+
- lr_scheduler_type: linear
|
| 49 |
+
- num_epochs: 10
|
| 50 |
+
|
| 51 |
+
### Training results
|
| 52 |
+
|
| 53 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|
| 54 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
|
| 55 |
+
| No log | 1.0 | 270 | 0.7130 | 0.7958 | 0.7818 |
|
| 56 |
+
| 0.2504 | 2.0 | 540 | 0.7877 | 0.8167 | 0.7980 |
|
| 57 |
+
| 0.2504 | 3.0 | 810 | 0.8782 | 0.8333 | 0.8182 |
|
| 58 |
+
| 0.1125 | 4.0 | 1080 | 0.9200 | 0.8333 | 0.8248 |
|
| 59 |
+
| 0.1125 | 5.0 | 1350 | 1.0536 | 0.825 | 0.8078 |
|
| 60 |
+
| 0.0337 | 6.0 | 1620 | 1.3550 | 0.825 | 0.8123 |
|
| 61 |
+
| 0.0337 | 7.0 | 1890 | 1.3131 | 0.825 | 0.8152 |
|
| 62 |
+
| 0.0073 | 8.0 | 2160 | 1.3976 | 0.8167 | 0.8005 |
|
| 63 |
+
| 0.0073 | 9.0 | 2430 | 1.3725 | 0.8167 | 0.8000 |
|
| 64 |
+
| 0.0037 | 10.0 | 2700 | 1.4132 | 0.8167 | 0.8000 |
|
| 65 |
+
|
| 66 |
+
|
| 67 |
+
### Framework versions
|
| 68 |
+
|
| 69 |
+
- Transformers 4.44.2
|
| 70 |
+
- Pytorch 2.4.1+cu121
|
| 71 |
+
- Datasets 3.0.1
|
| 72 |
+
- Tokenizers 0.19.1
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 473225820
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9755b9f49c781d85988c508e468df173dc47d62efd0882440eebf132293887e8
|
| 3 |
size 473225820
|
runs/Oct11_06-34-08_b0be7e6222f4/events.out.tfevents.1728628465.b0be7e6222f4.1498.1
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:522a39a1a89844095fef27c9397439064261ca1d547efb0d0790039264b35270
|
| 3 |
+
size 10323
|