Lordemarco/SentimentAnalysis
Browse files- README.md +12 -4
- model.safetensors +1 -1
- training_args.bin +1 -1
README.md
CHANGED
|
@@ -4,6 +4,9 @@ license: cc-by-4.0
|
|
| 4 |
base_model: cardiffnlp/twitter-roberta-base-sentiment-latest
|
| 5 |
tags:
|
| 6 |
- generated_from_trainer
|
|
|
|
|
|
|
|
|
|
| 7 |
model-index:
|
| 8 |
- name: sentiment_model
|
| 9 |
results: []
|
|
@@ -15,6 +18,10 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 15 |
# sentiment_model
|
| 16 |
|
| 17 |
This model is a fine-tuned version of [cardiffnlp/twitter-roberta-base-sentiment-latest](https://huggingface.co/cardiffnlp/twitter-roberta-base-sentiment-latest) on an unknown dataset.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
|
| 19 |
## Model description
|
| 20 |
|
|
@@ -34,18 +41,19 @@ More information needed
|
|
| 34 |
|
| 35 |
The following hyperparameters were used during training:
|
| 36 |
- learning_rate: 5e-05
|
| 37 |
-
- train_batch_size:
|
| 38 |
-
- eval_batch_size:
|
| 39 |
- seed: 42
|
| 40 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 41 |
- lr_scheduler_type: linear
|
| 42 |
-
- num_epochs:
|
| 43 |
|
| 44 |
### Training results
|
| 45 |
|
| 46 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|
| 47 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
|
| 48 |
-
|
|
|
|
|
| 49 |
|
| 50 |
|
| 51 |
### Framework versions
|
|
|
|
| 4 |
base_model: cardiffnlp/twitter-roberta-base-sentiment-latest
|
| 5 |
tags:
|
| 6 |
- generated_from_trainer
|
| 7 |
+
metrics:
|
| 8 |
+
- accuracy
|
| 9 |
+
- f1
|
| 10 |
model-index:
|
| 11 |
- name: sentiment_model
|
| 12 |
results: []
|
|
|
|
| 18 |
# sentiment_model
|
| 19 |
|
| 20 |
This model is a fine-tuned version of [cardiffnlp/twitter-roberta-base-sentiment-latest](https://huggingface.co/cardiffnlp/twitter-roberta-base-sentiment-latest) on an unknown dataset.
|
| 21 |
+
It achieves the following results on the evaluation set:
|
| 22 |
+
- Loss: 0.7980
|
| 23 |
+
- Accuracy: 0.741
|
| 24 |
+
- F1: 0.7387
|
| 25 |
|
| 26 |
## Model description
|
| 27 |
|
|
|
|
| 41 |
|
| 42 |
The following hyperparameters were used during training:
|
| 43 |
- learning_rate: 5e-05
|
| 44 |
+
- train_batch_size: 8
|
| 45 |
+
- eval_batch_size: 16
|
| 46 |
- seed: 42
|
| 47 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 48 |
- lr_scheduler_type: linear
|
| 49 |
+
- num_epochs: 2
|
| 50 |
|
| 51 |
### Training results
|
| 52 |
|
| 53 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|
| 54 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
|
| 55 |
+
| 0.8162 | 1.0 | 125 | 0.6616 | 0.69 | 0.6786 |
|
| 56 |
+
| 0.1307 | 2.0 | 250 | 0.7980 | 0.741 | 0.7387 |
|
| 57 |
|
| 58 |
|
| 59 |
### Framework versions
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 498615900
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ecf11b9711f15a3edd6fecfb972de9b498c2945b0154d07517f534e96965509a
|
| 3 |
size 498615900
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 5112
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5191415cea706dbe8d124499e5be6108b7a758a3904873360e3a6023ed99d6f2
|
| 3 |
size 5112
|