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