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

AlpineHealth
/
date_family_relevancy_extraction_model

Question Answering
Transformers
PyTorch
roberta
Model card Files Files and versions
xet
Community
4

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

  • Libraries
  • Transformers

    How to use AlpineHealth/date_family_relevancy_extraction_model 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="AlpineHealth/date_family_relevancy_extraction_model")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForQuestionAnswering
    
    tokenizer = AutoTokenizer.from_pretrained("AlpineHealth/date_family_relevancy_extraction_model")
    model = AutoModelForQuestionAnswering.from_pretrained("AlpineHealth/date_family_relevancy_extraction_model", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
date_family_relevancy_extraction_model
1.42 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
agr505's picture
agr505
Upload RobertaForQuestionAnswering (#4)
48dff50 over 3 years ago
  • .gitattributes
    1.52 kB
    initial commit over 3 years ago
  • config.json
    756 Bytes
    Upload RobertaForQuestionAnswering (#2) over 3 years ago
  • pytorch_model.bin
    1.42 GB
    xet
    Upload RobertaForQuestionAnswering (#4) over 3 years ago