AliArshad commited on
Commit
3cc5a52
1 Parent(s): d112e06

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +28 -30
config.json CHANGED
@@ -1,37 +1,35 @@
1
  {
 
2
  "architectures": [
3
  "XLNetForSequenceClassification"
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": 4096,
11
- "d_model": 1024,
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": 16,
21
- "n_layer": 24,
22
- "pad_token_id": 5,
23
- "reuse_len": null,
24
- "same_length": false,
25
- "start_n_top": 5,
26
- "summary_activation": null,
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": 50
34
- }
35
  },
36
- "vocab_size": 32000
 
 
 
 
 
 
 
 
 
 
 
 
37
  }
 
1
  {
2
+ "_name_or_path": "xlnet-base-cased",
3
  "architectures": [
4
  "XLNetForSequenceClassification"
5
  ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "gradient_checkpointing": false,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "LABEL_0",
14
+ "1": "LABEL_1",
15
+ },
 
16
  "initializer_range": 0.02,
17
+ "intermediate_size": 3072,
18
+ "label2id": {
19
+ "LABEL_0": 0,
20
+ "LABEL_1": 1,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
  },
22
+ "layer_norm_eps": 1e-12,
23
+ "max_position_embeddings": 512,
24
+ "model_type": "xlent",
25
+ "num_attention_heads": 12,
26
+ "num_hidden_layers": 12,
27
+ "pad_token_id": 0,
28
+ "position_embedding_type": "absolute",
29
+ "problem_type": "single_label_classification",
30
+ "torch_dtype": "float32",
31
+ "transformers_version": "4.21.2",
32
+ "type_vocab_size": 2,
33
+ "use_cache": true,
34
+ "vocab_size": 30522
35
  }