add model 3eaff4f
mkiol commited on
How to use mukowaty/punctuate-16 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="mukowaty/punctuate-16") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("mukowaty/punctuate-16")
model = AutoModelForTokenClassification.from_pretrained("mukowaty/punctuate-16")