superguo commited on
Commit
521e213
1 Parent(s): 16fcfaa

Training in progress, step 500

Browse files
.ipynb_checkpoints/README-checkpoint.md ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.924
27
+ - name: F1
28
+ type: f1
29
+ value: 0.9238501156157771
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.2132
40
+ - Accuracy: 0.924
41
+ - F1: 0.9239
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.8137 | 1.0 | 250 | 0.2940 | 0.9125 | 0.9116 |
73
+ | 0.2446 | 2.0 | 500 | 0.2132 | 0.924 | 0.9239 |
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
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:423df6918a509eb2c6c44cc68e710bf09486230950e78505cd612cedd6cfe2bb
3
  size 267844872
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ffdd6288b396991b8f138f2fbff4847ef92e20348abf77df64abb234f53a9261
3
  size 267844872
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:29c80decf94dccb3e2ba3ab8ef578d5d15f3faf0dbff0b569cd477d22e9a5e76
3
  size 5176
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8128623e8b72b059cda5a0a719eb3959aadf92de189b2abd9fa7ff6e76b0eb79
3
  size 5176