Model save
Browse files
README.md
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: distilbert-base-uncased
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- emotion
|
8 |
+
metrics:
|
9 |
+
- accuracy
|
10 |
+
model-index:
|
11 |
+
- name: DBERT_Emotions_tuned
|
12 |
+
results:
|
13 |
+
- task:
|
14 |
+
name: Text Classification
|
15 |
+
type: text-classification
|
16 |
+
dataset:
|
17 |
+
name: emotion
|
18 |
+
type: emotion
|
19 |
+
config: split
|
20 |
+
split: validation
|
21 |
+
args: split
|
22 |
+
metrics:
|
23 |
+
- name: Accuracy
|
24 |
+
type: accuracy
|
25 |
+
value: 0.925
|
26 |
+
---
|
27 |
+
|
28 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
29 |
+
should probably proofread and complete it, then remove this comment. -->
|
30 |
+
|
31 |
+
# DBERT_Emotions_tuned
|
32 |
+
|
33 |
+
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the emotion dataset.
|
34 |
+
It achieves the following results on the evaluation set:
|
35 |
+
- Loss: 0.1828
|
36 |
+
- Accuracy: 0.925
|
37 |
+
|
38 |
+
## Model description
|
39 |
+
|
40 |
+
More information needed
|
41 |
+
|
42 |
+
## Intended uses & limitations
|
43 |
+
|
44 |
+
More information needed
|
45 |
+
|
46 |
+
## Training and evaluation data
|
47 |
+
|
48 |
+
More information needed
|
49 |
+
|
50 |
+
## Training procedure
|
51 |
+
|
52 |
+
### Training hyperparameters
|
53 |
+
|
54 |
+
The following hyperparameters were used during training:
|
55 |
+
- learning_rate: 5e-05
|
56 |
+
- train_batch_size: 16
|
57 |
+
- eval_batch_size: 16
|
58 |
+
- seed: 42
|
59 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
60 |
+
- lr_scheduler_type: linear
|
61 |
+
- num_epochs: 3
|
62 |
+
|
63 |
+
### Training results
|
64 |
+
|
65 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
66 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
67 |
+
| No log | 0.1 | 100 | 0.7513 | 0.7365 |
|
68 |
+
| No log | 0.2 | 200 | 0.3693 | 0.8895 |
|
69 |
+
| No log | 0.3 | 300 | 0.3118 | 0.906 |
|
70 |
+
| No log | 0.4 | 400 | 0.3048 | 0.9055 |
|
71 |
+
| 0.5368 | 0.5 | 500 | 0.2649 | 0.9225 |
|
72 |
+
| 0.5368 | 0.6 | 600 | 0.2192 | 0.9235 |
|
73 |
+
| 0.5368 | 0.7 | 700 | 0.2254 | 0.9245 |
|
74 |
+
| 0.5368 | 0.8 | 800 | 0.2016 | 0.931 |
|
75 |
+
| 0.5368 | 0.9 | 900 | 0.1685 | 0.935 |
|
76 |
+
| 0.2254 | 1.0 | 1000 | 0.1926 | 0.9295 |
|
77 |
+
| 0.2254 | 1.1 | 1100 | 0.2128 | 0.928 |
|
78 |
+
| 0.2254 | 1.2 | 1200 | 0.2008 | 0.9325 |
|
79 |
+
| 0.2254 | 1.3 | 1300 | 0.1662 | 0.9385 |
|
80 |
+
| 0.2254 | 1.4 | 1400 | 0.1945 | 0.939 |
|
81 |
+
| 0.1315 | 1.5 | 1500 | 0.1652 | 0.939 |
|
82 |
+
| 0.1315 | 1.6 | 1600 | 0.1820 | 0.938 |
|
83 |
+
| 0.1315 | 1.7 | 1700 | 0.1660 | 0.938 |
|
84 |
+
| 0.1315 | 1.8 | 1800 | 0.1590 | 0.93 |
|
85 |
+
| 0.1315 | 1.9 | 1900 | 0.1601 | 0.935 |
|
86 |
+
| 0.1295 | 2.0 | 2000 | 0.1645 | 0.9345 |
|
87 |
+
| 0.1295 | 2.1 | 2100 | 0.1845 | 0.9305 |
|
88 |
+
| 0.1295 | 2.2 | 2200 | 0.1784 | 0.9355 |
|
89 |
+
| 0.1295 | 2.3 | 2300 | 0.2042 | 0.9365 |
|
90 |
+
| 0.1295 | 2.4 | 2400 | 0.1852 | 0.9365 |
|
91 |
+
| 0.0891 | 2.5 | 2500 | 0.1797 | 0.94 |
|
92 |
+
| 0.0891 | 2.6 | 2600 | 0.1741 | 0.9365 |
|
93 |
+
| 0.0891 | 2.7 | 2700 | 0.1758 | 0.9385 |
|
94 |
+
| 0.0891 | 2.8 | 2800 | 0.1771 | 0.944 |
|
95 |
+
| 0.0891 | 2.9 | 2900 | 0.1688 | 0.9385 |
|
96 |
+
| 0.0848 | 3.0 | 3000 | 0.1671 | 0.94 |
|
97 |
+
|
98 |
+
|
99 |
+
### Framework versions
|
100 |
+
|
101 |
+
- Transformers 4.38.2
|
102 |
+
- Pytorch 2.1.0+cu121
|
103 |
+
- Datasets 2.18.0
|
104 |
+
- Tokenizers 0.15.2
|
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:e15dc05a848ca084c5437ca298fad6a1c9c1106c29a160934afb44cec1d87d2b
|
3 |
size 267844872
|
runs/Mar13_06-05-04_4c6caea91783/events.out.tfevents.1710309989.4c6caea91783.1898.0
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:e476ffaafe731f2dc611ff4ddd74b6cda08279293dd449bb5f88cf03446aacd5
|
3 |
+
size 16860
|
runs/Mar13_06-05-04_4c6caea91783/events.out.tfevents.1710311273.4c6caea91783.1898.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:432d17a9e245eca6cf50246977153c0aa729938ce8f0b8c69a90a3fdb78b6789
|
3 |
+
size 1057
|