SimoneJLaudani commited on
Commit
d31e6a1
·
verified ·
1 Parent(s): f09301a

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
  # trainer7
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: 0.0154
24
- - Precision: 0.9890
25
- - Recall: 0.9881
26
- - F1: 0.9881
27
- - Accuracy: 0.9881
28
 
29
  ## Model description
30
 
@@ -43,35 +43,40 @@ More information needed
43
  ### Training hyperparameters
44
 
45
  The following hyperparameters were used during training:
46
- - learning_rate: 2e-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
- | 1.1015 | 0.57 | 30 | 1.1096 | 0.6052 | 0.6548 | 0.5979 | 0.6548 |
59
- | 0.9825 | 1.13 | 60 | 0.8476 | 0.7941 | 0.7381 | 0.7057 | 0.7381 |
60
- | 0.6428 | 1.7 | 90 | 0.5846 | 0.9313 | 0.9167 | 0.9152 | 0.9167 |
61
- | 0.3817 | 2.26 | 120 | 0.3105 | 0.9576 | 0.9524 | 0.9527 | 0.9524 |
62
- | 0.1681 | 2.83 | 150 | 0.0990 | 0.9890 | 0.9881 | 0.9881 | 0.9881 |
63
- | 0.077 | 3.4 | 180 | 0.0482 | 0.9890 | 0.9881 | 0.9881 | 0.9881 |
64
- | 0.0362 | 3.96 | 210 | 0.0204 | 1.0 | 1.0 | 1.0 | 1.0 |
65
- | 0.0221 | 4.53 | 240 | 0.0144 | 1.0 | 1.0 | 1.0 | 1.0 |
66
- | 0.0107 | 5.09 | 270 | 0.0115 | 1.0 | 1.0 | 1.0 | 1.0 |
67
- | 0.007 | 5.66 | 300 | 0.0142 | 0.9890 | 0.9881 | 0.9881 | 0.9881 |
68
- | 0.0188 | 6.23 | 330 | 0.0177 | 0.9890 | 0.9881 | 0.9881 | 0.9881 |
69
- | 0.0159 | 6.79 | 360 | 0.0147 | 0.9890 | 0.9881 | 0.9881 | 0.9881 |
 
 
 
 
 
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
  # trainer7
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.3387
24
+ - Precision: 0.7247
25
+ - Recall: 0.6905
26
+ - F1: 0.6847
27
+ - Accuracy: 0.6905
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: 10
53
 
54
  ### Training results
55
 
56
  | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
57
  |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
58
+ | 1.8743 | 0.57 | 30 | 1.7616 | 0.1668 | 0.2857 | 0.1788 | 0.2857 |
59
+ | 1.7125 | 1.13 | 60 | 1.6249 | 0.2572 | 0.3810 | 0.2914 | 0.3810 |
60
+ | 1.4398 | 1.7 | 90 | 1.3244 | 0.4911 | 0.4881 | 0.4326 | 0.4881 |
61
+ | 1.0265 | 2.26 | 120 | 1.0496 | 0.6570 | 0.6429 | 0.6197 | 0.6429 |
62
+ | 0.6366 | 2.83 | 150 | 0.9035 | 0.6304 | 0.5952 | 0.5764 | 0.5952 |
63
+ | 0.3959 | 3.4 | 180 | 0.8226 | 0.6881 | 0.6667 | 0.6557 | 0.6667 |
64
+ | 0.2172 | 3.96 | 210 | 1.0152 | 0.6932 | 0.6429 | 0.6356 | 0.6429 |
65
+ | 0.0946 | 4.53 | 240 | 1.0485 | 0.7357 | 0.6786 | 0.6913 | 0.6786 |
66
+ | 0.0416 | 5.09 | 270 | 1.1458 | 0.6983 | 0.6548 | 0.6565 | 0.6548 |
67
+ | 0.0238 | 5.66 | 300 | 1.4215 | 0.6839 | 0.6310 | 0.6272 | 0.6310 |
68
+ | 0.0132 | 6.23 | 330 | 1.2009 | 0.7481 | 0.7024 | 0.7090 | 0.7024 |
69
+ | 0.0077 | 6.79 | 360 | 1.2686 | 0.6968 | 0.6548 | 0.6538 | 0.6548 |
70
+ | 0.0064 | 7.36 | 390 | 1.2725 | 0.7128 | 0.6786 | 0.6717 | 0.6786 |
71
+ | 0.0057 | 7.92 | 420 | 1.3092 | 0.7161 | 0.6786 | 0.6731 | 0.6786 |
72
+ | 0.0053 | 8.49 | 450 | 1.3306 | 0.7065 | 0.6667 | 0.6640 | 0.6667 |
73
+ | 0.0046 | 9.06 | 480 | 1.3377 | 0.7156 | 0.6786 | 0.6749 | 0.6786 |
74
+ | 0.0044 | 9.62 | 510 | 1.3387 | 0.7247 | 0.6905 | 0.6847 | 0.6905 |
75
 
76
 
77
  ### Framework versions
78
 
79
  - Transformers 4.38.2
80
+ - Pytorch 2.2.1+cu121
81
  - Datasets 2.18.0
82
  - 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:f670fc0f3b7d4e901c230f9352beed3f90c0028a74e58f50cbd3aea44b1b41c9
3
- size 437968636
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6a759aec30808f05c7003b4d5cfbff0ec601ab6eee6a8ba3975e8cd010f9e081
3
+ size 263160068
runs/Mar15_15-58-13_f43bf2842da2/events.out.tfevents.1710518305.f43bf2842da2.238.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fce58e17fc48cab258294861f65c362e12a7af813afe0f07f3e257981009120d
3
+ size 16658
runs/Mar15_15-58-13_f43bf2842da2/events.out.tfevents.1710518694.f43bf2842da2.238.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:89a0eb73fce6dc0cc7a74b9f79fd839f5006cfb17ab61a05fcd7cdf22efce7f3
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:5c8dd77712fcfd41d4e807a797e7348322b6017bd6defd6910d4aa5cfabb6be1
3
  size 4856
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6415c46dd6be9e0b256070d9c7f5cb0750df48b699ca64ca2e23396bd4818e38
3
  size 4856
vocab.txt CHANGED
The diff for this file is too large to render. See raw diff