alt.freeweights.vision / roberta-large-squad2-ONNX
From: onnx-community <huggingface.co/onnx-community>Newsgroups: alt.freeweights.visionSubject:

roberta-large-squad2-ONNX

Date: 2026-11-15Commit: a398f00Signed: 2DC28CC7B26A283B ✓

Question answering model. Onnx weights, 4.26 GB in all. Published by onnx-community under CC-BY-4.0.

vision4.26GBroberta-large-squad2-ONNXonnxpermissive
FactsParamsnot statedSize4.26 GBFormatsonnxTaskquestion answeringLicenseCC-BY-4.0From sourcepermissive
$ fw get onnx-community/roberta-large-squad2-ONNX
# manifest sha256 5f1a47c7b8c6… · 4.26 GB · 17 files
$ fw verify ./roberta-large-squad2-ONNX onnx-community/roberta-large-squad2-ONNX
From sourceHosted (signed)onnx-community/roberta-large-squad2-ONNXLast check: 2026-11-15 05:30 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Quantized of roberta-large-squad2.

Works with

Runs with

Ranked by fit to this model (onnx), then by GitHub stars.

Convert with

Scan with

Overview

Size
4.26 GB
Weights
275 MB (smallest of 8 ONNX variants)
Parameters
not stated
Formats
onnx
Task
question answering
License
CC-BY-4.0 (permissive)
Files
17, each with a sha256
Publisher
onnx-community
Added
2026-11-15
Section
alt.freeweights.vision
Lineage

Original release from the publisher.

Base model: deepset/roberta-large-squad2

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 05:30 UTCpassed

Model card

From the publisher at commit a398f00. Shown as plain text with links; images open at the publisher.

roberta-large-squad2 (ONNX)#

This is an ONNX version of deepset/roberta-large-squad2. It was automatically converted and uploaded using this Hugging Face Space.

Usage with Transformers.js#

See the pipeline documentation for question-answering: https://huggingface.co/docs/transformers.js/api/pipelines#module_pipelines.QuestionAnsweringPipeline


roberta-large for Extractive QA#

This is the roberta-large model, fine-tuned using the SQuAD2.0 dataset. It's been trained on question-answer pairs, including unanswerable questions, for the task of Question Answering.

Overview#

Language model: roberta-large Language: English Downstream-task: Extractive QA Training data: SQuAD 2.0 Eval data: SQuAD 2.0 Code: See an example extractive QA pipeline built with Haystack Infrastructure: 4x Tesla v100

Hyperparameters#

base_LM_model = "roberta-large"

Using a distilled model instead#

Please note that we have also released a distilled version of this model called deepset/roberta-base-squad2-distilled. The distilled model has a comparable prediction quality and runs at twice the speed of the large model.

Usage#

In Haystack#

Haystack is an AI orchestration framework to build customizable, production-ready LLM applications. You can use this model in Haystack to do extractive question answering on documents. To load and run the model with Haystack:

# After running pip install haystack-ai "transformers[torch,sentencepiece]"

from haystack import Document
from haystack.components.readers import ExtractiveReader

docs = [
    Document(content="Python is a popular programming language"),
    Document(content="python ist eine beliebte Programmiersprache"),
]

reader = ExtractiveReader(model="deepset/roberta-large-squad2")
reader.warm_up()

question = "What is a popular programming language?"
result = reader.run(query=question, documents=docs)
# {'answers': [ExtractedAnswer(query='What is a popular programming language?', score=0.5740374326705933, data='python', document=Document(id=..., content: '...'), context=None, document_offset=ExtractedAnswer.Span(start=0, end=6),...)]}

For a complete example with an extractive question answering pipeline that scales over many documents, check out the corresponding Haystack tutorial.

In Transformers#
from transformers import AutoModelForQuestionAnswering, AutoTokenizer, pipeline

model_name = "deepset/roberta-large-squad2"

# a) Get predictions
nlp = pipeline('question-answering', model=model_name, tokenizer=model_name)
QA_input = {
    'question': 'Why is model conversion important?',
    'context': 'The option to convert models between FARM and transformers gives freedom to the user and let people easily switch between frameworks.'
}
res = nlp(QA_input)

# b) Load model & tokenizer
model = AutoModelForQuestionAnswering.from_pretrained(model_name)
tokenizer = AutoTokenizer.from_pretrained(model_name)

Authors#

Branden Chan: branden.chan@deepset.ai Timo Möller: timo.moeller@deepset.ai Malte Pietsch: malte.pietsch@deepset.ai Tanay Soni: tanay.soni@deepset.ai

About us#

Image: image

Image: image

deepset is the company behind the production-ready open-source AI framework Haystack.

Some of our other work:

Get in touch and join the Haystack community#

For more info on Haystack, visit our GitHub repo and Documentation.

We also have a Discord community open to everyone!

Twitter | LinkedIn | Discord | GitHub Discussions | Website | YouTube

By the way: we're hiring!

Files

17 files · 4.26 GBWeights 275 MB (smallest of 8 ONNX variants). Sizes and sha256 from the signed manifest.
Hide all 17 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md8.24 KB9a0721f9eaec2631f07941d475ff171c0d25e7eaa1ae3b0f00a508d994743e59
config.json819 B060fe114c3ab7472ad67d6545fc31cc4ca753b3bcd9936ebdfd29811a47e8f02
merges.txt456 KB1ce1664773c50f3e0cc8842619a93edc4624525b728b188a9e0be33b7726adc5
onnx/model.onnx1.42 GBd49257da0cd4253c229ed7bf51a6c6eed02cc839c063b268f9c8a98be686a735
onnx/model_bnb4.onnx380 MBf8041d61e054bee4d2417e240f654f8e7206934b62bd2a721d84482a6114d938
onnx/model_fp16.onnx709 MB5466f1b9a06cdde8f33369b9e3789931dfdc1e500c8317fc48318d6e6386f623
onnx/model_int8.onnx357 MB5de596d593db4070bc7a1e216ac7d2c172168224afd14ac742ea5d5c9dd1b54a
onnx/model_q4.onnx399 MB7622d90c9e657f632918c33c8b4668beae5ecd96f55fc362679b393d9eb71b2d
onnx/model_q4f16.onnx275 MB9120fe59cc75bb27bfdade465adeea35e700eb02e7b6c2d3ca172f7d567d2647
onnx/model_quantized.onnx357 MB5de596d593db4070bc7a1e216ac7d2c172168224afd14ac742ea5d5c9dd1b54a
onnx/model_uint8.onnx357 MBed309b4c7829d2a9714cf6eee32714e4b2b6a9692f6ab3d4ab98edf3147b4c9d
quantize_config.json310 B9b60b5877b9a1687b5cddbc06124a974cb7536af9dbf5295279bf73c3823170c
special_tokens_map.json958 Bf23c8e6099631c233c16d9bf8dab198f610826cdd1b358f270f6d55c1863e857
tokenizer.json3.56 MB727009a8214ddfa5af1deedf1006d4d06e8e51e54aa5f03566263d4e19bfcdce
tokenizer_config.json1.27 KB537f710b1af9d407306209105bb2bf64378a9858beb732a8f05615b795154229
vocab.json798 KBed19656ea1707df69134c4af35c8ceda2cc9860bf2c3495026153a133670ab5e
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
a398f00536 pinned now2026-11-15 05:30 UTC17 files · 4.26 GB

Use it

$ fw get onnx-community/roberta-large-squad2-ONNX
# manifest sha256 5f1a47c7b8c6… · 4.26 GB · 17 files
$ fw verify ./roberta-large-squad2-ONNX onnx-community/roberta-large-squad2-ONNX
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/onnx-community/roberta-large-squad2-ONNX.json --dir ./roberta-large-squad2-ONNX $ python3 fw.py verify ./roberta-large-squad2-ONNX ./onnx-community__roberta-large-squad2-ONNX.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download onnx-community/roberta-large-squad2-ONNX --revision a398f005363f31c40e2392bc44d70bca0d83a128 --local-dir ./roberta-large-squad2-ONNX

License

Name
Creative Commons Attribution 4.0
Id
CC-BY-4.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
9a0721f9eaec2631f07941d475ff171c0d25e7eaa1ae3b0f00a508d994743e59
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: onnx-community <huggingface.co/onnx-community>Newsgroups: alt.freeweights.visionSubject: roberta-large-squad2-ONNXDate: 2026-11-15Commit: a398f00Signed: 2DC28CC7B26A283B ✓
Upstream
onnx-community/roberta-large-squad2-ONNX
Pinned commit
a398f005363f31c40e2392bc44d70bca0d83a128
Manifest
roberta-large-squad2-ONNX.json · .minisig
Manifest sha256
5f1a47c7b8c61ab9a4c022a553336b4aa37f9f52283a4cb4a30ca3d5342b3e61
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 05:30 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/onnx-community/roberta-large-squad2-ONNX.json $ curl -O https://freeweights.allternit.com/manifests/onnx-community/roberta-large-squad2-ONNX.json.minisig $ minisign -Vm roberta-large-squad2-ONNX.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

Parent

deepset/roberta-large-squad2 · this model is a quantization of it

No model in the catalog names this one as its parent.

Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download onnx-community/roberta-large-squad2-ONNX
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. roberta-large-squad2-ONNX.json. Provenance. Takedown history: none.
From: dima806 <huggingface.co/dima806>Subject: ai_vs_real_image_detection
From: legekka <huggingface.co/legekka>Subject: AI-Anime-Image-Detector-ViT
From: onnx-community <huggingface.co/onnx-community>Subject: AI-Anime-Image-Detector-ViT-ONNX
From: AICodexLab <huggingface.co/AICodexLab>Subject: answerdotai-ModernBERT-base-ai-detector
From: onnx-community <huggingface.co/onnx-community>Subject: answerdotai-ModernBERT-base-ai-detector-ONNX
From: onnx-community <huggingface.co/onnx-community>Subject: bart-large-cnn-ONNX