liuguojing commited on
Commit
843cca7
1 Parent(s): 7ac641d

Training completed!

Browse files
Files changed (1) hide show
  1. README.md +88 -0
README.md ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ - precision
12
+ model-index:
13
+ - name: distilbert-base-uncased_emotion_ft_0703
14
+ results:
15
+ - task:
16
+ name: Text Classification
17
+ type: text-classification
18
+ dataset:
19
+ name: emotion
20
+ type: emotion
21
+ config: split
22
+ split: validation
23
+ args: split
24
+ metrics:
25
+ - name: Accuracy
26
+ type: accuracy
27
+ value: 0.934
28
+ - name: F1
29
+ type: f1
30
+ value: 0.9337667815827867
31
+ - name: Precision
32
+ type: precision
33
+ value: 0.9132134068992636
34
+ ---
35
+
36
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
37
+ should probably proofread and complete it, then remove this comment. -->
38
+
39
+ # distilbert-base-uncased_emotion_ft_0703
40
+
41
+ This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the emotion dataset.
42
+ It achieves the following results on the evaluation set:
43
+ - Loss: 0.1464
44
+ - Accuracy: 0.934
45
+ - F1: 0.9338
46
+ - Precision: 0.9132
47
+
48
+ ## Model description
49
+
50
+ More information needed
51
+
52
+ ## Intended uses & limitations
53
+
54
+ More information needed
55
+
56
+ ## Training and evaluation data
57
+
58
+ More information needed
59
+
60
+ ## Training procedure
61
+
62
+ ### Training hyperparameters
63
+
64
+ The following hyperparameters were used during training:
65
+ - learning_rate: 2e-05
66
+ - train_batch_size: 64
67
+ - eval_batch_size: 64
68
+ - seed: 42
69
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
70
+ - lr_scheduler_type: linear
71
+ - num_epochs: 4
72
+
73
+ ### Training results
74
+
75
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision |
76
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:---------:|
77
+ | 0.7938 | 1.0 | 250 | 0.2507 | 0.9225 | 0.9225 | 0.8961 |
78
+ | 0.1988 | 2.0 | 500 | 0.1691 | 0.9265 | 0.9270 | 0.8980 |
79
+ | 0.134 | 3.0 | 750 | 0.1478 | 0.937 | 0.9372 | 0.9039 |
80
+ | 0.1066 | 4.0 | 1000 | 0.1464 | 0.934 | 0.9338 | 0.9132 |
81
+
82
+
83
+ ### Framework versions
84
+
85
+ - Transformers 4.42.3
86
+ - Pytorch 2.0.1+cu117
87
+ - Datasets 2.20.0
88
+ - Tokenizers 0.19.1