Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

felflare
/
bert-restore-punctuation

Token Classification
Transformers
PyTorch
English
bert
punctuation
Model card Files Files and versions
xet
Community
5

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
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

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
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs