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
bert-restore-punctuation
1.31 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 7 commits
felflare's picture
felflare
πŸ“ Added model files
954108a almost 5 years ago
  • .gitattributes
    690 Bytes
    initial commit almost 5 years ago
  • README.md
    4.99 kB
    Update README.md almost 5 years ago
  • config.json
    1.25 kB
    πŸ“ Added model files almost 5 years ago
  • model_args.json
    2.43 kB
    πŸ“ Added model files almost 5 years ago
  • optimizer.pt

    Detected Pickle imports (3)

    • "torch._utils._rebuild_tensor_v2",
    • "collections.OrderedDict",
    • "torch.FloatStorage"

    What is a pickle import?

    871 MB
    xet
    πŸ“ Added model files almost 5 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

    • "torch._utils._rebuild_tensor_v2",
    • "collections.OrderedDict",
    • "torch.LongStorage",
    • "torch.FloatStorage"

    What is a pickle import?

    436 MB
    xet
    πŸ“ Added model files almost 5 years ago
  • scheduler.pt

    Pickle imports

    • No problematic imports detected

    What is a pickle import?

    623 Bytes
    xet
    πŸ“ Added model files almost 5 years ago
  • special_tokens_map.json
    112 Bytes
    πŸ“ Added model files almost 5 years ago
  • tokenizer_config.json
    530 Bytes
    πŸ“ Added model files almost 5 years ago
  • training_args.bin

    Detected Pickle imports (1)

    • "simpletransformers.config.model_args.NERArgs"

    How to fix it?

    2.99 kB
    xet
    πŸ“ Added model files almost 5 years ago
  • vocab.txt
    232 kB
    πŸ“ Added model files almost 5 years ago