Update config.json
Browse files- config.json +71 -63
config.json
CHANGED
|
@@ -1,63 +1,71 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"BertForSequenceClassification"
|
| 4 |
+
],
|
| 5 |
+
"attention_probs_dropout_prob": 0.1,
|
| 6 |
+
"classifier_dropout": null,
|
| 7 |
+
"gradient_checkpointing": false,
|
| 8 |
+
"hidden_act": "gelu",
|
| 9 |
+
"hidden_dropout_prob": 0.1,
|
| 10 |
+
"hidden_size": 768,
|
| 11 |
+
"initializer_range": 0.02,
|
| 12 |
+
"intermediate_size": 3072,
|
| 13 |
+
"layer_norm_eps": 1e-12,
|
| 14 |
+
"max_position_embeddings": 512,
|
| 15 |
+
"model_type": "bert",
|
| 16 |
+
"num_attention_heads": 12,
|
| 17 |
+
"num_hidden_layers": 12,
|
| 18 |
+
"pad_token_id": 0,
|
| 19 |
+
"position_embedding_type": "absolute",
|
| 20 |
+
"transformers_version": "4.30.0",
|
| 21 |
+
"type_vocab_size": 2,
|
| 22 |
+
"use_cache": true,
|
| 23 |
+
"vocab_size": 28996,
|
| 24 |
+
"torch_dtype": "float32",
|
| 25 |
+
"id2label": {
|
| 26 |
+
"0": "Normal",
|
| 27 |
+
"1": "Mild Aphasia",
|
| 28 |
+
"2": "Moderate Aphasia",
|
| 29 |
+
"3": "Severe Aphasia"
|
| 30 |
+
},
|
| 31 |
+
"label2id": {
|
| 32 |
+
"Normal": 0,
|
| 33 |
+
"Mild Aphasia": 1,
|
| 34 |
+
"Moderate Aphasia": 2,
|
| 35 |
+
"Severe Aphasia": 3
|
| 36 |
+
},
|
| 37 |
+
"num_labels": 4,
|
| 38 |
+
"problem_type": "single_label_classification",
|
| 39 |
+
"finetuning_task": "aphasia_classification",
|
| 40 |
+
"_name_or_path": "dmis-lab/biobert-base-cased-v1.1",
|
| 41 |
+
"base_model": "dmis-lab/biobert-base-cased-v1.1",
|
| 42 |
+
"task_specific_params": {
|
| 43 |
+
"aphasia_classification": {
|
| 44 |
+
"max_length": 512,
|
| 45 |
+
"do_lower_case": false,
|
| 46 |
+
"early_stopping": true,
|
| 47 |
+
"num_beams": 1
|
| 48 |
+
}
|
| 49 |
+
},
|
| 50 |
+
"custom_config": {
|
| 51 |
+
"model_version": "1.0",
|
| 52 |
+
"training_data": "aphasia_corpus",
|
| 53 |
+
"evaluation_metrics": {
|
| 54 |
+
"accuracy": 0.85,
|
| 55 |
+
"f1_score": 0.83,
|
| 56 |
+
"precision": 0.84,
|
| 57 |
+
"recall": 0.82
|
| 58 |
+
},
|
| 59 |
+
"feature_extraction": {
|
| 60 |
+
"linguistic_features": true,
|
| 61 |
+
"syntactic_complexity": true,
|
| 62 |
+
"semantic_coherence": true,
|
| 63 |
+
"discourse_markers": true
|
| 64 |
+
},
|
| 65 |
+
"preprocessing": {
|
| 66 |
+
"cha_format": true,
|
| 67 |
+
"json_structured": true,
|
| 68 |
+
"text_normalization": true
|
| 69 |
+
}
|
| 70 |
+
}
|
| 71 |
+
}
|