test_adapters / config.json
osanseviero's picture
osanseviero
HF staff
add model d6b2f9b
1
{
2
  "_name_or_path": "bert-base-uncased",
3
  "adapters": {
4
    "adapters": {
5
      "squad": "b1017368d7a97b11"
6
    },
7
    "config_map": {
8
      "b1017368d7a97b11": {
9
        "adapter_residual_before_ln": false,
10
        "cross_adapter": false,
11
        "inv_adapter": null,
12
        "inv_adapter_reduction_factor": null,
13
        "leave_out": [],
14
        "ln_after": false,
15
        "ln_before": false,
16
        "mh_adapter": true,
17
        "non_linearity": "swish",
18
        "original_ln_after": true,
19
        "original_ln_before": false,
20
        "output_adapter": true,
21
        "reduction_factor": 16,
22
        "residual_before_ln": true
23
      }
24
    }
25
  },
26
  "architectures": [
27
    "BertForSequenceClassification"
28
  ],
29
  "attention_probs_dropout_prob": 0.1,
30
  "gradient_checkpointing": false,
31
  "hidden_act": "gelu",
32
  "hidden_dropout_prob": 0.1,
33
  "hidden_size": 768,
34
  "initializer_range": 0.02,
35
  "intermediate_size": 3072,
36
  "layer_norm_eps": 1e-12,
37
  "max_position_embeddings": 512,
38
  "model_type": "bert",
39
  "num_attention_heads": 12,
40
  "num_hidden_layers": 12,
41
  "pad_token_id": 0,
42
  "position_embedding_type": "absolute",
43
  "transformers_version": "2.1.0a0",
44
  "type_vocab_size": 2,
45
  "use_cache": true,
46
  "vocab_size": 30522
47
}
48