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

Dingyun-Huang
/
oe-roberta-base-qa

Question Answering
Transformers
PyTorch
Safetensors
English
roberta
optoelectronics
science
data-mining
Model card Files Files and versions
xet
Community
2

Instructions to use Dingyun-Huang/oe-roberta-base-qa with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Dingyun-Huang/oe-roberta-base-qa with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("question-answering", model="Dingyun-Huang/oe-roberta-base-qa")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForQuestionAnswering
    
    tokenizer = AutoTokenizer.from_pretrained("Dingyun-Huang/oe-roberta-base-qa")
    model = AutoModelForQuestionAnswering.from_pretrained("Dingyun-Huang/oe-roberta-base-qa")
  • Notebooks
  • Google Colab
  • Kaggle
oe-roberta-base-qa
996 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 16 commits
Dingyun-Huang's picture
Dingyun-Huang
Update README.md
11a8a44 verified 10 months ago
  • .gitattributes
    1.52 kB
    initial commit about 2 years ago
  • README.md
    2.21 kB
    Update README.md 10 months ago
  • added_tokens.json
    75 Bytes
    Upload tokenizer about 2 years ago
  • config.json
    847 Bytes
    Upload RobertaForQuestionAnswering about 2 years ago
  • merges.txt
    456 kB
    Upload tokenizer about 2 years ago
  • model.safetensors
    496 MB
    xet
    Adding `safetensors` variant of this model (#2) about 1 year ago
  • pytorch_model.bin
    496 MB
    xet
    Upload RobertaForQuestionAnswering about 2 years ago
  • special_tokens_map.json
    167 Bytes
    Upload tokenizer about 2 years ago
  • tokenizer.json
    2.11 MB
    Upload tokenizer about 2 years ago
  • tokenizer_config.json
    1.25 kB
    Upload tokenizer about 2 years ago
  • vocab.json
    798 kB
    Upload tokenizer about 2 years ago