SimoneJLaudani
commited on
End of training
Browse files- README.md +21 -34
- config.json +5 -12
- model.safetensors +2 -2
- runs/Mar14_20-18-47_18c119a900f6/events.out.tfevents.1710447532.18c119a900f6.18759.13 +3 -0
- runs/Mar14_20-18-47_18c119a900f6/events.out.tfevents.1710449022.18c119a900f6.18759.14 +3 -0
- tokenizer_config.json +1 -1
- training_args.bin +1 -1
- vocab.txt +0 -0
README.md
CHANGED
@@ -1,11 +1,13 @@
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
-
base_model:
|
4 |
tags:
|
5 |
- generated_from_trainer
|
6 |
metrics:
|
7 |
-
-
|
|
|
8 |
- f1
|
|
|
9 |
model-index:
|
10 |
- name: trainer2
|
11 |
results: []
|
@@ -16,11 +18,13 @@ should probably proofread and complete it, then remove this comment. -->
|
|
16 |
|
17 |
# trainer2
|
18 |
|
19 |
-
This model is a fine-tuned version of [
|
20 |
It achieves the following results on the evaluation set:
|
21 |
-
- Loss: 0.
|
22 |
-
-
|
|
|
23 |
- F1: 1.0
|
|
|
24 |
|
25 |
## Model description
|
26 |
|
@@ -45,42 +49,25 @@ The following hyperparameters were used during training:
|
|
45 |
- seed: 42
|
46 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
47 |
- lr_scheduler_type: linear
|
48 |
-
- num_epochs:
|
49 |
|
50 |
### Training results
|
51 |
|
52 |
-
| Training Loss | Epoch | Step | Validation Loss |
|
53 |
-
|
54 |
-
|
|
55 |
-
|
|
56 |
-
|
|
57 |
-
|
|
58 |
-
|
|
59 |
-
|
|
60 |
-
| 0.
|
61 |
-
| 0.
|
62 |
-
| 0.2154 | 10.8 | 270 | 0.3315 | 0.9048 | 0.9032 |
|
63 |
-
| 0.1011 | 12.0 | 300 | 0.3818 | 0.8095 | 0.7946 |
|
64 |
-
| 0.0543 | 13.2 | 330 | 0.1302 | 1.0 | 1.0 |
|
65 |
-
| 0.0265 | 14.4 | 360 | 0.1574 | 0.9524 | 0.9536 |
|
66 |
-
| 0.0154 | 15.6 | 390 | 0.0577 | 1.0 | 1.0 |
|
67 |
-
| 0.0106 | 16.8 | 420 | 0.0895 | 0.9762 | 0.9760 |
|
68 |
-
| 0.0073 | 18.0 | 450 | 0.0355 | 1.0 | 1.0 |
|
69 |
-
| 0.0058 | 19.2 | 480 | 0.0256 | 1.0 | 1.0 |
|
70 |
-
| 0.005 | 20.4 | 510 | 0.0259 | 1.0 | 1.0 |
|
71 |
-
| 0.0041 | 21.6 | 540 | 0.0258 | 1.0 | 1.0 |
|
72 |
-
| 0.0039 | 22.8 | 570 | 0.0260 | 1.0 | 1.0 |
|
73 |
-
| 0.0039 | 24.0 | 600 | 0.0260 | 1.0 | 1.0 |
|
74 |
-
| 0.0037 | 25.2 | 630 | 0.0253 | 1.0 | 1.0 |
|
75 |
-
| 0.0034 | 26.4 | 660 | 0.0254 | 1.0 | 1.0 |
|
76 |
-
| 0.0033 | 27.6 | 690 | 0.0258 | 1.0 | 1.0 |
|
77 |
-
| 0.0034 | 28.8 | 720 | 0.0239 | 1.0 | 1.0 |
|
78 |
-
| 0.0032 | 30.0 | 750 | 0.0234 | 1.0 | 1.0 |
|
79 |
|
80 |
|
81 |
### Framework versions
|
82 |
|
83 |
- Transformers 4.38.2
|
84 |
-
- Pytorch 2.1
|
85 |
- Datasets 2.18.0
|
86 |
- Tokenizers 0.15.2
|
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
+
base_model: distilbert-base-cased
|
4 |
tags:
|
5 |
- generated_from_trainer
|
6 |
metrics:
|
7 |
+
- precision
|
8 |
+
- recall
|
9 |
- f1
|
10 |
+
- accuracy
|
11 |
model-index:
|
12 |
- name: trainer2
|
13 |
results: []
|
|
|
18 |
|
19 |
# trainer2
|
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: 0.0083
|
24 |
+
- Precision: 1.0
|
25 |
+
- Recall: 1.0
|
26 |
- F1: 1.0
|
27 |
+
- Accuracy: 1.0
|
28 |
|
29 |
## Model description
|
30 |
|
|
|
49 |
- seed: 42
|
50 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
51 |
- lr_scheduler_type: linear
|
52 |
+
- num_epochs: 5
|
53 |
|
54 |
### Training results
|
55 |
|
56 |
+
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
57 |
+
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:---:|:--------:|
|
58 |
+
| 0.2385 | 0.57 | 30 | 0.0803 | 1.0 | 1.0 | 1.0 | 1.0 |
|
59 |
+
| 0.0738 | 1.13 | 60 | 0.0324 | 1.0 | 1.0 | 1.0 | 1.0 |
|
60 |
+
| 0.0382 | 1.7 | 90 | 0.0195 | 1.0 | 1.0 | 1.0 | 1.0 |
|
61 |
+
| 0.0263 | 2.26 | 120 | 0.0142 | 1.0 | 1.0 | 1.0 | 1.0 |
|
62 |
+
| 0.0204 | 2.83 | 150 | 0.0115 | 1.0 | 1.0 | 1.0 | 1.0 |
|
63 |
+
| 0.0172 | 3.4 | 180 | 0.0099 | 1.0 | 1.0 | 1.0 | 1.0 |
|
64 |
+
| 0.0148 | 3.96 | 210 | 0.0090 | 1.0 | 1.0 | 1.0 | 1.0 |
|
65 |
+
| 0.014 | 4.53 | 240 | 0.0085 | 1.0 | 1.0 | 1.0 | 1.0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
66 |
|
67 |
|
68 |
### Framework versions
|
69 |
|
70 |
- Transformers 4.38.2
|
71 |
+
- Pytorch 2.2.1+cu121
|
72 |
- Datasets 2.18.0
|
73 |
- Tokenizers 0.15.2
|
config.json
CHANGED
@@ -1,17 +1,13 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
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":
|
|
|
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 |
-
"
|
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:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:eaf076e00c230d37737375d0832ca1f479a53f846b4cd7383bebb5c70d724136
|
3 |
+
size 263160068
|
runs/Mar14_20-18-47_18c119a900f6/events.out.tfevents.1710447532.18c119a900f6.18759.13
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:81f865a42cc47b6d5679751c2497091afdc297cd5317d330b7b344e6b76dc36f
|
3 |
+
size 10601
|
runs/Mar14_20-18-47_18c119a900f6/events.out.tfevents.1710449022.18c119a900f6.18759.14
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1cc3752aadac188bd26e7af2bfcaf83b9fb65dd3d5f9c55ea04c6ac9a6e9e330
|
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":
|
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:
|
3 |
size 4856
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6db5283265949e3cb0699ae54c4b628d0366514705edb3f0a43ffb098c2b3b85
|
3 |
size 4856
|
vocab.txt
CHANGED
The diff for this file is too large to render.
See raw diff
|
|