Text Classification
Transformers
PyTorch
distilbert
Generated from Trainer
Eval Results (legacy)
text-embeddings-inference
Instructions to use marcelcastrobr/sagemaker-distilbert-emotion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use marcelcastrobr/sagemaker-distilbert-emotion with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="marcelcastrobr/sagemaker-distilbert-emotion")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("marcelcastrobr/sagemaker-distilbert-emotion") model = AutoModelForSequenceClassification.from_pretrained("marcelcastrobr/sagemaker-distilbert-emotion", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
6ce99f6
1
Parent(s): abb03ba
End of training
Browse files
README.md
CHANGED
|
@@ -19,7 +19,7 @@ model-index:
|
|
| 19 |
metrics:
|
| 20 |
- name: Accuracy
|
| 21 |
type: accuracy
|
| 22 |
-
value: 0.
|
| 23 |
---
|
| 24 |
|
| 25 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
@@ -29,8 +29,8 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 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.
|
| 33 |
-
- Accuracy: 0.
|
| 34 |
|
| 35 |
## Model description
|
| 36 |
|
|
@@ -63,9 +63,9 @@ The following hyperparameters were used during training:
|
|
| 63 |
|
| 64 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 65 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 66 |
-
| 0.
|
| 67 |
-
| 0.
|
| 68 |
-
| 0.
|
| 69 |
|
| 70 |
|
| 71 |
### Framework versions
|
|
|
|
| 19 |
metrics:
|
| 20 |
- name: Accuracy
|
| 21 |
type: accuracy
|
| 22 |
+
value: 0.928
|
| 23 |
---
|
| 24 |
|
| 25 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
|
| 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.1477
|
| 33 |
+
- Accuracy: 0.928
|
| 34 |
|
| 35 |
## Model description
|
| 36 |
|
|
|
|
| 63 |
|
| 64 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 65 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 66 |
+
| 0.9308 | 1.0 | 500 | 0.2632 | 0.916 |
|
| 67 |
+
| 0.1871 | 2.0 | 1000 | 0.1651 | 0.926 |
|
| 68 |
+
| 0.1025 | 3.0 | 1500 | 0.1477 | 0.928 |
|
| 69 |
|
| 70 |
|
| 71 |
### Framework versions
|