Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • 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

roberthsu2003
/
models_for_qa_slide

Question Answering
Transformers
Safetensors
Chinese
bert
Generated from Trainer
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Transformers

    How to use roberthsu2003/models_for_qa_slide with Transformers:

    # Use a pipeline as a high-level helper
    # Warning: Pipeline type "question-answering" is no longer supported in transformers v5.
    # You must load the model directly (see below) or downgrade to v4.x with:
    # pip install "transformers<5.0.0"
    from transformers import pipeline
    
    pipe = pipeline("question-answering", model="roberthsu2003/models_for_qa_slide")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForQuestionAnswering
    
    tokenizer = AutoTokenizer.from_pretrained("roberthsu2003/models_for_qa_slide")
    model = AutoModelForQuestionAnswering.from_pretrained("roberthsu2003/models_for_qa_slide", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
models_for_qa_slide
407 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
roberthsu2003's picture
roberthsu2003
Update README.md
afa5155 verified over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • README.md
    2.05 kB
    Update README.md over 1 year ago
  • config.json
    789 Bytes
    roberthsu2003 over 1 year ago
  • model.safetensors
    407 MB
    xet
    roberthsu2003 over 1 year ago
  • special_tokens_map.json
    125 Bytes
    roberthsu2003 over 1 year ago
  • tokenizer.json
    439 kB
    roberthsu2003 over 1 year ago
  • tokenizer_config.json
    1.22 kB
    roberthsu2003 over 1 year ago
  • training_args.bin
    5.3 kB
    xet
    roberthsu2003 over 1 year ago
  • vocab.txt
    110 kB
    roberthsu2003 over 1 year ago