Instructions to use felflare/bert-restore-punctuation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use felflare/bert-restore-punctuation with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="felflare/bert-restore-punctuation")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("felflare/bert-restore-punctuation") model = AutoModelForTokenClassification.from_pretrained("felflare/bert-restore-punctuation") - Notebooks
- Google Colab
- Kaggle
Adding `safetensors` variant of this model
#5 opened about 3 years ago
by
SFconvertbot
Is this the best punctuator at the moment or are there better ones?
13
#4 opened about 3 years ago
by
MonsterMMORPG
Dont actually believe this works
3
#3 opened over 3 years ago
by
fivetide
assert [i[0] for i in output_text] == split_full_text AssertionError
#2 opened over 3 years ago
by
liaoch
pip install rpunct does not work with python 3.10
👀👍 5
1
#1 opened over 3 years ago
by
liaoch