What problem does it solve?
This skill simplifies loading OpenMed clinical and biomedical NER models while avoiding repeated model initialization, uncontrolled cache locations, and unnecessary network access.
Core Features & Use Cases
- Flexible Model Selection: Load models by registry key, full Hugging Face identifier, or local directory.
- Efficient Reuse: Reuse a ModelLoader to keep models, tokenizers, and pipelines in memory across repeated inference calls.
- Offline and Deployment Control: Configure cache directories, devices, Hugging Face organization settings, offline operation, sequence-length inspection, and memory cleanup.
- Use Case: Prepare a batch clinical text-processing service that downloads a model once, reuses it for many notes, and then runs entirely within an air-gapped environment.
Quick Start
Use the loading-openmed-models skill to load an OpenMed disease detection model once, reuse it across multiple clinical notes, and configure it for offline CPU inference.