Upload config.json with huggingface_hub
Browse files- config.json +45 -0
config.json
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "studio-ousia/luke-japanese-large",
|
3 |
+
"architectures": [
|
4 |
+
"LukeForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bert_model_name": "models/luke-japanese-large/hf_xlm_roberta",
|
8 |
+
"bos_token_id": 0,
|
9 |
+
"classifier_dropout": null,
|
10 |
+
"cls_entity_prediction": false,
|
11 |
+
"entity_emb_size": 256,
|
12 |
+
"entity_vocab_size": 570505,
|
13 |
+
"eos_token_id": 2,
|
14 |
+
"hidden_act": "gelu",
|
15 |
+
"hidden_dropout_prob": 0.1,
|
16 |
+
"hidden_size": 1024,
|
17 |
+
"id2label": {
|
18 |
+
"0": "NEUTRAL",
|
19 |
+
"1": "\u79c1\u751f\u6d3b\u306e\u5e73\u7a4f\u306e\u4fb5\u5bb3",
|
20 |
+
"2": "\u540d\u8a89\u611f\u60c5\u306e\u4fb5\u5bb3",
|
21 |
+
"3": "\u540d\u8a89\u6a29\u306e\u4fb5\u5bb3"
|
22 |
+
},
|
23 |
+
"initializer_range": 0.02,
|
24 |
+
"intermediate_size": 4096,
|
25 |
+
"label2id": {
|
26 |
+
"NEUTRAL": 0,
|
27 |
+
"\u540d\u8a89\u611f\u60c5\u306e\u4fb5\u5bb3": 2,
|
28 |
+
"\u540d\u8a89\u6a29\u306e\u4fb5\u5bb3": 3,
|
29 |
+
"\u79c1\u751f\u6d3b\u306e\u5e73\u7a4f\u306e\u4fb5\u5bb3": 1
|
30 |
+
},
|
31 |
+
"layer_norm_eps": 1e-05,
|
32 |
+
"max_position_embeddings": 514,
|
33 |
+
"model_type": "luke",
|
34 |
+
"num_attention_heads": 16,
|
35 |
+
"num_hidden_layers": 24,
|
36 |
+
"pad_token_id": 1,
|
37 |
+
"position_embedding_type": "absolute",
|
38 |
+
"problem_type": "single_label_classification",
|
39 |
+
"torch_dtype": "float32",
|
40 |
+
"transformers_version": "4.23.1",
|
41 |
+
"type_vocab_size": 1,
|
42 |
+
"use_cache": true,
|
43 |
+
"use_entity_aware_attention": true,
|
44 |
+
"vocab_size": 32772
|
45 |
+
}
|