Instructions to use raynardj/ner-disease-ncbi-bionlp-bc5cdr-pubmed with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use raynardj/ner-disease-ncbi-bionlp-bc5cdr-pubmed with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="raynardj/ner-disease-ncbi-bionlp-bc5cdr-pubmed")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("raynardj/ner-disease-ncbi-bionlp-bc5cdr-pubmed") model = AutoModelForTokenClassification.from_pretrained("raynardj/ner-disease-ncbi-bionlp-bc5cdr-pubmed") - Notebooks
- Google Colab
- Kaggle
Adding `safetensors` variant of this model
#3 opened about 3 years ago
by
SFconvertbot
How to apply this model on PubMed full-text?
#2 opened over 3 years ago
by
bear007
Changed keyerror. Replaced index with end and entity with entity_group
#1 opened almost 4 years ago
by
Shashank14