End of training
Browse files- README.md +139 -0
- config.json +43 -0
- model.safetensors +3 -0
- runs/Apr06_08-21-52_05814fbb5cd7/events.out.tfevents.1712391727.05814fbb5cd7.176.0 +3 -0
- runs/Apr06_09-06-31_05814fbb5cd7/events.out.tfevents.1712394393.05814fbb5cd7.176.1 +3 -0
- runs/Apr06_09-06-31_05814fbb5cd7/events.out.tfevents.1712414367.05814fbb5cd7.176.2 +3 -0
- special_tokens_map.json +7 -0
- tokenizer_config.json +57 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
README.md
ADDED
@@ -0,0 +1,139 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: distilbert-base-uncased
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- precision
|
8 |
+
- recall
|
9 |
+
- f1
|
10 |
+
- accuracy
|
11 |
+
model-index:
|
12 |
+
- name: trainer_3f
|
13 |
+
results: []
|
14 |
+
---
|
15 |
+
|
16 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
17 |
+
should probably proofread and complete it, then remove this comment. -->
|
18 |
+
|
19 |
+
# trainer_3f
|
20 |
+
|
21 |
+
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the None dataset.
|
22 |
+
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 1.4852
|
24 |
+
- Precision: 0.8278
|
25 |
+
- Recall: 0.8235
|
26 |
+
- F1: 0.8236
|
27 |
+
- Accuracy: 0.8235
|
28 |
+
|
29 |
+
## Model description
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Intended uses & limitations
|
34 |
+
|
35 |
+
More information needed
|
36 |
+
|
37 |
+
## Training and evaluation data
|
38 |
+
|
39 |
+
More information needed
|
40 |
+
|
41 |
+
## Training procedure
|
42 |
+
|
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 |
+
| 0.4929 | 0.14 | 30 | 0.8404 | 0.7905 | 0.7703 | 0.7635 | 0.7703 |
|
59 |
+
| 0.2641 | 0.27 | 60 | 0.7850 | 0.7994 | 0.7927 | 0.7931 | 0.7927 |
|
60 |
+
| 0.3163 | 0.41 | 90 | 0.8025 | 0.7997 | 0.7927 | 0.7926 | 0.7927 |
|
61 |
+
| 0.2025 | 0.54 | 120 | 0.8584 | 0.8177 | 0.8067 | 0.8059 | 0.8067 |
|
62 |
+
| 0.2399 | 0.68 | 150 | 0.8939 | 0.8128 | 0.8011 | 0.7993 | 0.8011 |
|
63 |
+
| 0.226 | 0.81 | 180 | 0.9530 | 0.7911 | 0.7787 | 0.7799 | 0.7787 |
|
64 |
+
| 0.1659 | 0.95 | 210 | 0.8972 | 0.8019 | 0.7983 | 0.7978 | 0.7983 |
|
65 |
+
| 0.079 | 1.08 | 240 | 0.9426 | 0.8264 | 0.8207 | 0.8198 | 0.8207 |
|
66 |
+
| 0.0125 | 1.22 | 270 | 0.9969 | 0.8282 | 0.8207 | 0.8198 | 0.8207 |
|
67 |
+
| 0.057 | 1.35 | 300 | 1.1346 | 0.8074 | 0.7927 | 0.7937 | 0.7927 |
|
68 |
+
| 0.0778 | 1.49 | 330 | 1.0462 | 0.8280 | 0.8235 | 0.8231 | 0.8235 |
|
69 |
+
| 0.0851 | 1.62 | 360 | 1.0396 | 0.8230 | 0.8179 | 0.8176 | 0.8179 |
|
70 |
+
| 0.1426 | 1.76 | 390 | 1.1215 | 0.8323 | 0.8263 | 0.8249 | 0.8263 |
|
71 |
+
| 0.2026 | 1.89 | 420 | 1.1725 | 0.8020 | 0.7955 | 0.7951 | 0.7955 |
|
72 |
+
| 0.1132 | 2.03 | 450 | 1.1997 | 0.8063 | 0.8039 | 0.8032 | 0.8039 |
|
73 |
+
| 0.011 | 2.16 | 480 | 1.2057 | 0.8099 | 0.8039 | 0.8042 | 0.8039 |
|
74 |
+
| 0.0373 | 2.3 | 510 | 1.4208 | 0.7777 | 0.7675 | 0.7649 | 0.7675 |
|
75 |
+
| 0.0468 | 2.43 | 540 | 1.3124 | 0.7947 | 0.7843 | 0.7842 | 0.7843 |
|
76 |
+
| 0.0434 | 2.57 | 570 | 1.3305 | 0.7972 | 0.7927 | 0.7915 | 0.7927 |
|
77 |
+
| 0.1619 | 2.7 | 600 | 1.4492 | 0.7964 | 0.7843 | 0.7809 | 0.7843 |
|
78 |
+
| 0.0283 | 2.84 | 630 | 1.4400 | 0.7912 | 0.7815 | 0.7772 | 0.7815 |
|
79 |
+
| 0.0384 | 2.97 | 660 | 1.2395 | 0.8115 | 0.8039 | 0.8042 | 0.8039 |
|
80 |
+
| 0.0484 | 3.11 | 690 | 1.2055 | 0.8280 | 0.8235 | 0.8233 | 0.8235 |
|
81 |
+
| 0.0012 | 3.24 | 720 | 1.2217 | 0.8150 | 0.8123 | 0.8115 | 0.8123 |
|
82 |
+
| 0.0219 | 3.38 | 750 | 1.2076 | 0.8248 | 0.8207 | 0.8203 | 0.8207 |
|
83 |
+
| 0.0041 | 3.51 | 780 | 1.5603 | 0.7960 | 0.7815 | 0.7804 | 0.7815 |
|
84 |
+
| 0.0044 | 3.65 | 810 | 1.3068 | 0.8158 | 0.8067 | 0.8059 | 0.8067 |
|
85 |
+
| 0.0082 | 3.78 | 840 | 1.3362 | 0.8133 | 0.8067 | 0.8064 | 0.8067 |
|
86 |
+
| 0.0242 | 3.92 | 870 | 1.3184 | 0.8176 | 0.8151 | 0.8150 | 0.8151 |
|
87 |
+
| 0.0034 | 4.05 | 900 | 1.2882 | 0.8303 | 0.8263 | 0.8267 | 0.8263 |
|
88 |
+
| 0.0004 | 4.19 | 930 | 1.2980 | 0.8222 | 0.8179 | 0.8183 | 0.8179 |
|
89 |
+
| 0.0004 | 4.32 | 960 | 1.3349 | 0.8155 | 0.8123 | 0.8123 | 0.8123 |
|
90 |
+
| 0.0006 | 4.46 | 990 | 1.3493 | 0.8143 | 0.8123 | 0.8119 | 0.8123 |
|
91 |
+
| 0.0004 | 4.59 | 1020 | 1.3488 | 0.8255 | 0.8207 | 0.8208 | 0.8207 |
|
92 |
+
| 0.0014 | 4.73 | 1050 | 1.3566 | 0.8283 | 0.8235 | 0.8233 | 0.8235 |
|
93 |
+
| 0.0005 | 4.86 | 1080 | 1.2668 | 0.8375 | 0.8319 | 0.8318 | 0.8319 |
|
94 |
+
| 0.0004 | 5.0 | 1110 | 1.2401 | 0.8328 | 0.8263 | 0.8263 | 0.8263 |
|
95 |
+
| 0.0079 | 5.14 | 1140 | 1.2869 | 0.8299 | 0.8263 | 0.8258 | 0.8263 |
|
96 |
+
| 0.0002 | 5.27 | 1170 | 1.2915 | 0.8349 | 0.8319 | 0.8311 | 0.8319 |
|
97 |
+
| 0.0007 | 5.41 | 1200 | 1.2616 | 0.8265 | 0.8235 | 0.8228 | 0.8235 |
|
98 |
+
| 0.0003 | 5.54 | 1230 | 1.2504 | 0.8272 | 0.8235 | 0.8231 | 0.8235 |
|
99 |
+
| 0.0012 | 5.68 | 1260 | 1.3068 | 0.8290 | 0.8263 | 0.8258 | 0.8263 |
|
100 |
+
| 0.0002 | 5.81 | 1290 | 1.3276 | 0.8322 | 0.8291 | 0.8285 | 0.8291 |
|
101 |
+
| 0.0002 | 5.95 | 1320 | 1.3319 | 0.8294 | 0.8263 | 0.8261 | 0.8263 |
|
102 |
+
| 0.0055 | 6.08 | 1350 | 1.3286 | 0.8243 | 0.8207 | 0.8206 | 0.8207 |
|
103 |
+
| 0.0002 | 6.22 | 1380 | 1.3927 | 0.8326 | 0.8291 | 0.8291 | 0.8291 |
|
104 |
+
| 0.0143 | 6.35 | 1410 | 1.3880 | 0.8180 | 0.8151 | 0.8149 | 0.8151 |
|
105 |
+
| 0.0002 | 6.49 | 1440 | 1.3890 | 0.8211 | 0.8179 | 0.8179 | 0.8179 |
|
106 |
+
| 0.0002 | 6.62 | 1470 | 1.3921 | 0.8211 | 0.8179 | 0.8179 | 0.8179 |
|
107 |
+
| 0.0003 | 6.76 | 1500 | 1.4093 | 0.8148 | 0.8095 | 0.8095 | 0.8095 |
|
108 |
+
| 0.0002 | 6.89 | 1530 | 1.4409 | 0.8183 | 0.8095 | 0.8097 | 0.8095 |
|
109 |
+
| 0.0196 | 7.03 | 1560 | 1.4491 | 0.8179 | 0.8095 | 0.8091 | 0.8095 |
|
110 |
+
| 0.0082 | 7.16 | 1590 | 1.5177 | 0.8067 | 0.8011 | 0.8003 | 0.8011 |
|
111 |
+
| 0.0001 | 7.3 | 1620 | 1.5283 | 0.8064 | 0.8011 | 0.8004 | 0.8011 |
|
112 |
+
| 0.0007 | 7.43 | 1650 | 1.4816 | 0.8072 | 0.8039 | 0.8032 | 0.8039 |
|
113 |
+
| 0.0001 | 7.57 | 1680 | 1.4737 | 0.8072 | 0.8039 | 0.8032 | 0.8039 |
|
114 |
+
| 0.0002 | 7.7 | 1710 | 1.4429 | 0.8111 | 0.8095 | 0.8090 | 0.8095 |
|
115 |
+
| 0.0005 | 7.84 | 1740 | 1.4328 | 0.8087 | 0.8067 | 0.8064 | 0.8067 |
|
116 |
+
| 0.0001 | 7.97 | 1770 | 1.4271 | 0.8088 | 0.8067 | 0.8065 | 0.8067 |
|
117 |
+
| 0.0001 | 8.11 | 1800 | 1.4281 | 0.8088 | 0.8067 | 0.8065 | 0.8067 |
|
118 |
+
| 0.0001 | 8.24 | 1830 | 1.4296 | 0.8115 | 0.8095 | 0.8092 | 0.8095 |
|
119 |
+
| 0.0002 | 8.38 | 1860 | 1.4354 | 0.8260 | 0.8235 | 0.8234 | 0.8235 |
|
120 |
+
| 0.0001 | 8.51 | 1890 | 1.4407 | 0.8260 | 0.8235 | 0.8234 | 0.8235 |
|
121 |
+
| 0.0001 | 8.65 | 1920 | 1.4333 | 0.8176 | 0.8151 | 0.8148 | 0.8151 |
|
122 |
+
| 0.0001 | 8.78 | 1950 | 1.4341 | 0.8176 | 0.8151 | 0.8148 | 0.8151 |
|
123 |
+
| 0.0001 | 8.92 | 1980 | 1.4357 | 0.8176 | 0.8151 | 0.8148 | 0.8151 |
|
124 |
+
| 0.0001 | 9.05 | 2010 | 1.4371 | 0.8176 | 0.8151 | 0.8148 | 0.8151 |
|
125 |
+
| 0.0009 | 9.19 | 2040 | 1.4660 | 0.8278 | 0.8235 | 0.8236 | 0.8235 |
|
126 |
+
| 0.0128 | 9.32 | 2070 | 1.4876 | 0.8278 | 0.8235 | 0.8236 | 0.8235 |
|
127 |
+
| 0.0001 | 9.46 | 2100 | 1.4889 | 0.8278 | 0.8235 | 0.8236 | 0.8235 |
|
128 |
+
| 0.0001 | 9.59 | 2130 | 1.4849 | 0.8278 | 0.8235 | 0.8236 | 0.8235 |
|
129 |
+
| 0.0001 | 9.73 | 2160 | 1.4847 | 0.8278 | 0.8235 | 0.8236 | 0.8235 |
|
130 |
+
| 0.0001 | 9.86 | 2190 | 1.4851 | 0.8278 | 0.8235 | 0.8236 | 0.8235 |
|
131 |
+
| 0.0001 | 10.0 | 2220 | 1.4852 | 0.8278 | 0.8235 | 0.8236 | 0.8235 |
|
132 |
+
|
133 |
+
|
134 |
+
### Framework versions
|
135 |
+
|
136 |
+
- Transformers 4.39.3
|
137 |
+
- Pytorch 2.2.1+cu121
|
138 |
+
- Datasets 2.18.0
|
139 |
+
- Tokenizers 0.15.2
|
config.json
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "distilbert-base-uncased",
|
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",
|
14 |
+
"2": "joy",
|
15 |
+
"3": "love",
|
16 |
+
"4": "neutral",
|
17 |
+
"5": "sadness",
|
18 |
+
"6": "surprise"
|
19 |
+
},
|
20 |
+
"initializer_range": 0.02,
|
21 |
+
"label2id": {
|
22 |
+
"LABEL_0": 0,
|
23 |
+
"LABEL_1": 1,
|
24 |
+
"LABEL_2": 2,
|
25 |
+
"LABEL_3": 3,
|
26 |
+
"LABEL_4": 4,
|
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 |
+
"pad_token_id": 0,
|
35 |
+
"problem_type": "single_label_classification",
|
36 |
+
"qa_dropout": 0.1,
|
37 |
+
"seq_classif_dropout": 0.2,
|
38 |
+
"sinusoidal_pos_embds": false,
|
39 |
+
"tie_weights_": true,
|
40 |
+
"torch_dtype": "float32",
|
41 |
+
"transformers_version": "4.39.3",
|
42 |
+
"vocab_size": 30522
|
43 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:593de1545c5f6b94d060795fe4033e6ca71941efc06aee5a09b3404a52e00730
|
3 |
+
size 267847948
|
runs/Apr06_08-21-52_05814fbb5cd7/events.out.tfevents.1712391727.05814fbb5cd7.176.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5699062922545b896aa5f8251d2941ba9c9f3650490c00cad04afd737664a0c2
|
3 |
+
size 12434
|
runs/Apr06_09-06-31_05814fbb5cd7/events.out.tfevents.1712394393.05814fbb5cd7.176.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b2149076d485a89166187e44b7fcff64473d997c68ec73daefccc29ca709c30b
|
3 |
+
size 55655
|
runs/Apr06_09-06-31_05814fbb5cd7/events.out.tfevents.1712414367.05814fbb5cd7.176.2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2f83a7aa18224f2d65b36b60ef81bb0bd527855d66410cd24423b827e1ecc873
|
3 |
+
size 560
|
special_tokens_map.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": "[CLS]",
|
3 |
+
"mask_token": "[MASK]",
|
4 |
+
"pad_token": "[PAD]",
|
5 |
+
"sep_token": "[SEP]",
|
6 |
+
"unk_token": "[UNK]"
|
7 |
+
}
|
tokenizer_config.json
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "[PAD]",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"100": {
|
12 |
+
"content": "[UNK]",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"101": {
|
20 |
+
"content": "[CLS]",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"102": {
|
28 |
+
"content": "[SEP]",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"103": {
|
36 |
+
"content": "[MASK]",
|
37 |
+
"lstrip": false,
|
38 |
+
"normalized": false,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": true
|
42 |
+
}
|
43 |
+
},
|
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,
|
51 |
+
"pad_token": "[PAD]",
|
52 |
+
"sep_token": "[SEP]",
|
53 |
+
"strip_accents": null,
|
54 |
+
"tokenize_chinese_chars": true,
|
55 |
+
"tokenizer_class": "DistilBertTokenizer",
|
56 |
+
"unk_token": "[UNK]"
|
57 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:acd5ec0a2d73f51c2fc5e59c72b567d91493dfeb84eccac941b84c1c94df9448
|
3 |
+
size 4920
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|