Text Classification
Transformers
TensorBoard
Safetensors
distilbert
Generated from Trainer
Eval Results (legacy)
text-embeddings-inference
Instructions to use Purushothama/finetuning-emotion-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Purushothama/finetuning-emotion-model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Purushothama/finetuning-emotion-model")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Purushothama/finetuning-emotion-model") model = AutoModelForSequenceClassification.from_pretrained("Purushothama/finetuning-emotion-model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
41cdacf
1
Parent(s): ca4c19a
Training completed
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 |
|
|
@@ -69,13 +69,13 @@ The following hyperparameters were used during training:
|
|
| 69 |
|
| 70 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|
| 71 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
|
| 72 |
-
| No log | 1.0 | 250 | 0.
|
| 73 |
-
| 0.
|
| 74 |
|
| 75 |
|
| 76 |
### Framework versions
|
| 77 |
|
| 78 |
- Transformers 4.36.2
|
| 79 |
- Pytorch 2.1.0+cu121
|
| 80 |
-
- Datasets 2.16.
|
| 81 |
- Tokenizers 0.15.0
|
|
|
|
| 23 |
metrics:
|
| 24 |
- name: Accuracy
|
| 25 |
type: accuracy
|
| 26 |
+
value: 0.926
|
| 27 |
- name: F1
|
| 28 |
type: f1
|
| 29 |
+
value: 0.9261772417120997
|
| 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.2141
|
| 40 |
+
- Accuracy: 0.926
|
| 41 |
+
- F1: 0.9262
|
| 42 |
|
| 43 |
## Model description
|
| 44 |
|
|
|
|
| 69 |
|
| 70 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|
| 71 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
|
| 72 |
+
| No log | 1.0 | 250 | 0.3080 | 0.9055 | 0.9051 |
|
| 73 |
+
| 0.5322 | 2.0 | 500 | 0.2141 | 0.926 | 0.9262 |
|
| 74 |
|
| 75 |
|
| 76 |
### Framework versions
|
| 77 |
|
| 78 |
- Transformers 4.36.2
|
| 79 |
- Pytorch 2.1.0+cu121
|
| 80 |
+
- Datasets 2.16.1
|
| 81 |
- Tokenizers 0.15.0
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 267844872
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3b5e7e752b42b072b1ccd38badb9295729593cb5257d97df9bdbf5195d5bfc7c
|
| 3 |
size 267844872
|
runs/Jan04_04-46-34_95cc724f5756/events.out.tfevents.1704343605.95cc724f5756.263.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:954c7d04634410ff47e7db531c458081dd948451d1ba4da51c611cbcb667c128
|
| 3 |
+
size 5773
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4728
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a4fe0030e6a271500fc729bd49f8ba28d092454a6e02c7864d27bc995e93cf3d
|
| 3 |
size 4728
|