Instructions to use nitinyadav/continual_learning_ner_combined with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- spaCy
How to use nitinyadav/continual_learning_ner_combined with spaCy:
!pip install https://huggingface.co/nitinyadav/continual_learning_ner_combined/resolve/main/continual_learning_ner_combined-any-py3-none-any.whl # Using spacy.load(). import spacy nlp = spacy.load("continual_learning_ner_combined") # Importing as module. import continual_learning_ner_combined nlp = continual_learning_ner_combined.load() - Notebooks
- Google Colab
- Kaggle
|
Download README.md from nitinyadav/continual_learning_ner_combined: direct link, hf CLI and curl.
- Browser
- Download file 1.02 kB
-
https://huggingface.co/nitinyadav/continual_learning_ner_combined/resolve/main/README.md
- Command line
-
hf download hf://nitinyadav/continual_learning_ner_combined/README.md
-
curl -L -o README.md https://huggingface.co/nitinyadav/continual_learning_ner_combined/resolve/main/README.md
1.02 kB
metadata
tags:
- spacy
- token-classification
- named-entity-recognition
- medical-ner
library_name: spacy
pipeline_tag: token-classification
language: en
license: mit
Medical NER Model - medical-ner-combined
This model is trained to recognize medical entities including treatments, chronic diseases, cancers, and allergies.
Model Details
- Task: Named Entity Recognition
- Framework: spaCy
- Entity Types: TREATMENT, CHRONIC DISEASE, CANCER, ALLERGY, OTHER
Usage
import spacy
nlp = spacy.load("nitinyadav/continual_learning_ner_combined")
doc = nlp("Patient has been diagnosed with Type 2 Diabetes")
for ent in doc.ents:
print(ent.text, ent.label_)
Entity Labels
- TREATMENT: Medical treatments and procedures
- CHRONIC DISEASE: Long-term medical conditions
- CANCER: Cancer-related conditions
- ALLERGY: Allergic conditions
- OTHER: Other medical entities
Training Data
This model was trained on medical text data with annotated entities.