Loading Openmed Models

Load OpenMed clinical/biomedical NER models from the Hugging Face Hub or a local path and reuse them efficiently across calls. Use when the user wants to load an OpenMed model, control the model cache, run fully offline after a one-time download, reuse a ModelLoader to avoid reloading, set a cache_dir or device, or pick between a registry key, a full Hugging Face id, and a local directory. Pairs with choosing-openmed-models (pick the model) and extracting-clinical-entities (run it).

maziyarpanahi Updated 5.8k repo stars

File contents

maziyarpanahi/openmed commit 4ea4cc4fb3

Frequently asked questions

npx get-skill add maziyarpanahi/loading-openmed-models