commit from clhuang
Browse files- config.json +62 -0
- optimizer.pt +3 -0
- pytorch_model.bin +3 -0
- rng_state.pth +3 -0
- scheduler.pt +3 -0
- trainer_state.json +82 -0
- training_args.bin +3 -0
config.json
ADDED
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "ckiplab/albert-base-chinese",
|
3 |
+
"architectures": [
|
4 |
+
"AlbertForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0,
|
7 |
+
"bos_token_id": 101,
|
8 |
+
"classifier_dropout_prob": 0.1,
|
9 |
+
"down_scale_factor": 1,
|
10 |
+
"embedding_size": 128,
|
11 |
+
"eos_token_id": 102,
|
12 |
+
"gap_size": 0,
|
13 |
+
"hidden_act": "relu",
|
14 |
+
"hidden_dropout_prob": 0,
|
15 |
+
"hidden_size": 768,
|
16 |
+
"id2label": {
|
17 |
+
"0": "LABEL_0",
|
18 |
+
"1": "LABEL_1",
|
19 |
+
"2": "LABEL_2",
|
20 |
+
"3": "LABEL_3",
|
21 |
+
"4": "LABEL_4",
|
22 |
+
"5": "LABEL_5",
|
23 |
+
"6": "LABEL_6",
|
24 |
+
"7": "LABEL_7",
|
25 |
+
"8": "LABEL_8",
|
26 |
+
"9": "LABEL_9",
|
27 |
+
"10": "LABEL_10"
|
28 |
+
},
|
29 |
+
"initializer_range": 0.02,
|
30 |
+
"inner_group_num": 1,
|
31 |
+
"intermediate_size": 3072,
|
32 |
+
"label2id": {
|
33 |
+
"LABEL_0": 0,
|
34 |
+
"LABEL_1": 1,
|
35 |
+
"LABEL_10": 10,
|
36 |
+
"LABEL_2": 2,
|
37 |
+
"LABEL_3": 3,
|
38 |
+
"LABEL_4": 4,
|
39 |
+
"LABEL_5": 5,
|
40 |
+
"LABEL_6": 6,
|
41 |
+
"LABEL_7": 7,
|
42 |
+
"LABEL_8": 8,
|
43 |
+
"LABEL_9": 9
|
44 |
+
},
|
45 |
+
"layer_norm_eps": 1e-12,
|
46 |
+
"layers_to_keep": [],
|
47 |
+
"max_position_embeddings": 512,
|
48 |
+
"model_type": "albert",
|
49 |
+
"net_structure_type": 0,
|
50 |
+
"num_attention_heads": 12,
|
51 |
+
"num_hidden_groups": 1,
|
52 |
+
"num_hidden_layers": 12,
|
53 |
+
"num_memory_blocks": 0,
|
54 |
+
"pad_token_id": 0,
|
55 |
+
"position_embedding_type": "absolute",
|
56 |
+
"problem_type": "single_label_classification",
|
57 |
+
"tokenizer_class": "BertTokenizerFast",
|
58 |
+
"torch_dtype": "float32",
|
59 |
+
"transformers_version": "4.19.2",
|
60 |
+
"type_vocab_size": 2,
|
61 |
+
"vocab_size": 21128
|
62 |
+
}
|
optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:09f484ecf330695cf604ab9c5ab2ae7161156d9423cc36c594fd92334287e322
|
3 |
+
size 84466563
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a74a9b5d8beb9ea6026fe1d1265dab672e00cf265d281386398ae9ec42de74f1
|
3 |
+
size 42238609
|
rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cfbafeb8298acbb83505265c84391943881508a522717de6681e875a516d7cdb
|
3 |
+
size 14503
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a40ef085858cb95701334037a0232e17223889497e5e8d68b6d06c5b178967bb
|
3 |
+
size 623
|
trainer_state.json
ADDED
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.2616243362426758,
|
3 |
+
"best_model_checkpoint": "./checkpoints/checkpoint-1964",
|
4 |
+
"epoch": 4.0,
|
5 |
+
"global_step": 1964,
|
6 |
+
"is_hyper_param_search": false,
|
7 |
+
"is_local_process_zero": true,
|
8 |
+
"is_world_process_zero": true,
|
9 |
+
"log_history": [
|
10 |
+
{
|
11 |
+
"epoch": 1.0,
|
12 |
+
"eval_accuracy": 0.8884644766997708,
|
13 |
+
"eval_f1": 0.8884644766997708,
|
14 |
+
"eval_loss": 0.4412623643875122,
|
15 |
+
"eval_precision": 0.8884644766997708,
|
16 |
+
"eval_recall": 0.8884644766997708,
|
17 |
+
"eval_runtime": 43.6404,
|
18 |
+
"eval_samples_per_second": 59.99,
|
19 |
+
"eval_steps_per_second": 1.879,
|
20 |
+
"step": 491
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"epoch": 1.02,
|
24 |
+
"learning_rate": 2e-05,
|
25 |
+
"loss": 1.3111,
|
26 |
+
"step": 500
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"epoch": 2.0,
|
30 |
+
"eval_accuracy": 0.9037433155080213,
|
31 |
+
"eval_f1": 0.9037433155080212,
|
32 |
+
"eval_loss": 0.31344300508499146,
|
33 |
+
"eval_precision": 0.9037433155080213,
|
34 |
+
"eval_recall": 0.9037433155080213,
|
35 |
+
"eval_runtime": 43.7135,
|
36 |
+
"eval_samples_per_second": 59.89,
|
37 |
+
"eval_steps_per_second": 1.876,
|
38 |
+
"step": 982
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"epoch": 2.04,
|
42 |
+
"learning_rate": 1.591169255928046e-05,
|
43 |
+
"loss": 0.3547,
|
44 |
+
"step": 1000
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 3.0,
|
48 |
+
"eval_accuracy": 0.9113827349121467,
|
49 |
+
"eval_f1": 0.9113827349121467,
|
50 |
+
"eval_loss": 0.2822723388671875,
|
51 |
+
"eval_precision": 0.9113827349121467,
|
52 |
+
"eval_recall": 0.9113827349121467,
|
53 |
+
"eval_runtime": 43.7763,
|
54 |
+
"eval_samples_per_second": 59.804,
|
55 |
+
"eval_steps_per_second": 1.873,
|
56 |
+
"step": 1473
|
57 |
+
},
|
58 |
+
{
|
59 |
+
"epoch": 3.05,
|
60 |
+
"learning_rate": 1.1823385118560918e-05,
|
61 |
+
"loss": 0.2375,
|
62 |
+
"step": 1500
|
63 |
+
},
|
64 |
+
{
|
65 |
+
"epoch": 4.0,
|
66 |
+
"eval_accuracy": 0.9182582123758595,
|
67 |
+
"eval_f1": 0.9182582123758595,
|
68 |
+
"eval_loss": 0.2616243362426758,
|
69 |
+
"eval_precision": 0.9182582123758595,
|
70 |
+
"eval_recall": 0.9182582123758595,
|
71 |
+
"eval_runtime": 43.7951,
|
72 |
+
"eval_samples_per_second": 59.778,
|
73 |
+
"eval_steps_per_second": 1.872,
|
74 |
+
"step": 1964
|
75 |
+
}
|
76 |
+
],
|
77 |
+
"max_steps": 2946,
|
78 |
+
"num_train_epochs": 6,
|
79 |
+
"total_flos": 1100711158866000.0,
|
80 |
+
"trial_name": null,
|
81 |
+
"trial_params": null
|
82 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:de0b1abc9b0f344d42c820704816e67924b2521c28a82621417365ae1e1662de
|
3 |
+
size 3183
|