Upload training_args.bin with git-lfs d1a6df4
Rohan Bhambhoria commited on
How to use RohanVB/umlsbert_ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="RohanVB/umlsbert_ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("RohanVB/umlsbert_ner")
model = AutoModelForTokenClassification.from_pretrained("RohanVB/umlsbert_ner")