Update config.json
Browse files- config.json +8 -20
config.json
CHANGED
|
@@ -1,24 +1,12 @@
|
|
| 1 |
{
|
| 2 |
-
"pretrained_model_name_or_path": "microsoft/BiomedNLP-PubMedBERT-base-uncased-abstract-fulltext",
|
| 3 |
"architectures": ["ProtoForMultiLabelClassification"],
|
| 4 |
-
"
|
| 5 |
-
"classifier_dropout": null,
|
| 6 |
-
"hidden_act": "gelu",
|
| 7 |
-
"hidden_dropout_prob": 0.1,
|
| 8 |
"num_labels": 519,
|
| 9 |
"reduce_hidden_size": 256,
|
| 10 |
-
"
|
| 11 |
-
"
|
| 12 |
-
"
|
| 13 |
-
"
|
| 14 |
-
"
|
| 15 |
-
|
| 16 |
-
"num_attention_heads": 12,
|
| 17 |
-
"num_hidden_layers": 12,
|
| 18 |
-
"pad_token_id": 0,
|
| 19 |
-
"position_embedding_type": "absolute",
|
| 20 |
-
"transformers_version": "4.45.2",
|
| 21 |
-
"type_vocab_size": 1,
|
| 22 |
-
"use_cache": true,
|
| 23 |
-
"vocab_size": 250002,
|
| 24 |
-
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"text_config": {"pretrained_model_name_or_path": "microsoft/BiomedNLP-PubMedBERT-base-uncased-abstract-fulltext"},
|
| 3 |
"architectures": ["ProtoForMultiLabelClassification"],
|
| 4 |
+
"model_type": "proto",
|
|
|
|
|
|
|
|
|
|
| 5 |
"num_labels": 519,
|
| 6 |
"reduce_hidden_size": 256,
|
| 7 |
+
"use_attention": true,
|
| 8 |
+
"use_sigmoid": true,
|
| 9 |
+
"label_order_path": "label_order.json",
|
| 10 |
+
"prototype_vector_path": "prototype_vectors",
|
| 11 |
+
"attention_vector_path": "attention_vectors"
|
| 12 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|