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

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +11 -11
config.json CHANGED
@@ -8,28 +8,28 @@
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
  }
 
8
  "gradient_checkpointing": false,
9
  "hidden_act": "gelu",
10
  "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 1024, // Changed to match XLNet's hidden size for sequence classification
12
  "id2label": {
13
+ "0": "non-severe",
14
+ "1": "severe"
15
  },
16
  "initializer_range": 0.02,
17
+ "intermediate_size": 4096,
18
  "label2id": {
19
+ "non-severe": 0,
20
+ "severe": 1
21
  },
22
  "layer_norm_eps": 1e-12,
23
  "max_position_embeddings": 512,
24
+ "model_type": "xlnet", // Fixed typo in model_type
25
+ "num_attention_heads": 16,
26
+ "num_hidden_layers": 24,
27
+ "pad_token_id": 5,
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": 32000 // Changed to match XLNet's vocab size
35
  }