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