|
{ |
|
"_name_or_path": "/checkpoint/mengzhouxia/space2/out/squad/layerdistillv3_prunehidden/squad_l0_headint_nosvd_layerpuning_layerdistillv3_prunehidden_seed57_distilltemp2_pretrain6000_warpup12000_ts0.93_cealpha0.1_20epochs/best", |
|
"architectures": [ |
|
"NewBertForQuestionAnswering" |
|
], |
|
"attention_probs_dropout_prob": 0.1, |
|
"decompose_qk": false, |
|
"decompose_vo": false, |
|
"do_distill": true, |
|
"do_emb_distill": false, |
|
"do_layer_distill": true, |
|
"do_mha_distill": false, |
|
"do_mha_layer_distill": false, |
|
"gradient_checkpointing": false, |
|
"hidden_act": "gelu", |
|
"hidden_dropout_prob": 0.1, |
|
"hidden_size": 768, |
|
"initializer_range": 0.02, |
|
"intermediate_size": 3072, |
|
"layer_norm_eps": 1e-12, |
|
"max_position_embeddings": 512, |
|
"model_type": "bert", |
|
"num_attention_heads": 12, |
|
"num_hidden_layers": 12, |
|
"output_attentions": true, |
|
"output_hidden_states": true, |
|
"pad_token_id": 0, |
|
"position_embedding_type": "absolute", |
|
"pruned_heads": { |
|
"0": [ |
|
0, |
|
1, |
|
2, |
|
4, |
|
5, |
|
6, |
|
7, |
|
8, |
|
9, |
|
11 |
|
], |
|
"1": [ |
|
0, |
|
1, |
|
2, |
|
3, |
|
5, |
|
6, |
|
7, |
|
8, |
|
9 |
|
], |
|
"2": [ |
|
1, |
|
2, |
|
3, |
|
4, |
|
5, |
|
7, |
|
8, |
|
9, |
|
10, |
|
11 |
|
], |
|
"3": [ |
|
1, |
|
2, |
|
3, |
|
4, |
|
5, |
|
6, |
|
7, |
|
9, |
|
10, |
|
11 |
|
], |
|
"4": [ |
|
0, |
|
1, |
|
2, |
|
3, |
|
4, |
|
5, |
|
6, |
|
7, |
|
8, |
|
9, |
|
10, |
|
11 |
|
], |
|
"5": [ |
|
0, |
|
1, |
|
2, |
|
3, |
|
4, |
|
5, |
|
6, |
|
7, |
|
11 |
|
], |
|
"6": [ |
|
0, |
|
1, |
|
2, |
|
3, |
|
4, |
|
5, |
|
6, |
|
7, |
|
8, |
|
9, |
|
10, |
|
11 |
|
], |
|
"7": [ |
|
1, |
|
2, |
|
3, |
|
5, |
|
6, |
|
7, |
|
8, |
|
9, |
|
10, |
|
11 |
|
], |
|
"8": [ |
|
1, |
|
2, |
|
4, |
|
5, |
|
6, |
|
7, |
|
8, |
|
9, |
|
10, |
|
11 |
|
], |
|
"9": [ |
|
0, |
|
1, |
|
2, |
|
4, |
|
5, |
|
7, |
|
8, |
|
9, |
|
10, |
|
11 |
|
], |
|
"10": [ |
|
0, |
|
1, |
|
2, |
|
3, |
|
4, |
|
5, |
|
6, |
|
7, |
|
8, |
|
9, |
|
10, |
|
11 |
|
], |
|
"11": [ |
|
0, |
|
1, |
|
2, |
|
3, |
|
4, |
|
5, |
|
6, |
|
7, |
|
8, |
|
9, |
|
10, |
|
11 |
|
] |
|
}, |
|
"qk_denominator": "ori", |
|
"sephidden_pruned": false, |
|
"transform_embedding": false, |
|
"transformers_version": "4.3.2", |
|
"type_vocab_size": 2, |
|
"use_cache": true, |
|
"vocab_size": 30522 |
|
} |
|
|