add model weight acdc454
daotuanan commited on
How to use dtan/biocovid-bert_ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="dtan/biocovid-bert_ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("dtan/biocovid-bert_ner")
model = AutoModelForTokenClassification.from_pretrained("dtan/biocovid-bert_ner")