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

radlab
/
polish-qa-v2

Question Answering
Transformers
PyTorch
Safetensors
Polish
roberta
Model card Files Files and versions
xet
Community
1

Instructions to use radlab/polish-qa-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use radlab/polish-qa-v2 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="radlab/polish-qa-v2")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForQuestionAnswering
    
    tokenizer = AutoTokenizer.from_pretrained("radlab/polish-qa-v2")
    model = AutoModelForQuestionAnswering.from_pretrained("radlab/polish-qa-v2", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
polish-qa-v2
3.49 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 16 commits
pkedzia's picture
pkedzia
Update README.md
53729d6 verified about 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 3 years ago
  • README.md
    2.37 kB
    Update README.md about 1 year ago
  • added_tokens.json
    23 Bytes
    Upload 8 files over 3 years ago
  • config.json
    706 Bytes
    Updated model, better eval loss, actually is 0,7166 on the same dataset over 3 years ago
  • model.safetensors
    1.74 GB
    xet
    Adding `safetensors` variant of this model (#1) over 3 years ago
  • pytorch_model.bin
    1.74 GB
    xet
    Updated model, better eval loss, actually is 0,7166 on the same dataset over 3 years ago
  • special_tokens_map.json
    964 Bytes
    Upload 3 files about 1 year ago
  • tokenizer.json
    8.59 MB
    Upload 3 files about 1 year ago
  • tokenizer_config.json
    1.25 kB
    Upload 3 files about 1 year ago
  • training_args.bin
    4.03 kB
    xet
    Updated model, better eval loss, actually is 0,7166 on the same dataset over 3 years ago
  • unigram.json
    7.56 MB
    Upload 8 files over 3 years ago