First commit
Browse files- config.json +35 -0
- optimizer.pt +3 -0
- pytorch_model.bin +3 -0
- rng_state.pth +3 -0
- scheduler.pt +3 -0
- special_tokens_map.json +1 -0
- tokenizer.json +0 -0
- tokenizer_config.json +1 -0
- trainer_state.json +122 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
config.json
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "distilbert-base-uncased-finetuned-sst-2-english",
|
3 |
+
"activation": "gelu",
|
4 |
+
"architectures": [
|
5 |
+
"DistilBertForSequenceClassification"
|
6 |
+
],
|
7 |
+
"attention_dropout": 0.1,
|
8 |
+
"dim": 768,
|
9 |
+
"dropout": 0.1,
|
10 |
+
"finetuning_task": "sst-2",
|
11 |
+
"hidden_dim": 3072,
|
12 |
+
"id2label": {
|
13 |
+
"0": "NEGATIVE",
|
14 |
+
"1": "POSITIVE"
|
15 |
+
},
|
16 |
+
"initializer_range": 0.02,
|
17 |
+
"label2id": {
|
18 |
+
"NEGATIVE": 0,
|
19 |
+
"POSITIVE": 1
|
20 |
+
},
|
21 |
+
"max_position_embeddings": 512,
|
22 |
+
"model_type": "distilbert",
|
23 |
+
"n_heads": 12,
|
24 |
+
"n_layers": 6,
|
25 |
+
"output_past": true,
|
26 |
+
"pad_token_id": 0,
|
27 |
+
"problem_type": "single_label_classification",
|
28 |
+
"qa_dropout": 0.1,
|
29 |
+
"seq_classif_dropout": 0.2,
|
30 |
+
"sinusoidal_pos_embds": false,
|
31 |
+
"tie_weights_": true,
|
32 |
+
"torch_dtype": "float32",
|
33 |
+
"transformers_version": "4.18.0",
|
34 |
+
"vocab_size": 30522
|
35 |
+
}
|
optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:446b7c1d0aae036cd76cc658947ebb996d11963070fa4125d2eb4e766dcf6556
|
3 |
+
size 535700065
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:954bc13ef8c16ac1166ca329dee788ba897727a25f471d1673d626a6f4811f60
|
3 |
+
size 267854321
|
rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:316f57b54794e8217437adff19828bf3211d43ce8edcd1e1c556a4d384c813de
|
3 |
+
size 14503
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2d6a05060cf87c9154cd8ec8b533f14193797c1571031ce73fba49f7cd7b6f8b
|
3 |
+
size 623
|
special_tokens_map.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"do_lower_case": true, "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "tokenize_chinese_chars": true, "strip_accents": null, "model_max_length": 512, "special_tokens_map_file": null, "name_or_path": "distilbert-base-uncased", "tokenizer_class": "DistilBertTokenizer"}
|
trainer_state.json
ADDED
@@ -0,0 +1,122 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 4.62962962962963,
|
5 |
+
"global_step": 5500,
|
6 |
+
"is_hyper_param_search": false,
|
7 |
+
"is_local_process_zero": true,
|
8 |
+
"is_world_process_zero": true,
|
9 |
+
"log_history": [
|
10 |
+
{
|
11 |
+
"epoch": 0.42,
|
12 |
+
"learning_rate": 4.57912457912458e-05,
|
13 |
+
"loss": 0.2927,
|
14 |
+
"step": 500
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"epoch": 0.84,
|
18 |
+
"learning_rate": 4.158249158249159e-05,
|
19 |
+
"loss": 0.1893,
|
20 |
+
"step": 1000
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"epoch": 1.0,
|
24 |
+
"eval_accuracy": 0.962,
|
25 |
+
"eval_f1": 0.9604989604989606,
|
26 |
+
"eval_loss": 0.14235617220401764,
|
27 |
+
"eval_runtime": 1.4452,
|
28 |
+
"eval_samples_per_second": 345.973,
|
29 |
+
"eval_steps_per_second": 43.593,
|
30 |
+
"step": 1188
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 1.26,
|
34 |
+
"learning_rate": 3.7373737373737376e-05,
|
35 |
+
"loss": 0.1151,
|
36 |
+
"step": 1500
|
37 |
+
},
|
38 |
+
{
|
39 |
+
"epoch": 1.68,
|
40 |
+
"learning_rate": 3.3164983164983165e-05,
|
41 |
+
"loss": 0.0722,
|
42 |
+
"step": 2000
|
43 |
+
},
|
44 |
+
{
|
45 |
+
"epoch": 2.0,
|
46 |
+
"eval_accuracy": 0.956,
|
47 |
+
"eval_f1": 0.9539748953974895,
|
48 |
+
"eval_loss": 0.2519678771495819,
|
49 |
+
"eval_runtime": 1.3777,
|
50 |
+
"eval_samples_per_second": 362.913,
|
51 |
+
"eval_steps_per_second": 45.727,
|
52 |
+
"step": 2376
|
53 |
+
},
|
54 |
+
{
|
55 |
+
"epoch": 2.1,
|
56 |
+
"learning_rate": 2.8956228956228958e-05,
|
57 |
+
"loss": 0.0563,
|
58 |
+
"step": 2500
|
59 |
+
},
|
60 |
+
{
|
61 |
+
"epoch": 2.53,
|
62 |
+
"learning_rate": 2.474747474747475e-05,
|
63 |
+
"loss": 0.0135,
|
64 |
+
"step": 3000
|
65 |
+
},
|
66 |
+
{
|
67 |
+
"epoch": 2.95,
|
68 |
+
"learning_rate": 2.0538720538720542e-05,
|
69 |
+
"loss": 0.0204,
|
70 |
+
"step": 3500
|
71 |
+
},
|
72 |
+
{
|
73 |
+
"epoch": 3.0,
|
74 |
+
"eval_accuracy": 0.962,
|
75 |
+
"eval_f1": 0.9608247422680413,
|
76 |
+
"eval_loss": 0.2846008539199829,
|
77 |
+
"eval_runtime": 1.2758,
|
78 |
+
"eval_samples_per_second": 391.904,
|
79 |
+
"eval_steps_per_second": 49.38,
|
80 |
+
"step": 3564
|
81 |
+
},
|
82 |
+
{
|
83 |
+
"epoch": 3.37,
|
84 |
+
"learning_rate": 1.632996632996633e-05,
|
85 |
+
"loss": 0.005,
|
86 |
+
"step": 4000
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 3.79,
|
90 |
+
"learning_rate": 1.2121212121212122e-05,
|
91 |
+
"loss": 0.0001,
|
92 |
+
"step": 4500
|
93 |
+
},
|
94 |
+
{
|
95 |
+
"epoch": 4.0,
|
96 |
+
"eval_accuracy": 0.956,
|
97 |
+
"eval_f1": 0.9541666666666667,
|
98 |
+
"eval_loss": 0.3692273795604706,
|
99 |
+
"eval_runtime": 1.4564,
|
100 |
+
"eval_samples_per_second": 343.322,
|
101 |
+
"eval_steps_per_second": 43.259,
|
102 |
+
"step": 4752
|
103 |
+
},
|
104 |
+
{
|
105 |
+
"epoch": 4.21,
|
106 |
+
"learning_rate": 7.912457912457913e-06,
|
107 |
+
"loss": 0.0024,
|
108 |
+
"step": 5000
|
109 |
+
},
|
110 |
+
{
|
111 |
+
"epoch": 4.63,
|
112 |
+
"learning_rate": 3.7037037037037037e-06,
|
113 |
+
"loss": 0.0,
|
114 |
+
"step": 5500
|
115 |
+
}
|
116 |
+
],
|
117 |
+
"max_steps": 5940,
|
118 |
+
"num_train_epochs": 5,
|
119 |
+
"total_flos": 555135681114528.0,
|
120 |
+
"trial_name": null,
|
121 |
+
"trial_params": null
|
122 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2f43a7012131c612efbe4afc6b48a1af3ef1002538e100750ddbcb5fba5cf0a2
|
3 |
+
size 3055
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|