Token Classification
PyTorch
GLiFormer
GLiNER
English
openmed
medical
biomedical
clinical-nlp
named-entity-recognition
disease
Eval Results (legacy)
Instructions to use OpenMed/GLiFormer-BioNER-Disease-Base-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- GLiFormer
How to use OpenMed/GLiFormer-BioNER-Disease-Base-v1 with GLiFormer:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- GLiNER
How to use OpenMed/GLiFormer-BioNER-Disease-Base-v1 with GLiNER:
from gliner import GLiNER model = GLiNER.from_pretrained("OpenMed/GLiFormer-BioNER-Disease-Base-v1") text = "Cristiano Ronaldo dos Santos Aveiro was born on 5 February 1985 in Funchal, Madeira, Portugal." labels = ["person", "date", "location"] entities = model.predict_entities(text, labels) for entity in entities: print(entity["text"], "=>", entity["label"]) - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from OpenMed/GLiFormer-BioNER-Disease-Base-v1: direct link, hf CLI and curl.
- Browser
- Download file 8.33 MB
-
https://huggingface.co/OpenMed/GLiFormer-BioNER-Disease-Base-v1/resolve/main/tokenizer.json
- Command line
-
hf download hf://OpenMed/GLiFormer-BioNER-Disease-Base-v1/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/OpenMed/GLiFormer-BioNER-Disease-Base-v1/resolve/main/tokenizer.json
8.33 MB
File too large to display, you can check the raw version instead.