Transformers How to use rkrstacic/bpmn-task-extractor with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="rkrstacic/bpmn-task-extractor") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("rkrstacic/bpmn-task-extractor")
model = AutoModelForTokenClassification.from_pretrained("rkrstacic/bpmn-task-extractor")