Dat1710 commited on
Commit
47144ba
·
verified ·
1 Parent(s): 5fd8b5e

Training completed!

Browse files
README.md CHANGED
@@ -1,32 +1,17 @@
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
  - 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.922
27
- - name: F1
28
- type: f1
29
- value: 0.9221508671277507
30
  ---
31
 
32
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
@@ -34,11 +19,13 @@ should probably proofread and complete it, then remove this comment. -->
34
 
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.2195
40
- - Accuracy: 0.922
41
- - F1: 0.9222
 
 
42
 
43
  ## Model description
44
 
@@ -61,21 +48,24 @@ The following hyperparameters were used during training:
61
  - train_batch_size: 64
62
  - eval_batch_size: 64
63
  - seed: 42
64
- - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
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.8163 | 1.0 | 250 | 0.3067 | 0.907 | 0.9062 |
73
- | 0.2368 | 2.0 | 500 | 0.2195 | 0.922 | 0.9222 |
 
 
 
74
 
75
 
76
  ### Framework versions
77
 
78
- - Transformers 4.42.4
79
- - Pytorch 2.3.1+cu121
80
- - Datasets 2.20.0
81
- - Tokenizers 0.19.1
 
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
+ - precision
11
+ - recall
12
  model-index:
13
  - name: distilbert-base-uncased-finetuned-emotion
14
+ results: []
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
  ---
16
 
17
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
 
19
 
20
  # distilbert-base-uncased-finetuned-emotion
21
 
22
+ This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on an unknown dataset.
23
  It achieves the following results on the evaluation set:
24
+ - Loss: 0.1401
25
+ - Accuracy: 0.937
26
+ - F1: 0.9371
27
+ - Precision: 0.9375
28
+ - Recall: 0.937
29
 
30
  ## Model description
31
 
 
48
  - train_batch_size: 64
49
  - eval_batch_size: 64
50
  - seed: 42
51
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
52
  - lr_scheduler_type: linear
53
+ - num_epochs: 5
54
 
55
  ### Training results
56
 
57
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
58
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:---------:|:------:|
59
+ | 0.204 | 1.0 | 250 | 0.1767 | 0.9285 | 0.9294 | 0.9323 | 0.9285 |
60
+ | 0.1361 | 2.0 | 500 | 0.1595 | 0.93 | 0.9306 | 0.9330 | 0.93 |
61
+ | 0.1057 | 3.0 | 750 | 0.1460 | 0.9375 | 0.9383 | 0.9406 | 0.9375 |
62
+ | 0.0836 | 4.0 | 1000 | 0.1384 | 0.9405 | 0.9405 | 0.9408 | 0.9405 |
63
+ | 0.069 | 5.0 | 1250 | 0.1401 | 0.937 | 0.9371 | 0.9375 | 0.937 |
64
 
65
 
66
  ### Framework versions
67
 
68
+ - Transformers 4.47.1
69
+ - Pytorch 2.5.1+cu121
70
+ - Datasets 3.2.0
71
+ - Tokenizers 0.21.0
runs/Jan28_11-02-48_a22d90ff03a6/events.out.tfevents.1738062172.a22d90ff03a6.938.2 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:bcce6147f29e81dacdbb7e6291f8a58100a8a22de3dcf102a51d39db6f3ace49
3
- size 8267
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b351762d474200f5ee62f8e951441bfb1d410c8cd661c3f65ff0e0e980c5a8c2
3
+ size 9093