update model card README.md 76715df
Tiago Barbosa de Lima commited on
How to use tiagoblima/punctuation-tedtalk2012-bert-base-full-text-bert with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="tiagoblima/punctuation-tedtalk2012-bert-base-full-text-bert") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("tiagoblima/punctuation-tedtalk2012-bert-base-full-text-bert")
model = AutoModelForTokenClassification.from_pretrained("tiagoblima/punctuation-tedtalk2012-bert-base-full-text-bert")