update model card README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
tags:
|
| 4 |
+
- generated_from_trainer
|
| 5 |
+
datasets:
|
| 6 |
+
- emotion
|
| 7 |
+
metrics:
|
| 8 |
+
- f1
|
| 9 |
+
model-index:
|
| 10 |
+
- name: distilbert-base-uncased-finetuned-emotions
|
| 11 |
+
results:
|
| 12 |
+
- task:
|
| 13 |
+
name: Text Classification
|
| 14 |
+
type: text-classification
|
| 15 |
+
dataset:
|
| 16 |
+
name: emotion
|
| 17 |
+
type: emotion
|
| 18 |
+
args: default
|
| 19 |
+
metrics:
|
| 20 |
+
- name: F1
|
| 21 |
+
type: f1
|
| 22 |
+
value: 0.9331148494056558
|
| 23 |
+
---
|
| 24 |
+
|
| 25 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 26 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 27 |
+
|
| 28 |
+
# distilbert-base-uncased-finetuned-emotions
|
| 29 |
+
|
| 30 |
+
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the emotion dataset.
|
| 31 |
+
It achieves the following results on the evaluation set:
|
| 32 |
+
- Loss: 0.1579
|
| 33 |
+
- Acc: 0.933
|
| 34 |
+
- F1: 0.9331
|
| 35 |
+
|
| 36 |
+
## Model description
|
| 37 |
+
|
| 38 |
+
More information needed
|
| 39 |
+
|
| 40 |
+
## Intended uses & limitations
|
| 41 |
+
|
| 42 |
+
More information needed
|
| 43 |
+
|
| 44 |
+
## Training and evaluation data
|
| 45 |
+
|
| 46 |
+
More information needed
|
| 47 |
+
|
| 48 |
+
## Training procedure
|
| 49 |
+
|
| 50 |
+
### Training hyperparameters
|
| 51 |
+
|
| 52 |
+
The following hyperparameters were used during training:
|
| 53 |
+
- learning_rate: 2e-05
|
| 54 |
+
- train_batch_size: 64
|
| 55 |
+
- eval_batch_size: 64
|
| 56 |
+
- seed: 42
|
| 57 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 58 |
+
- lr_scheduler_type: linear
|
| 59 |
+
- num_epochs: 2
|
| 60 |
+
|
| 61 |
+
### Training results
|
| 62 |
+
|
| 63 |
+
| Training Loss | Epoch | Step | Validation Loss | Acc | F1 |
|
| 64 |
+
|:-------------:|:-----:|:----:|:---------------:|:------:|:------:|
|
| 65 |
+
| 0.1723 | 1.0 | 250 | 0.1838 | 0.9315 | 0.9312 |
|
| 66 |
+
| 0.1102 | 2.0 | 500 | 0.1579 | 0.933 | 0.9331 |
|
| 67 |
+
|
| 68 |
+
|
| 69 |
+
### Framework versions
|
| 70 |
+
|
| 71 |
+
- Transformers 4.18.0
|
| 72 |
+
- Pytorch 1.11.0+cu113
|
| 73 |
+
- Datasets 2.1.0
|
| 74 |
+
- Tokenizers 0.12.1
|