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

radlab
/
polish-qa-v2-bnb

Question Answering
Transformers
Safetensors
Polish
roberta
qa
poquad
quant
bitsandbytes
8-bit precision
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Transformers

    How to use radlab/polish-qa-v2-bnb 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-bnb")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForQuestionAnswering
    
    tokenizer = AutoTokenizer.from_pretrained("radlab/polish-qa-v2-bnb")
    model = AutoModelForQuestionAnswering.from_pretrained("radlab/polish-qa-v2-bnb", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
polish-qa-v2-bnb
583 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
pkedzia's picture
pkedzia
Update README.md
0670ee9 verified about 1 year ago
  • .gitattributes
    1.52 kB
    initial commit about 1 year ago
  • README.md
    2.7 kB
    Update README.md about 1 year ago
  • added_tokens.json
    23 Bytes
    Upload 9 files about 1 year ago
  • config.json
    1.12 kB
    Upload 9 files about 1 year ago
  • model.safetensors
    567 MB
    xet
    Upload 9 files about 1 year ago
  • special_tokens_map.json
    964 Bytes
    Upload 9 files about 1 year ago
  • tokenizer.json
    8.59 MB
    Upload 9 files about 1 year ago
  • tokenizer_config.json
    1.25 kB
    Upload 9 files about 1 year ago
  • training_args.bin
    4.03 kB
    xet
    Upload 9 files about 1 year ago
  • unigram.json
    7.56 MB
    Upload 9 files about 1 year ago