osanseviero commited on
Commit
c843a6a
·
1 Parent(s): 303b41a

osanseviero/trainer-chapter2

Browse files
Files changed (1) hide show
  1. README.md +30 -3
README.md CHANGED
@@ -5,9 +5,28 @@ tags:
5
  - generated_from_trainer
6
  datasets:
7
  - emotion
 
 
 
8
  model-index:
9
  - name: trainer-chapter
10
- results: []
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  ---
12
 
13
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
@@ -16,6 +35,10 @@ should probably proofread and complete it, then remove this comment. -->
16
  # trainer-chapter
17
 
18
  This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the emotion dataset.
 
 
 
 
19
 
20
  ## Model description
21
 
@@ -35,8 +58,8 @@ More information needed
35
 
36
  The following hyperparameters were used during training:
37
  - learning_rate: 5e-05
38
- - train_batch_size: 8
39
- - eval_batch_size: 8
40
  - seed: 42
41
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
42
  - lr_scheduler_type: linear
@@ -44,6 +67,10 @@ The following hyperparameters were used during training:
44
 
45
  ### Training results
46
 
 
 
 
 
47
 
48
 
49
  ### Framework versions
 
5
  - generated_from_trainer
6
  datasets:
7
  - emotion
8
+ metrics:
9
+ - accuracy
10
+ - f1
11
  model-index:
12
  - name: trainer-chapter
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.9285
27
+ - name: F1
28
+ type: f1
29
+ value: 0.9289287066694343
30
  ---
31
 
32
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
 
35
  # trainer-chapter
36
 
37
  This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the emotion dataset.
38
+ It achieves the following results on the evaluation set:
39
+ - Loss: 0.1383
40
+ - Accuracy: 0.9285
41
+ - F1: 0.9289
42
 
43
  ## Model description
44
 
 
58
 
59
  The following hyperparameters were used during training:
60
  - learning_rate: 5e-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
 
67
 
68
  ### Training results
69
 
70
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
71
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
72
+ | No log | 1.0 | 250 | 0.1933 | 0.9265 | 0.9277 |
73
+ | 0.3373 | 2.0 | 500 | 0.1383 | 0.9285 | 0.9289 |
74
 
75
 
76
  ### Framework versions