Token Classification
Transformers
Safetensors
English
bert
named-entity-recognition
biomedical-nlp
cancer-genetics
oncology
gene-regulation
cancer-research
amino_acid
anatomical_system
cancer
cell
cellular_component
developing_anatomical_structure
gene_or_gene_product
immaterial_anatomical_entity
multi-tissue_structure
organ
organism
organism_subdivision
organism_substance
pathological_formation
simple_chemical
tissue
Instructions to use OpenMed/OpenMed-NER-OncologyDetect-PubMed-109M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use OpenMed/OpenMed-NER-OncologyDetect-PubMed-109M with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="OpenMed/OpenMed-NER-OncologyDetect-PubMed-109M")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("OpenMed/OpenMed-NER-OncologyDetect-PubMed-109M") model = AutoModelForTokenClassification.from_pretrained("OpenMed/OpenMed-NER-OncologyDetect-PubMed-109M", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 195 Bytes
ed8ddd9 | 1 2 3 4 5 6 7 | {
"eval_accuracy": 0.9365384926476535,
"eval_f1": 0.8062027062287993,
"eval_loss": 0.863247275352478,
"eval_precision": 0.8049125418682546,
"eval_recall": 0.8074970131421745
} |