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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

aisingapore
/
SPANBert

Question Answering
Transformers
PyTorch
English
bert
conversational
Model card Files Files and versions
xet
Community
2

Instructions to use aisingapore/SPANBert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use aisingapore/SPANBert with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("question-answering", model="aisingapore/SPANBert")
    messages = [
        {"role": "user", "content": "Who are you?"},
    ]
    pipe(messages)
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForQuestionAnswering
    
    tokenizer = AutoTokenizer.from_pretrained("aisingapore/SPANBert")
    model = AutoModelForQuestionAnswering.from_pretrained("aisingapore/SPANBert")
  • Notebooks
  • Google Colab
  • Kaggle
SPANBert
862 MB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 8 commits
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model
2c27ea3 verified over 1 year ago
  • .gitattributes
    1.48 kB
    initial commit over 3 years ago
  • README.md
    6.82 kB
    update links from sgnlp to sgnlp-models over 3 years ago
  • config.json
    585 Bytes
    upload model for SPANBert over 3 years ago
  • model.safetensors
    431 MB
    xet
    Adding `safetensors` variant of this model over 1 year ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    431 MB
    xet
    upload model for SPANBert over 3 years ago