SimoneJLaudani commited on
Commit
9569c78
·
verified ·
1 Parent(s): 0aebba5

End of training

Browse files
README.md CHANGED
@@ -1,6 +1,6 @@
1
  ---
2
  license: apache-2.0
3
- base_model: bert-base-uncased
4
  tags:
5
  - generated_from_trainer
6
  metrics:
@@ -18,13 +18,13 @@ should probably proofread and complete it, then remove this comment. -->
18
 
19
  # trainer8
20
 
21
- This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on the None dataset.
22
  It achieves the following results on the evaluation set:
23
- - Loss: 1.7360
24
- - Precision: 0.2889
25
- - Recall: 0.2738
26
- - F1: 0.2509
27
- - Accuracy: 0.2738
28
 
29
  ## Model description
30
 
@@ -43,35 +43,49 @@ More information needed
43
  ### Training hyperparameters
44
 
45
  The following hyperparameters were used during training:
46
- - learning_rate: 1e-05
47
  - train_batch_size: 8
48
  - eval_batch_size: 8
49
  - seed: 42
50
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
51
  - lr_scheduler_type: linear
52
- - num_epochs: 7
53
 
54
  ### Training results
55
 
56
  | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
57
  |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
58
- | 2.0043 | 0.57 | 30 | 1.9531 | 0.0204 | 0.1429 | 0.0357 | 0.1429 |
59
- | 1.9325 | 1.13 | 60 | 1.9080 | 0.1615 | 0.2143 | 0.1460 | 0.2143 |
60
- | 1.8774 | 1.7 | 90 | 1.8684 | 0.3164 | 0.2143 | 0.1910 | 0.2143 |
61
- | 1.835 | 2.26 | 120 | 1.7834 | 0.1535 | 0.2619 | 0.1825 | 0.2619 |
62
- | 1.7079 | 2.83 | 150 | 1.7444 | 0.2040 | 0.2857 | 0.2180 | 0.2857 |
63
- | 1.6089 | 3.4 | 180 | 1.7426 | 0.3652 | 0.3214 | 0.2789 | 0.3214 |
64
- | 1.6118 | 3.96 | 210 | 1.7444 | 0.2285 | 0.25 | 0.1993 | 0.25 |
65
- | 1.5414 | 4.53 | 240 | 1.7426 | 0.2625 | 0.3095 | 0.2704 | 0.3095 |
66
- | 1.5095 | 5.09 | 270 | 1.7443 | 0.3820 | 0.2619 | 0.2186 | 0.2619 |
67
- | 1.4397 | 5.66 | 300 | 1.7368 | 0.2545 | 0.2976 | 0.2382 | 0.2976 |
68
- | 1.4319 | 6.23 | 330 | 1.7444 | 0.3844 | 0.2738 | 0.2566 | 0.2738 |
69
- | 1.4072 | 6.79 | 360 | 1.7384 | 0.3680 | 0.2857 | 0.2588 | 0.2857 |
 
 
 
 
 
 
 
 
 
 
 
 
 
 
70
 
71
 
72
  ### Framework versions
73
 
74
  - Transformers 4.38.2
75
- - Pytorch 2.1.0+cu121
76
  - Datasets 2.18.0
77
  - Tokenizers 0.15.2
 
1
  ---
2
  license: apache-2.0
3
+ base_model: distilbert-base-cased
4
  tags:
5
  - generated_from_trainer
6
  metrics:
 
18
 
19
  # trainer8
20
 
21
+ This model is a fine-tuned version of [distilbert-base-cased](https://huggingface.co/distilbert-base-cased) on the None dataset.
22
  It achieves the following results on the evaluation set:
23
+ - Loss: 1.6219
24
+ - Precision: 0.6754
25
+ - Recall: 0.6190
26
+ - F1: 0.6211
27
+ - Accuracy: 0.6190
28
 
29
  ## Model description
30
 
 
43
  ### Training hyperparameters
44
 
45
  The following hyperparameters were used during training:
46
+ - learning_rate: 5e-05
47
  - train_batch_size: 8
48
  - eval_batch_size: 8
49
  - seed: 42
50
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
51
  - lr_scheduler_type: linear
52
+ - num_epochs: 15
53
 
54
  ### Training results
55
 
56
  | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
57
  |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
58
+ | 1.8672 | 0.57 | 30 | 1.7381 | 0.3395 | 0.3810 | 0.2691 | 0.3810 |
59
+ | 1.5788 | 1.13 | 60 | 1.4116 | 0.3983 | 0.5 | 0.4344 | 0.5 |
60
+ | 1.1325 | 1.7 | 90 | 1.1528 | 0.6029 | 0.6071 | 0.5755 | 0.6071 |
61
+ | 0.7556 | 2.26 | 120 | 0.8986 | 0.6796 | 0.6310 | 0.6237 | 0.6310 |
62
+ | 0.458 | 2.83 | 150 | 0.9989 | 0.6815 | 0.6071 | 0.5981 | 0.6071 |
63
+ | 0.2407 | 3.4 | 180 | 1.2074 | 0.6018 | 0.5476 | 0.5200 | 0.5476 |
64
+ | 0.2018 | 3.96 | 210 | 1.0334 | 0.7163 | 0.6786 | 0.6847 | 0.6786 |
65
+ | 0.0545 | 4.53 | 240 | 1.2405 | 0.6544 | 0.5952 | 0.5899 | 0.5952 |
66
+ | 0.0464 | 5.09 | 270 | 1.1513 | 0.7442 | 0.6905 | 0.6869 | 0.6905 |
67
+ | 0.0105 | 5.66 | 300 | 1.5555 | 0.7304 | 0.6429 | 0.6344 | 0.6429 |
68
+ | 0.025 | 6.23 | 330 | 1.3049 | 0.7119 | 0.6310 | 0.6343 | 0.6310 |
69
+ | 0.0045 | 6.79 | 360 | 1.3200 | 0.6754 | 0.6190 | 0.6211 | 0.6190 |
70
+ | 0.0036 | 7.36 | 390 | 1.4460 | 0.6754 | 0.6190 | 0.6211 | 0.6190 |
71
+ | 0.0031 | 7.92 | 420 | 1.4770 | 0.6754 | 0.6190 | 0.6211 | 0.6190 |
72
+ | 0.0028 | 8.49 | 450 | 1.4846 | 0.6754 | 0.6190 | 0.6211 | 0.6190 |
73
+ | 0.0023 | 9.06 | 480 | 1.5149 | 0.6666 | 0.6071 | 0.6086 | 0.6071 |
74
+ | 0.0022 | 9.62 | 510 | 1.5523 | 0.6666 | 0.6071 | 0.6086 | 0.6071 |
75
+ | 0.002 | 10.19 | 540 | 1.5883 | 0.6754 | 0.6190 | 0.6211 | 0.6190 |
76
+ | 0.0019 | 10.75 | 570 | 1.6123 | 0.6754 | 0.6190 | 0.6211 | 0.6190 |
77
+ | 0.0016 | 11.32 | 600 | 1.6183 | 0.6754 | 0.6190 | 0.6211 | 0.6190 |
78
+ | 0.0017 | 11.89 | 630 | 1.6112 | 0.6754 | 0.6190 | 0.6211 | 0.6190 |
79
+ | 0.0016 | 12.45 | 660 | 1.6067 | 0.6754 | 0.6190 | 0.6211 | 0.6190 |
80
+ | 0.0015 | 13.02 | 690 | 1.6122 | 0.6754 | 0.6190 | 0.6211 | 0.6190 |
81
+ | 0.0014 | 13.58 | 720 | 1.6163 | 0.6754 | 0.6190 | 0.6211 | 0.6190 |
82
+ | 0.0014 | 14.15 | 750 | 1.6194 | 0.6754 | 0.6190 | 0.6211 | 0.6190 |
83
+ | 0.0015 | 14.72 | 780 | 1.6215 | 0.6754 | 0.6190 | 0.6211 | 0.6190 |
84
 
85
 
86
  ### Framework versions
87
 
88
  - Transformers 4.38.2
89
+ - Pytorch 2.2.1+cu121
90
  - Datasets 2.18.0
91
  - Tokenizers 0.15.2
config.json CHANGED
@@ -1,17 +1,13 @@
1
  {
2
- "_name_or_path": "bert-base-uncased",
3
  "activation": "gelu",
4
  "architectures": [
5
  "DistilBertForSequenceClassification"
6
  ],
7
  "attention_dropout": 0.1,
8
- "attention_probs_dropout_prob": 0.1,
9
  "dim": 768,
10
  "dropout": 0.1,
11
- "gradient_checkpointing": false,
12
- "hidden_act": "gelu",
13
  "hidden_dim": 3072,
14
- "hidden_dropout_prob": 0.1,
15
  "id2label": {
16
  "0": "anger",
17
  "1": "fear",
@@ -22,7 +18,6 @@
22
  "6": "surprise"
23
  },
24
  "initializer_range": 0.02,
25
- "intermediate_size": 3072,
26
  "label2id": {
27
  "LABEL_0": 0,
28
  "LABEL_1": 1,
@@ -32,20 +27,18 @@
32
  "LABEL_5": 5,
33
  "LABEL_6": 6
34
  },
35
- "layer_norm_eps": 1e-12,
36
  "max_position_embeddings": 512,
37
  "model_type": "distilbert",
38
  "n_heads": 12,
39
- "n_layers": 12,
 
40
  "pad_token_id": 0,
41
- "position_embedding_type": "absolute",
42
  "problem_type": "single_label_classification",
43
  "qa_dropout": 0.1,
44
  "seq_classif_dropout": 0.2,
45
  "sinusoidal_pos_embds": false,
 
46
  "torch_dtype": "float32",
47
  "transformers_version": "4.38.2",
48
- "type_vocab_size": 2,
49
- "use_cache": true,
50
- "vocab_size": 30522
51
  }
 
1
  {
2
+ "_name_or_path": "distilbert-base-cased",
3
  "activation": "gelu",
4
  "architectures": [
5
  "DistilBertForSequenceClassification"
6
  ],
7
  "attention_dropout": 0.1,
 
8
  "dim": 768,
9
  "dropout": 0.1,
 
 
10
  "hidden_dim": 3072,
 
11
  "id2label": {
12
  "0": "anger",
13
  "1": "fear",
 
18
  "6": "surprise"
19
  },
20
  "initializer_range": 0.02,
 
21
  "label2id": {
22
  "LABEL_0": 0,
23
  "LABEL_1": 1,
 
27
  "LABEL_5": 5,
28
  "LABEL_6": 6
29
  },
 
30
  "max_position_embeddings": 512,
31
  "model_type": "distilbert",
32
  "n_heads": 12,
33
+ "n_layers": 6,
34
+ "output_past": true,
35
  "pad_token_id": 0,
 
36
  "problem_type": "single_label_classification",
37
  "qa_dropout": 0.1,
38
  "seq_classif_dropout": 0.2,
39
  "sinusoidal_pos_embds": false,
40
+ "tie_weights_": true,
41
  "torch_dtype": "float32",
42
  "transformers_version": "4.38.2",
43
+ "vocab_size": 28996
 
 
44
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:239de5ddc5a7f65549b2ed59583c44ecf6fae1c91e8f0fd6ab6a0522a5c469c5
3
- size 437968636
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e1ed209bdadb683f8a13a1ef4b0cc12b9167ff7b882a2c9b044ee743b66296c
3
+ size 263160068
runs/Mar15_22-18-02_a974890be047/events.out.tfevents.1710541098.a974890be047.147.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a17ce72ada9bd102199b0da6363af0d2e32f59d5d8c936b63cbcec4add196807
3
+ size 22805
runs/Mar15_22-18-02_a974890be047/events.out.tfevents.1710545075.a974890be047.147.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b6d04509f4fbcd6c4fbc048ce37ea89321510648573ed8645700ce828e14b86a
3
+ size 560
tokenizer_config.json CHANGED
@@ -44,7 +44,7 @@
44
  "clean_up_tokenization_spaces": true,
45
  "cls_token": "[CLS]",
46
  "do_basic_tokenize": true,
47
- "do_lower_case": true,
48
  "mask_token": "[MASK]",
49
  "model_max_length": 512,
50
  "never_split": null,
 
44
  "clean_up_tokenization_spaces": true,
45
  "cls_token": "[CLS]",
46
  "do_basic_tokenize": true,
47
+ "do_lower_case": false,
48
  "mask_token": "[MASK]",
49
  "model_max_length": 512,
50
  "never_split": null,
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a350d98d9c50022f698d1f446e02d7111b095a5de05b2ea056fe82e41fc3f8ad
3
  size 4856
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0b81dd5c7dc7d95c79dd1b21ce5ce5687837f9d0c7a1ff040444cc6802d45aaf
3
  size 4856
vocab.txt CHANGED
The diff for this file is too large to render. See raw diff