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
Changed keyerror. Replaced index with end and entity with entity_group
#1
by Shashank14 - opened
No description provided.