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