tingtone commited on
Commit
556b179
1 Parent(s): f181931

update model card README.md

Browse files
Files changed (1) hide show
  1. README.md +84 -0
README.md ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ tags:
4
+ - generated_from_trainer
5
+ datasets:
6
+ - emotion
7
+ metrics:
8
+ - accuracy
9
+ model-index:
10
+ - name: jq_emo_gpt
11
+ results:
12
+ - task:
13
+ name: Text Classification
14
+ type: text-classification
15
+ dataset:
16
+ name: emotion
17
+ type: emotion
18
+ config: split
19
+ split: validation
20
+ args: split
21
+ metrics:
22
+ - name: Accuracy
23
+ type: accuracy
24
+ value: 0.941
25
+ ---
26
+
27
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
28
+ should probably proofread and complete it, then remove this comment. -->
29
+
30
+ # jq_emo_gpt
31
+
32
+ This model is a fine-tuned version of [distilgpt2](https://huggingface.co/distilgpt2) on the emotion dataset.
33
+ It achieves the following results on the evaluation set:
34
+ - Loss: 0.3379
35
+ - Accuracy: 0.941
36
+
37
+ ## Model description
38
+
39
+ More information needed
40
+
41
+ ## Intended uses & limitations
42
+
43
+ More information needed
44
+
45
+ ## Training and evaluation data
46
+
47
+ More information needed
48
+
49
+ ## Training procedure
50
+
51
+ ### Training hyperparameters
52
+
53
+ The following hyperparameters were used during training:
54
+ - learning_rate: 1e-05
55
+ - train_batch_size: 1
56
+ - eval_batch_size: 1
57
+ - seed: 42
58
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
59
+ - lr_scheduler_type: linear
60
+ - lr_scheduler_warmup_steps: 16000
61
+ - num_epochs: 10
62
+
63
+ ### Training results
64
+
65
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
66
+ |:-------------:|:-----:|:------:|:---------------:|:--------:|
67
+ | 0.7328 | 1.0 | 16000 | 0.6227 | 0.899 |
68
+ | 0.3989 | 2.0 | 32000 | 0.4351 | 0.927 |
69
+ | 0.2888 | 3.0 | 48000 | 0.3162 | 0.9385 |
70
+ | 0.2325 | 4.0 | 64000 | 0.2936 | 0.9445 |
71
+ | 0.2774 | 5.0 | 80000 | 0.2903 | 0.94 |
72
+ | 0.1423 | 6.0 | 96000 | 0.3410 | 0.9405 |
73
+ | 0.1681 | 7.0 | 112000 | 0.3259 | 0.9385 |
74
+ | 0.1743 | 8.0 | 128000 | 0.3225 | 0.9415 |
75
+ | 0.1011 | 9.0 | 144000 | 0.3356 | 0.942 |
76
+ | 0.1138 | 10.0 | 160000 | 0.3379 | 0.941 |
77
+
78
+
79
+ ### Framework versions
80
+
81
+ - Transformers 4.26.1
82
+ - Pytorch 1.13.1+cu117
83
+ - Datasets 2.12.0
84
+ - Tokenizers 0.13.3