zhangpn commited on
Commit
025b6cf
·
verified ·
1 Parent(s): a2faf13

end of training 3 epochs

Browse files
README.md CHANGED
@@ -1,32 +1,15 @@
1
  ---
 
2
  license: apache-2.0
3
  base_model: distilbert-base-cased
4
  tags:
5
  - generated_from_trainer
6
- datasets:
7
- - tweet_eval
8
  metrics:
9
  - precision
10
  - recall
11
  model-index:
12
  - name: bert-emotion
13
- results:
14
- - task:
15
- name: Text Classification
16
- type: text-classification
17
- dataset:
18
- name: tweet_eval
19
- type: tweet_eval
20
- config: emotion
21
- split: validation
22
- args: emotion
23
- metrics:
24
- - name: Precision
25
- type: precision
26
- value: 0.7412691902027423
27
- - name: Recall
28
- type: recall
29
- value: 0.7200253439873575
30
  ---
31
 
32
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
@@ -34,12 +17,12 @@ should probably proofread and complete it, then remove this comment. -->
34
 
35
  # bert-emotion
36
 
37
- This model is a fine-tuned version of [distilbert-base-cased](https://huggingface.co/distilbert-base-cased) on the tweet_eval dataset.
38
  It achieves the following results on the evaluation set:
39
- - Loss: 1.2007
40
- - Precision: 0.7413
41
- - Recall: 0.7200
42
- - Fscore: 0.7268
43
 
44
  ## Model description
45
 
@@ -62,7 +45,7 @@ The following hyperparameters were used during training:
62
  - train_batch_size: 4
63
  - eval_batch_size: 4
64
  - seed: 42
65
- - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
66
  - lr_scheduler_type: linear
67
  - num_epochs: 3
68
 
@@ -70,14 +53,14 @@ The following hyperparameters were used during training:
70
 
71
  | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | Fscore |
72
  |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|
73
- | 0.8416 | 1.0 | 815 | 0.7683 | 0.7000 | 0.7141 | 0.7062 |
74
- | 0.5465 | 2.0 | 1630 | 0.8561 | 0.7640 | 0.6735 | 0.6979 |
75
- | 0.2747 | 3.0 | 2445 | 1.2007 | 0.7413 | 0.7200 | 0.7268 |
76
 
77
 
78
  ### Framework versions
79
 
80
- - Transformers 4.35.2
81
- - Pytorch 2.1.0+cu118
82
- - Datasets 2.15.0
83
- - Tokenizers 0.15.0
 
1
  ---
2
+ library_name: transformers
3
  license: apache-2.0
4
  base_model: distilbert-base-cased
5
  tags:
6
  - generated_from_trainer
 
 
7
  metrics:
8
  - precision
9
  - recall
10
  model-index:
11
  - name: bert-emotion
12
+ results: []
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
  ---
14
 
15
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
 
17
 
18
  # bert-emotion
19
 
20
+ This model is a fine-tuned version of [distilbert-base-cased](https://huggingface.co/distilbert-base-cased) on an unknown dataset.
21
  It achieves the following results on the evaluation set:
22
+ - Loss: 1.0958
23
+ - Precision: 0.7192
24
+ - Recall: 0.7219
25
+ - Fscore: 0.7200
26
 
27
  ## Model description
28
 
 
45
  - train_batch_size: 4
46
  - eval_batch_size: 4
47
  - seed: 42
48
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
49
  - lr_scheduler_type: linear
50
  - num_epochs: 3
51
 
 
53
 
54
  | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | Fscore |
55
  |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|
56
+ | 0.8487 | 1.0 | 815 | 0.9013 | 0.6936 | 0.6375 | 0.6462 |
57
+ | 0.5456 | 2.0 | 1630 | 0.9633 | 0.7383 | 0.7153 | 0.7253 |
58
+ | 0.2589 | 3.0 | 2445 | 1.0958 | 0.7192 | 0.7219 | 0.7200 |
59
 
60
 
61
  ### Framework versions
62
 
63
+ - Transformers 4.51.1
64
+ - Pytorch 2.6.0+cu124
65
+ - Datasets 3.5.0
66
+ - Tokenizers 0.21.1
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9da2b50d764ec4892615756f28b7f3791e58fcb1f4a7aaca85f3a762d620ba82
3
  size 263150840
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4f905b20b1b7396f31fbc8407a0a09a968ea2f7e3f836a57f52f7bf56ea79217
3
  size 263150840
runs/Apr15_20-09-13_8121eb72c779/events.out.tfevents.1744747770.8121eb72c779.2000.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:24c0ff2be99f27521edecd6cbcaa5010cc15687968d17865aabd2aa7e8d57b05
3
- size 5676
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:43a13f3e6305393951e70596eeee79cad1265e6e7c47898f5517a3b9af252b7c
3
+ size 7300