update model card README.md
Browse files
README.md
CHANGED
|
@@ -4,9 +4,36 @@ tags:
|
|
| 4 |
- generated_from_trainer
|
| 5 |
datasets:
|
| 6 |
- rotten_tomatoes_movie_review
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
model-index:
|
| 8 |
- name: my_distilbert_model
|
| 9 |
-
results:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
---
|
| 11 |
|
| 12 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
@@ -15,6 +42,12 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 15 |
# my_distilbert_model
|
| 16 |
|
| 17 |
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the rotten_tomatoes_movie_review dataset.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
|
| 19 |
## Model description
|
| 20 |
|
|
@@ -39,13 +72,15 @@ The following hyperparameters were used during training:
|
|
| 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 | Precision | Recall |
|
| 47 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:---------:|:------:|
|
| 48 |
-
| No log | 1.0 | 267 | 0.
|
|
|
|
|
|
|
| 49 |
|
| 50 |
|
| 51 |
### Framework versions
|
|
|
|
| 4 |
- generated_from_trainer
|
| 5 |
datasets:
|
| 6 |
- rotten_tomatoes_movie_review
|
| 7 |
+
metrics:
|
| 8 |
+
- accuracy
|
| 9 |
+
- f1
|
| 10 |
+
- precision
|
| 11 |
+
- recall
|
| 12 |
model-index:
|
| 13 |
- name: my_distilbert_model
|
| 14 |
+
results:
|
| 15 |
+
- task:
|
| 16 |
+
name: Text Classification
|
| 17 |
+
type: text-classification
|
| 18 |
+
dataset:
|
| 19 |
+
name: rotten_tomatoes_movie_review
|
| 20 |
+
type: rotten_tomatoes_movie_review
|
| 21 |
+
config: default
|
| 22 |
+
split: test
|
| 23 |
+
args: default
|
| 24 |
+
metrics:
|
| 25 |
+
- name: Accuracy
|
| 26 |
+
type: accuracy
|
| 27 |
+
value: 0.8480300187617261
|
| 28 |
+
- name: F1
|
| 29 |
+
type: f1
|
| 30 |
+
value: 0.8480214592727926
|
| 31 |
+
- name: Precision
|
| 32 |
+
type: precision
|
| 33 |
+
value: 0.8481084411583488
|
| 34 |
+
- name: Recall
|
| 35 |
+
type: recall
|
| 36 |
+
value: 0.8480300187617261
|
| 37 |
---
|
| 38 |
|
| 39 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
|
| 42 |
# my_distilbert_model
|
| 43 |
|
| 44 |
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the rotten_tomatoes_movie_review dataset.
|
| 45 |
+
It achieves the following results on the evaluation set:
|
| 46 |
+
- Loss: 0.4452
|
| 47 |
+
- Accuracy: 0.8480
|
| 48 |
+
- F1: 0.8480
|
| 49 |
+
- Precision: 0.8481
|
| 50 |
+
- Recall: 0.8480
|
| 51 |
|
| 52 |
## Model description
|
| 53 |
|
|
|
|
| 72 |
- seed: 42
|
| 73 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 74 |
- lr_scheduler_type: linear
|
| 75 |
+
- num_epochs: 3
|
| 76 |
|
| 77 |
### Training results
|
| 78 |
|
| 79 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
|
| 80 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:---------:|:------:|
|
| 81 |
+
| No log | 1.0 | 267 | 0.4094 | 0.8246 | 0.8241 | 0.8281 | 0.8246 |
|
| 82 |
+
| 0.3518 | 2.0 | 534 | 0.4000 | 0.8508 | 0.8508 | 0.8510 | 0.8508 |
|
| 83 |
+
| 0.3518 | 3.0 | 801 | 0.4452 | 0.8480 | 0.8480 | 0.8481 | 0.8480 |
|
| 84 |
|
| 85 |
|
| 86 |
### Framework versions
|