CoFi-RTE-s60 / config.json
mengzhouxia's picture
first commit
9d59239
raw
history blame
1.48 kB
{
"_name_or_path": "/n/fs/nlp-mengzhou/space2/out/RTE/CoFi-test-v3/RTE_sparsity0.6_reglr0.01_ce0.1_layerdistillv4/best",
"architectures": [
"CoFiBertForSequenceClassification"
],
"attention_probs_dropout_prob": 0.1,
"classifier_dropout": null,
"do_layer_distill": true,
"finetuning_task": "rte",
"gradient_checkpointing": false,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"0": 0,
"1": 1
},
"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": [],
"1": [
3,
6
],
"2": [
8,
3,
4,
7
],
"3": [
1
],
"4": [],
"5": [
11
],
"6": [
1,
2,
3,
10,
11
],
"7": [
1,
2,
3,
6,
7,
11
],
"8": [],
"9": [
1,
3,
4,
6,
7,
9,
10
],
"10": [
1,
4,
5
],
"11": [
0,
3,
5,
6,
7,
10,
11
]
},
"torch_dtype": "float32",
"transformers_version": "4.17.0.dev0",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 30522
}