xlnet-base-cased / config.json
system
Update config.json 24d0b1c
1
{
2
  "architectures": [
3
    "XLNetLMHeadModel"
4
  ],
5
  "attn_type": "bi",
6
  "bi_data": false,
7
  "bos_token_id": 1,
8
  "clamp_len": -1,
9
  "d_head": 64,
10
  "d_inner": 3072,
11
  "d_model": 768,
12
  "dropout": 0.1,
13
  "end_n_top": 5,
14
  "eos_token_id": 2,
15
  "ff_activation": "gelu",
16
  "initializer_range": 0.02,
17
  "layer_norm_eps": 1e-12,
18
  "mem_len": null,
19
  "model_type": "xlnet",
20
  "n_head": 12,
21
  "n_layer": 12,
22
  "pad_token_id": 5,
23
  "reuse_len": null,
24
  "same_length": false,
25
  "start_n_top": 5,
26
  "summary_activation": "tanh",
27
  "summary_last_dropout": 0.1,
28
  "summary_type": "last",
29
  "summary_use_proj": true,
30
  "task_specific_params": {
31
    "text-generation": {
32
      "do_sample": true,
33
      "max_length": 250
34
    }
35
  },
36
  "untie_r": true,
37
  "vocab_size": 32000
38
}