Add top-level config.json (NER default)
#2
by SHA888 - opened
- config.json +101 -0
config.json
ADDED
|
@@ -0,0 +1,101 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_serializing": true,
|
| 3 |
+
"activation_recompute": false,
|
| 4 |
+
"adapter_config": null,
|
| 5 |
+
"adapter_type": null,
|
| 6 |
+
"allow_tf32": false,
|
| 7 |
+
"anatomical_regions": [
|
| 8 |
+
"head"
|
| 9 |
+
],
|
| 10 |
+
"attention_impl": null,
|
| 11 |
+
"batch_size": 1,
|
| 12 |
+
"cache_ttl": 3600,
|
| 13 |
+
"classification_labels": [],
|
| 14 |
+
"config_version": "1.0.0",
|
| 15 |
+
"cudnn_benchmark": null,
|
| 16 |
+
"document_types": [
|
| 17 |
+
"clinical_note",
|
| 18 |
+
"discharge_summary",
|
| 19 |
+
"radiology_report"
|
| 20 |
+
],
|
| 21 |
+
"domain_adaptation": false,
|
| 22 |
+
"domain_adaptation_lambda": 0.1,
|
| 23 |
+
"domain_specific_vocab": null,
|
| 24 |
+
"emit_trace": false,
|
| 25 |
+
"enable_flash_attention": null,
|
| 26 |
+
"enable_memory_pooling": false,
|
| 27 |
+
"enable_mixed_precision": false,
|
| 28 |
+
"enable_profiling": false,
|
| 29 |
+
"enable_uncertainty_estimation": false,
|
| 30 |
+
"enforce_eager": false,
|
| 31 |
+
"entity_linking": {
|
| 32 |
+
"confidence_threshold": 0.8,
|
| 33 |
+
"enabled": false,
|
| 34 |
+
"knowledge_bases": [
|
| 35 |
+
"umls",
|
| 36 |
+
"snomed_ct",
|
| 37 |
+
"loinc"
|
| 38 |
+
]
|
| 39 |
+
},
|
| 40 |
+
"eos": -1,
|
| 41 |
+
"file_path": null,
|
| 42 |
+
"flash_attention_config": null,
|
| 43 |
+
"gpu_memory_utilization": 0.9,
|
| 44 |
+
"grad_checkpointing": false,
|
| 45 |
+
"hf_config": "namespace(model_type='unknown', max_position_embeddings=4096)",
|
| 46 |
+
"imaging_modalities": [
|
| 47 |
+
"xray"
|
| 48 |
+
],
|
| 49 |
+
"kvcache_block_size": 256,
|
| 50 |
+
"max_entity_span_length": 10,
|
| 51 |
+
"max_medical_seq_length": 4096,
|
| 52 |
+
"max_model_len": 4096,
|
| 53 |
+
"max_num_batched_tokens": 32768,
|
| 54 |
+
"max_num_seqs": 512,
|
| 55 |
+
"max_retries": 3,
|
| 56 |
+
"medical_entity_types": [
|
| 57 |
+
"disease",
|
| 58 |
+
"drug",
|
| 59 |
+
"procedure"
|
| 60 |
+
],
|
| 61 |
+
"medical_specialties": [
|
| 62 |
+
"cardiology"
|
| 63 |
+
],
|
| 64 |
+
"memory_efficient": true,
|
| 65 |
+
"mixed_precision_dtype": "fp16",
|
| 66 |
+
"model": "dmis-lab/biobert-base-cased-v1.2",
|
| 67 |
+
"model_type": "medical_llm",
|
| 68 |
+
"ner_confidence_threshold": 0.85,
|
| 69 |
+
"num_kvcache_blocks": -1,
|
| 70 |
+
"pool_device": "auto",
|
| 71 |
+
"pool_max_bytes": null,
|
| 72 |
+
"pretrained_model_name_or_path": "dmis-lab/biobert-base-cased-v1.2",
|
| 73 |
+
"profiler_device": "auto",
|
| 74 |
+
"quantization_bits": null,
|
| 75 |
+
"quantization_method": null,
|
| 76 |
+
"recompute_granularity": null,
|
| 77 |
+
"regulatory_compliance": [
|
| 78 |
+
"hipaa",
|
| 79 |
+
"gdpr"
|
| 80 |
+
],
|
| 81 |
+
"request_timeout": 30,
|
| 82 |
+
"section_headers": [
|
| 83 |
+
"history_of_present_illness",
|
| 84 |
+
"past_medical_history",
|
| 85 |
+
"medications",
|
| 86 |
+
"allergies",
|
| 87 |
+
"family_history",
|
| 88 |
+
"social_history",
|
| 89 |
+
"review_of_systems",
|
| 90 |
+
"physical_exam",
|
| 91 |
+
"assessment_and_plan"
|
| 92 |
+
],
|
| 93 |
+
"task_type": "ner",
|
| 94 |
+
"tensor_parallel_size": 1,
|
| 95 |
+
"torch_matmul_precision": null,
|
| 96 |
+
"trace_dir": "profiles",
|
| 97 |
+
"uncertainty_threshold": 0.7,
|
| 98 |
+
"use_cuda_graphs": false,
|
| 99 |
+
"use_medical_adapter": true,
|
| 100 |
+
"version": "0.1.0"
|
| 101 |
+
}
|