superguo commited on
Commit
3ef784e
1 Parent(s): c25f0a6

Training completed!

Browse files
Files changed (1) hide show
  1. README.md +82 -81
README.md CHANGED
@@ -1,81 +1,82 @@
1
- ---
2
- license: apache-2.0
3
- base_model: distilbert/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.927
27
- - name: F1
28
- type: f1
29
- value: 0.9268030465478547
30
- ---
31
-
32
- <!-- This model card has been generated automatically according to the information the Trainer had access to. You
33
- 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/distilbert-base-uncased](https://huggingface.co/distilbert/distilbert-base-uncased) on the emotion dataset.
38
- It achieves the following results on the evaluation set:
39
- - Loss: 0.2087
40
- - Accuracy: 0.927
41
- - F1: 0.9268
42
-
43
- ## Model description
44
-
45
- More information needed
46
-
47
- ## Intended uses & limitations
48
-
49
- More information needed
50
-
51
- ## Training and evaluation data
52
-
53
- More information needed
54
-
55
- ## Training procedure
56
-
57
- ### Training hyperparameters
58
-
59
- The following hyperparameters were used during training:
60
- - learning_rate: 2e-05
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.8265 | 1.0 | 250 | 0.2940 | 0.9105 | 0.9092 |
73
- | 0.2456 | 2.0 | 500 | 0.2087 | 0.927 | 0.9268 |
74
-
75
-
76
- ### Framework versions
77
-
78
- - Transformers 4.42.1
79
- - Pytorch 2.3.1+cu121
80
- - Datasets 2.20.0
81
- - Tokenizers 0.19.1
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: distilbert/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.925
27
+ - name: F1
28
+ type: f1
29
+ value: 0.9247514341075832
30
+ ---
31
+
32
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
33
+ should probably proofread and complete it, then remove this comment. -->
34
+
35
+ [<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/wzy_study/huggingface/runs/7l1604ln)
36
+ # distilbert-base-uncased-finetuned-emotion
37
+
38
+ This model is a fine-tuned version of [distilbert/distilbert-base-uncased](https://huggingface.co/distilbert/distilbert-base-uncased) on the emotion dataset.
39
+ It achieves the following results on the evaluation set:
40
+ - Loss: 0.2140
41
+ - Accuracy: 0.925
42
+ - F1: 0.9248
43
+
44
+ ## Model description
45
+
46
+ More information needed
47
+
48
+ ## Intended uses & limitations
49
+
50
+ More information needed
51
+
52
+ ## Training and evaluation data
53
+
54
+ More information needed
55
+
56
+ ## Training procedure
57
+
58
+ ### Training hyperparameters
59
+
60
+ The following hyperparameters were used during training:
61
+ - learning_rate: 2e-05
62
+ - train_batch_size: 64
63
+ - eval_batch_size: 64
64
+ - seed: 42
65
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
66
+ - lr_scheduler_type: linear
67
+ - num_epochs: 2
68
+
69
+ ### Training results
70
+
71
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
72
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
73
+ | 0.8108 | 1.0 | 250 | 0.3094 | 0.9075 | 0.9066 |
74
+ | 0.2435 | 2.0 | 500 | 0.2140 | 0.925 | 0.9248 |
75
+
76
+
77
+ ### Framework versions
78
+
79
+ - Transformers 4.42.3
80
+ - Pytorch 2.1.0+cu118
81
+ - Datasets 2.20.0
82
+ - Tokenizers 0.19.1