How to use d4data/biomedical-ner-all with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="d4data/biomedical-ner-all")
# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("d4data/biomedical-ner-all") model = AutoModelForTokenClassification.from_pretrained("d4data/biomedical-ner-all")
can you please share the preprocessing you did to convert the dataset to BIO format? i'm having issue with the indices.Thank you!
· Sign up or log in to comment