Upload 10 files
Browse files- config.json +36 -0
- model.safetensors +3 -0
- optimizer.pt +3 -0
- rng_state.pth +3 -0
- scheduler.pt +3 -0
- special_tokens_map.json +7 -0
- tokenizer_config.json +57 -0
- trainer_state.json +90 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
config.json
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/mobilebert-uncased",
|
3 |
+
"architectures": [
|
4 |
+
"BertForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_activation": false,
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"embedding_size": 128,
|
10 |
+
"hidden_act": "relu",
|
11 |
+
"hidden_dropout_prob": 0.0,
|
12 |
+
"hidden_size": 512,
|
13 |
+
"initializer_range": 0.02,
|
14 |
+
"intermediate_size": 512,
|
15 |
+
"intra_bottleneck_size": 128,
|
16 |
+
"key_query_shared_bottleneck": true,
|
17 |
+
"layer_norm_eps": 1e-12,
|
18 |
+
"max_position_embeddings": 512,
|
19 |
+
"model_type": "bert",
|
20 |
+
"normalization_type": "no_norm",
|
21 |
+
"num_attention_heads": 4,
|
22 |
+
"num_feedforward_networks": 4,
|
23 |
+
"num_hidden_layers": 24,
|
24 |
+
"pad_token_id": 0,
|
25 |
+
"position_embedding_type": "absolute",
|
26 |
+
"problem_type": "single_label_classification",
|
27 |
+
"torch_dtype": "float32",
|
28 |
+
"transformers_version": "4.38.2",
|
29 |
+
"trigram_input": true,
|
30 |
+
"true_hidden_size": 128,
|
31 |
+
"type_vocab_size": 2,
|
32 |
+
"use_bottleneck": true,
|
33 |
+
"use_bottleneck_attention": false,
|
34 |
+
"use_cache": true,
|
35 |
+
"vocab_size": 30522
|
36 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dde4667a7321936ee745297a772281addb6243834a6328a7d6e504c49edae0d3
|
3 |
+
size 216153096
|
optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:70745da66d211416cc452a2f6cc8d6a0458b57687c9b1f4790a69430901c3f9d
|
3 |
+
size 432531949
|
rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:18f5eab34762f1b8722a679a1169dde0d3eddd3f77c37cc89392b3ec3f781a60
|
3 |
+
size 13990
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a018338f993d0b5dcfbf7a895184258f431365ff2b8e11bd8f90258efecd65f3
|
3 |
+
size 1064
|
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": 1000000000000000019884624838656,
|
50 |
+
"never_split": null,
|
51 |
+
"pad_token": "[PAD]",
|
52 |
+
"sep_token": "[SEP]",
|
53 |
+
"strip_accents": null,
|
54 |
+
"tokenize_chinese_chars": true,
|
55 |
+
"tokenizer_class": "BertTokenizer",
|
56 |
+
"unk_token": "[UNK]"
|
57 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.9620120357508649,
|
3 |
+
"best_model_checkpoint": "rubert_classification/checkpoint-2000",
|
4 |
+
"epoch": 4.566210045662101,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 2000,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 1.14,
|
13 |
+
"eval_accuracy": 0.882,
|
14 |
+
"eval_f1": 0.8860252812063524,
|
15 |
+
"eval_loss": 0.3335667848587036,
|
16 |
+
"eval_precision": 0.9101706722396378,
|
17 |
+
"eval_recall": 0.882,
|
18 |
+
"eval_runtime": 7.9932,
|
19 |
+
"eval_samples_per_second": 187.659,
|
20 |
+
"eval_steps_per_second": 11.76,
|
21 |
+
"step": 500
|
22 |
+
},
|
23 |
+
{
|
24 |
+
"epoch": 1.37,
|
25 |
+
"grad_norm": 54.402042388916016,
|
26 |
+
"learning_rate": 4.871134020618557e-05,
|
27 |
+
"loss": 0.3238,
|
28 |
+
"step": 600
|
29 |
+
},
|
30 |
+
{
|
31 |
+
"epoch": 2.28,
|
32 |
+
"eval_accuracy": 0.952,
|
33 |
+
"eval_f1": 0.952629531198857,
|
34 |
+
"eval_loss": 0.22119292616844177,
|
35 |
+
"eval_precision": 0.955250771109112,
|
36 |
+
"eval_recall": 0.952,
|
37 |
+
"eval_runtime": 7.4028,
|
38 |
+
"eval_samples_per_second": 202.626,
|
39 |
+
"eval_steps_per_second": 12.698,
|
40 |
+
"step": 1000
|
41 |
+
},
|
42 |
+
{
|
43 |
+
"epoch": 2.74,
|
44 |
+
"grad_norm": 0.6686217188835144,
|
45 |
+
"learning_rate": 4.097938144329897e-05,
|
46 |
+
"loss": 0.1138,
|
47 |
+
"step": 1200
|
48 |
+
},
|
49 |
+
{
|
50 |
+
"epoch": 3.42,
|
51 |
+
"eval_accuracy": 0.9586666666666667,
|
52 |
+
"eval_f1": 0.9584488790426743,
|
53 |
+
"eval_loss": 0.19180671870708466,
|
54 |
+
"eval_precision": 0.9584916263909182,
|
55 |
+
"eval_recall": 0.9586666666666667,
|
56 |
+
"eval_runtime": 7.383,
|
57 |
+
"eval_samples_per_second": 203.169,
|
58 |
+
"eval_steps_per_second": 12.732,
|
59 |
+
"step": 1500
|
60 |
+
},
|
61 |
+
{
|
62 |
+
"epoch": 4.11,
|
63 |
+
"grad_norm": 0.031083475798368454,
|
64 |
+
"learning_rate": 3.3247422680412374e-05,
|
65 |
+
"loss": 0.0394,
|
66 |
+
"step": 1800
|
67 |
+
},
|
68 |
+
{
|
69 |
+
"epoch": 4.57,
|
70 |
+
"eval_accuracy": 0.962,
|
71 |
+
"eval_f1": 0.9620120357508649,
|
72 |
+
"eval_loss": 0.2063756138086319,
|
73 |
+
"eval_precision": 0.9620250729762693,
|
74 |
+
"eval_recall": 0.962,
|
75 |
+
"eval_runtime": 7.384,
|
76 |
+
"eval_samples_per_second": 203.142,
|
77 |
+
"eval_steps_per_second": 12.73,
|
78 |
+
"step": 2000
|
79 |
+
}
|
80 |
+
],
|
81 |
+
"logging_steps": 600,
|
82 |
+
"max_steps": 4380,
|
83 |
+
"num_input_tokens_seen": 0,
|
84 |
+
"num_train_epochs": 10,
|
85 |
+
"save_steps": 500,
|
86 |
+
"total_flos": 936301011222528.0,
|
87 |
+
"train_batch_size": 16,
|
88 |
+
"trial_name": null,
|
89 |
+
"trial_params": null
|
90 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4d81d80bd442b67059ef0313dd0ce5c0848a8b7e176c6d747d3432be45ed0847
|
3 |
+
size 4856
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|