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

sptrodon
/
Optimum-Graphcore-Demo

Question Answering
Transformers
PyTorch
Graphcore
bert
Model card Files Files and versions
xet
Community
1

Instructions to use sptrodon/Optimum-Graphcore-Demo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use sptrodon/Optimum-Graphcore-Demo with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("question-answering", model="sptrodon/Optimum-Graphcore-Demo")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForQuestionAnswering
    
    tokenizer = AutoTokenizer.from_pretrained("sptrodon/Optimum-Graphcore-Demo")
    model = AutoModelForQuestionAnswering.from_pretrained("sptrodon/Optimum-Graphcore-Demo", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
Optimum-Graphcore-Demo
6.68 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model
f70c541 verified over 1 year ago
  • checkpoint-345
    Upload with huggingface_hub over 3 years ago
  • checkpoint-690
    Upload with huggingface_hub over 3 years ago
  • .gitattributes
    1.48 kB
    initial commit over 3 years ago
  • config.json
    702 Bytes
    Upload with huggingface_hub over 3 years ago
  • ipu_config.json
    811 Bytes
    Upload with huggingface_hub over 3 years ago
  • model.safetensors
    668 MB
    xet
    Adding `safetensors` variant of this model over 1 year ago
  • pytorch_model.bin
    668 MB
    xet
    Upload with huggingface_hub over 3 years ago
  • training_args.bin
    2.75 kB
    xet
    Upload with huggingface_hub over 3 years ago
  • vocab.txt
    232 kB
    Upload with huggingface_hub over 3 years ago