Update config.json
Browse files- config.json +28 -30
config.json
CHANGED
@@ -1,37 +1,35 @@
|
|
1 |
{
|
|
|
2 |
"architectures": [
|
3 |
"XLNetForSequenceClassification"
|
4 |
],
|
5 |
-
"
|
6 |
-
"
|
7 |
-
"
|
8 |
-
"
|
9 |
-
"
|
10 |
-
"
|
11 |
-
"
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
"ff_activation": "gelu",
|
16 |
"initializer_range": 0.02,
|
17 |
-
"
|
18 |
-
"
|
19 |
-
|
20 |
-
|
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 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
}
|