Text Classification
Transformers
PyTorch
distilbert
Generated from Trainer
Eval Results (legacy)
text-embeddings-inference
Instructions to use aidiary/distilbert-base-uncased-finetuned-emotion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use aidiary/distilbert-base-uncased-finetuned-emotion with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="aidiary/distilbert-base-uncased-finetuned-emotion")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("aidiary/distilbert-base-uncased-finetuned-emotion") model = AutoModelForSequenceClassification.from_pretrained("aidiary/distilbert-base-uncased-finetuned-emotion", device_map="auto") - Notebooks
- Google Colab
- Kaggle
update model card README.md
Browse files
README.md
CHANGED
|
@@ -23,10 +23,10 @@ model-index:
|
|
| 23 |
metrics:
|
| 24 |
- name: Accuracy
|
| 25 |
type: accuracy
|
| 26 |
-
value: 0.
|
| 27 |
- name: F1
|
| 28 |
type: f1
|
| 29 |
-
value: 0.
|
| 30 |
---
|
| 31 |
|
| 32 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
@@ -36,9 +36,9 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 36 |
|
| 37 |
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the emotion dataset.
|
| 38 |
It achieves the following results on the evaluation set:
|
| 39 |
-
- Loss: 0.
|
| 40 |
-
- Accuracy: 0.
|
| 41 |
-
- F1: 0.
|
| 42 |
|
| 43 |
## Model description
|
| 44 |
|
|
@@ -63,14 +63,17 @@ The following hyperparameters were used during training:
|
|
| 63 |
- seed: 42
|
| 64 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 65 |
- lr_scheduler_type: linear
|
| 66 |
-
- num_epochs:
|
| 67 |
|
| 68 |
### Training results
|
| 69 |
|
| 70 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|
| 71 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
|
| 72 |
-
| No log | 1.0 | 125 | 0.
|
| 73 |
-
| 0.
|
|
|
|
|
|
|
|
|
|
| 74 |
|
| 75 |
|
| 76 |
### Framework versions
|
|
|
|
| 23 |
metrics:
|
| 24 |
- name: Accuracy
|
| 25 |
type: accuracy
|
| 26 |
+
value: 0.9345
|
| 27 |
- name: F1
|
| 28 |
type: f1
|
| 29 |
+
value: 0.9344638918723668
|
| 30 |
---
|
| 31 |
|
| 32 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
|
| 36 |
|
| 37 |
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the emotion dataset.
|
| 38 |
It achieves the following results on the evaluation set:
|
| 39 |
+
- Loss: 0.1514
|
| 40 |
+
- Accuracy: 0.9345
|
| 41 |
+
- F1: 0.9345
|
| 42 |
|
| 43 |
## Model description
|
| 44 |
|
|
|
|
| 63 |
- seed: 42
|
| 64 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 65 |
- lr_scheduler_type: linear
|
| 66 |
+
- num_epochs: 5
|
| 67 |
|
| 68 |
### Training results
|
| 69 |
|
| 70 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|
| 71 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
|
| 72 |
+
| No log | 1.0 | 125 | 0.4448 | 0.879 | 0.8713 |
|
| 73 |
+
| 0.6963 | 2.0 | 250 | 0.2099 | 0.922 | 0.9225 |
|
| 74 |
+
| 0.6963 | 3.0 | 375 | 0.1763 | 0.932 | 0.9324 |
|
| 75 |
+
| 0.1548 | 4.0 | 500 | 0.1560 | 0.932 | 0.9318 |
|
| 76 |
+
| 0.1548 | 5.0 | 625 | 0.1514 | 0.9345 | 0.9345 |
|
| 77 |
|
| 78 |
|
| 79 |
### Framework versions
|