Training completed!
Browse files
README.md
CHANGED
@@ -5,28 +5,9 @@ tags:
|
|
5 |
- generated_from_trainer
|
6 |
datasets:
|
7 |
- emotion
|
8 |
-
metrics:
|
9 |
-
- accuracy
|
10 |
-
- f1
|
11 |
model-index:
|
12 |
- name: distilbert-base-uncased-finetuned-emotion
|
13 |
-
results:
|
14 |
-
- task:
|
15 |
-
name: Text Classification
|
16 |
-
type: text-classification
|
17 |
-
dataset:
|
18 |
-
name: emotion
|
19 |
-
type: emotion
|
20 |
-
config: split
|
21 |
-
split: validation
|
22 |
-
args: split
|
23 |
-
metrics:
|
24 |
-
- name: Accuracy
|
25 |
-
type: accuracy
|
26 |
-
value: 0.927
|
27 |
-
- name: F1
|
28 |
-
type: f1
|
29 |
-
value: 0.9268292545635263
|
30 |
---
|
31 |
|
32 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
@@ -35,10 +16,6 @@ should probably proofread and complete it, then remove this comment. -->
|
|
35 |
# distilbert-base-uncased-finetuned-emotion
|
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.2134
|
40 |
-
- Accuracy: 0.927
|
41 |
-
- F1: 0.9268
|
42 |
|
43 |
## Model description
|
44 |
|
@@ -65,17 +42,9 @@ The following hyperparameters were used during training:
|
|
65 |
- lr_scheduler_type: linear
|
66 |
- num_epochs: 2
|
67 |
|
68 |
-
### Training results
|
69 |
-
|
70 |
-
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|
71 |
-
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
|
72 |
-
| 0.8229 | 1.0 | 250 | 0.3106 | 0.9055 | 0.9046 |
|
73 |
-
| 0.2488 | 2.0 | 500 | 0.2134 | 0.927 | 0.9268 |
|
74 |
-
|
75 |
-
|
76 |
### Framework versions
|
77 |
|
78 |
-
- Transformers 4.
|
79 |
-
- Pytorch 2.1.
|
80 |
-
- Datasets 2.
|
81 |
- Tokenizers 0.15.0
|
|
|
5 |
- generated_from_trainer
|
6 |
datasets:
|
7 |
- emotion
|
|
|
|
|
|
|
8 |
model-index:
|
9 |
- name: distilbert-base-uncased-finetuned-emotion
|
10 |
+
results: []
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
---
|
12 |
|
13 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
16 |
# distilbert-base-uncased-finetuned-emotion
|
17 |
|
18 |
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the emotion dataset.
|
|
|
|
|
|
|
|
|
19 |
|
20 |
## Model description
|
21 |
|
|
|
42 |
- lr_scheduler_type: linear
|
43 |
- num_epochs: 2
|
44 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
### Framework versions
|
46 |
|
47 |
+
- Transformers 4.36.2
|
48 |
+
- Pytorch 2.1.2+cu118
|
49 |
+
- Datasets 2.16.1
|
50 |
- Tokenizers 0.15.0
|
config.json
CHANGED
@@ -30,12 +30,11 @@
|
|
30 |
"n_heads": 12,
|
31 |
"n_layers": 6,
|
32 |
"pad_token_id": 0,
|
33 |
-
"problem_type": "single_label_classification",
|
34 |
"qa_dropout": 0.1,
|
35 |
"seq_classif_dropout": 0.2,
|
36 |
"sinusoidal_pos_embds": false,
|
37 |
"tie_weights_": true,
|
38 |
"torch_dtype": "float32",
|
39 |
-
"transformers_version": "4.
|
40 |
"vocab_size": 30522
|
41 |
}
|
|
|
30 |
"n_heads": 12,
|
31 |
"n_layers": 6,
|
32 |
"pad_token_id": 0,
|
|
|
33 |
"qa_dropout": 0.1,
|
34 |
"seq_classif_dropout": 0.2,
|
35 |
"sinusoidal_pos_embds": false,
|
36 |
"tie_weights_": true,
|
37 |
"torch_dtype": "float32",
|
38 |
+
"transformers_version": "4.36.2",
|
39 |
"vocab_size": 30522
|
40 |
}
|
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:23d639ac6cae0b9eeb7b77e478366ee44414dee041bba150bad3471fbf584f59
|
3 |
size 267844872
|
runs/Jan17_11-40-11_DESKTOP-9VP4L4L/events.out.tfevents.1705459212.DESKTOP-9VP4L4L.5312.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ca20670063f62eaca57459a3040143c17524d343dc2abc68bf07d4db30723499
|
3 |
+
size 4593
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e5daff27bc41fa844a169d6e7b712d96e6dbccd863a23a1eb8973bec6b20e76d
|
3 |
+
size 4792
|