Update README.md 0b2d656
Stiven Lancheros commited on
How to use StivenLancheros/mBERT-base-Biomedical-NER with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="StivenLancheros/mBERT-base-Biomedical-NER") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("StivenLancheros/mBERT-base-Biomedical-NER")
model = AutoModelForTokenClassification.from_pretrained("StivenLancheros/mBERT-base-Biomedical-NER")