init
Browse files- config.json +47 -0
- optimizer.pt +3 -0
- pytorch_model.bin +3 -0
- rng_state.pth +3 -0
- scheduler.pt +3 -0
- special_tokens_map.json +7 -0
- tokenizer_config.json +16 -0
- trainer_state.json +104 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
config.json
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "LABEL_0",
|
14 |
+
"1": "LABEL_1",
|
15 |
+
"2": "LABEL_2",
|
16 |
+
"3": "LABEL_3",
|
17 |
+
"4": "LABEL_4",
|
18 |
+
"5": "LABEL_5",
|
19 |
+
"6": "LABEL_6",
|
20 |
+
"7": "LABEL_7"
|
21 |
+
},
|
22 |
+
"initializer_range": 0.02,
|
23 |
+
"label2id": {
|
24 |
+
"LABEL_0": 0,
|
25 |
+
"LABEL_1": 1,
|
26 |
+
"LABEL_2": 2,
|
27 |
+
"LABEL_3": 3,
|
28 |
+
"LABEL_4": 4,
|
29 |
+
"LABEL_5": 5,
|
30 |
+
"LABEL_6": 6,
|
31 |
+
"LABEL_7": 7
|
32 |
+
},
|
33 |
+
"max_position_embeddings": 512,
|
34 |
+
"model_type": "distilbert",
|
35 |
+
"n_heads": 12,
|
36 |
+
"n_layers": 6,
|
37 |
+
"output_past": true,
|
38 |
+
"pad_token_id": 0,
|
39 |
+
"problem_type": "single_label_classification",
|
40 |
+
"qa_dropout": 0.1,
|
41 |
+
"seq_classif_dropout": 0.2,
|
42 |
+
"sinusoidal_pos_embds": false,
|
43 |
+
"tie_weights_": true,
|
44 |
+
"torch_dtype": "float32",
|
45 |
+
"transformers_version": "4.24.0",
|
46 |
+
"vocab_size": 30522
|
47 |
+
}
|
optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1b9fd4de1e984decab851647d8c15acb550dd5bea56d41927160293a0ae638e4
|
3 |
+
size 535737925
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:58d2b3abe1366efabff7045304a52381aa783dd781dfda653f922c96b64cda6b
|
3 |
+
size 267873965
|
rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c5925d118dff5d3da0a89671e8c3d82a0ffc4caac7a3ff03cbe398f4fb66c22f
|
3 |
+
size 14575
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f37c4c55734a7b23b67a52dc38591535d44b5d49d1f810e7169201282351ebfe
|
3 |
+
size 627
|
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,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": "[CLS]",
|
3 |
+
"do_basic_tokenize": true,
|
4 |
+
"do_lower_case": true,
|
5 |
+
"mask_token": "[MASK]",
|
6 |
+
"model_max_length": 512,
|
7 |
+
"name_or_path": "distilbert-base-uncased",
|
8 |
+
"never_split": null,
|
9 |
+
"pad_token": "[PAD]",
|
10 |
+
"sep_token": "[SEP]",
|
11 |
+
"special_tokens_map_file": null,
|
12 |
+
"strip_accents": null,
|
13 |
+
"tokenize_chinese_chars": true,
|
14 |
+
"tokenizer_class": "DistilBertTokenizer",
|
15 |
+
"unk_token": "[UNK]"
|
16 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 1.6,
|
5 |
+
"global_step": 4000,
|
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.2,
|
12 |
+
"learning_rate": 4.666666666666667e-05,
|
13 |
+
"loss": 1.2238,
|
14 |
+
"step": 500
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"epoch": 0.4,
|
18 |
+
"learning_rate": 4.3333333333333334e-05,
|
19 |
+
"loss": 1.1391,
|
20 |
+
"step": 1000
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"epoch": 0.4,
|
24 |
+
"eval_loss": 1.5486156940460205,
|
25 |
+
"eval_ratings_accuracy": 0.4162,
|
26 |
+
"eval_runtime": 77.505,
|
27 |
+
"eval_samples_per_second": 64.512,
|
28 |
+
"eval_sentiment_accuracy": 0.9124,
|
29 |
+
"eval_steps_per_second": 8.064,
|
30 |
+
"step": 1000
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 0.6,
|
34 |
+
"learning_rate": 4e-05,
|
35 |
+
"loss": 1.4143,
|
36 |
+
"step": 1500
|
37 |
+
},
|
38 |
+
{
|
39 |
+
"epoch": 0.8,
|
40 |
+
"learning_rate": 3.6666666666666666e-05,
|
41 |
+
"loss": 1.3635,
|
42 |
+
"step": 2000
|
43 |
+
},
|
44 |
+
{
|
45 |
+
"epoch": 0.8,
|
46 |
+
"eval_loss": 1.3658400774002075,
|
47 |
+
"eval_ratings_accuracy": 0.4458,
|
48 |
+
"eval_runtime": 74.927,
|
49 |
+
"eval_samples_per_second": 66.732,
|
50 |
+
"eval_sentiment_accuracy": 0.9146,
|
51 |
+
"eval_steps_per_second": 8.341,
|
52 |
+
"step": 2000
|
53 |
+
},
|
54 |
+
{
|
55 |
+
"epoch": 1.0,
|
56 |
+
"learning_rate": 3.3333333333333335e-05,
|
57 |
+
"loss": 1.374,
|
58 |
+
"step": 2500
|
59 |
+
},
|
60 |
+
{
|
61 |
+
"epoch": 1.2,
|
62 |
+
"learning_rate": 3e-05,
|
63 |
+
"loss": 1.1193,
|
64 |
+
"step": 3000
|
65 |
+
},
|
66 |
+
{
|
67 |
+
"epoch": 1.2,
|
68 |
+
"eval_loss": 1.3039019107818604,
|
69 |
+
"eval_ratings_accuracy": 0.501,
|
70 |
+
"eval_runtime": 81.9688,
|
71 |
+
"eval_samples_per_second": 60.999,
|
72 |
+
"eval_sentiment_accuracy": 0.9238,
|
73 |
+
"eval_steps_per_second": 7.625,
|
74 |
+
"step": 3000
|
75 |
+
},
|
76 |
+
{
|
77 |
+
"epoch": 1.4,
|
78 |
+
"learning_rate": 2.6666666666666667e-05,
|
79 |
+
"loss": 1.0751,
|
80 |
+
"step": 3500
|
81 |
+
},
|
82 |
+
{
|
83 |
+
"epoch": 1.6,
|
84 |
+
"learning_rate": 2.3333333333333336e-05,
|
85 |
+
"loss": 1.0864,
|
86 |
+
"step": 4000
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 1.6,
|
90 |
+
"eval_loss": 1.3203859329223633,
|
91 |
+
"eval_ratings_accuracy": 0.507,
|
92 |
+
"eval_runtime": 67.5001,
|
93 |
+
"eval_samples_per_second": 74.074,
|
94 |
+
"eval_sentiment_accuracy": 0.932,
|
95 |
+
"eval_steps_per_second": 9.259,
|
96 |
+
"step": 4000
|
97 |
+
}
|
98 |
+
],
|
99 |
+
"max_steps": 7500,
|
100 |
+
"num_train_epochs": 3,
|
101 |
+
"total_flos": 3985863371456640.0,
|
102 |
+
"trial_name": null,
|
103 |
+
"trial_params": null
|
104 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:866a91c1c3717aa2e99d6583e0cd80c28d683a3f8ae48fc419b645faa970fd85
|
3 |
+
size 3387
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|