update readme 5c132a5
Jinwon Kim commited on
How to use whooray/koen_punctuation with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="whooray/koen_punctuation", trust_remote_code=True) # Load model directly
from transformers import AutoModelForTokenClassification
model = AutoModelForTokenClassification.from_pretrained("whooray/koen_punctuation", trust_remote_code=True, dtype="auto")