Instructions to use samant/medical-ner with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use samant/medical-ner with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="samant/medical-ner")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("samant/medical-ner") model = AutoModelForTokenClassification.from_pretrained("samant/medical-ner", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model (#1)
Verified signature- Adding `safetensors` variant of this model (51bf717b7a3efb4611f2c64dff19dd7cc688570f) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>cb316ce
-
Update README.md
Verified signature2f965c7 -
Create README.md
Verified signature7fdcf5d -
Upload 8 files
Verified signatureThis model is a high-performance named entity recognition (NER) model achieving an overall F1-score of 0.97. It is optimized for identifying medical entities such as diseases, symptoms, procedures, and provider types, with strong precision and recall across diverse entity types, making it ideal for healthcare text processing tasks.59c2c34 -
initial commit
Verified signatured0312d4