lukasgrouleff
commited on
Commit
•
6b1ecb7
1
Parent(s):
b088de4
Training completed!
Browse files
README.md
ADDED
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: apache-2.0
|
4 |
+
base_model: distilbert-base-uncased
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
metrics:
|
8 |
+
- accuracy
|
9 |
+
- f1
|
10 |
+
model-index:
|
11 |
+
- name: distilbert-base-uncased-finetuned-emotion
|
12 |
+
results: []
|
13 |
+
---
|
14 |
+
|
15 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
16 |
+
should probably proofread and complete it, then remove this comment. -->
|
17 |
+
|
18 |
+
# distilbert-base-uncased-finetuned-emotion
|
19 |
+
|
20 |
+
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on an unknown dataset.
|
21 |
+
It achieves the following results on the evaluation set:
|
22 |
+
- Loss: 0.1823
|
23 |
+
- Accuracy: 0.942
|
24 |
+
- F1: 0.9419
|
25 |
+
|
26 |
+
## Model description
|
27 |
+
|
28 |
+
More information needed
|
29 |
+
|
30 |
+
## Intended uses & limitations
|
31 |
+
|
32 |
+
More information needed
|
33 |
+
|
34 |
+
## Training and evaluation data
|
35 |
+
|
36 |
+
More information needed
|
37 |
+
|
38 |
+
## Training procedure
|
39 |
+
|
40 |
+
### Training hyperparameters
|
41 |
+
|
42 |
+
The following hyperparameters were used during training:
|
43 |
+
- learning_rate: 2e-05
|
44 |
+
- train_batch_size: 64
|
45 |
+
- eval_batch_size: 64
|
46 |
+
- seed: 42
|
47 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
48 |
+
- lr_scheduler_type: linear
|
49 |
+
- num_epochs: 10
|
50 |
+
|
51 |
+
### Training results
|
52 |
+
|
53 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|
54 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
|
55 |
+
| 0.7553 | 1.0 | 250 | 0.2550 | 0.921 | 0.9215 |
|
56 |
+
| 0.195 | 2.0 | 500 | 0.1783 | 0.93 | 0.9298 |
|
57 |
+
| 0.1287 | 3.0 | 750 | 0.1567 | 0.9355 | 0.9363 |
|
58 |
+
| 0.1012 | 4.0 | 1000 | 0.1604 | 0.9385 | 0.9386 |
|
59 |
+
| 0.081 | 5.0 | 1250 | 0.1478 | 0.937 | 0.9365 |
|
60 |
+
| 0.0672 | 6.0 | 1500 | 0.1556 | 0.939 | 0.9390 |
|
61 |
+
| 0.0564 | 7.0 | 1750 | 0.1724 | 0.9355 | 0.9354 |
|
62 |
+
| 0.0462 | 8.0 | 2000 | 0.1770 | 0.935 | 0.9352 |
|
63 |
+
| 0.0378 | 9.0 | 2250 | 0.1807 | 0.939 | 0.9388 |
|
64 |
+
| 0.0325 | 10.0 | 2500 | 0.1823 | 0.942 | 0.9419 |
|
65 |
+
|
66 |
+
|
67 |
+
### Framework versions
|
68 |
+
|
69 |
+
- Transformers 4.44.2
|
70 |
+
- Pytorch 2.4.1+cu121
|
71 |
+
- Datasets 3.0.1
|
72 |
+
- Tokenizers 0.19.1
|
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:f80344809ecb5a1ad6fa7edd9a4f5b7aac0c6253792f0731f0c14b605a9a0db9
|
3 |
size 267844872
|
runs/Sep26_12-38-49_9bbc0582778b/events.out.tfevents.1727354353.9bbc0582778b.377.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:131a0fccd23c2d71971c684dd5148c94bd296dd8e987171e174aae97268ed36c
|
3 |
+
size 11283
|