AI SeedbankHelp preserve open and free AI for humanity's future

← All models

deepset_xlm-roberta-base-squad2

deepset · View on Hugging Face ↗

Get this model

Download TorrentMagnet Link

Seeders: 1 · Leechers: 0

Observed 2026-09-02T13:56:39Z via announce.aitorrent.org:7070.

Model card

The complete upstream card, rendered from this payload's README.md — the same hash-verified bytes the torrent distributes. Images and off-site links are removed; the original card on Hugging Face carries them.


license: cc-by-4.0 datasets:

  • squad_v2 model-index:
  • name: deepset/xlm-roberta-base-squad2 results:
    • task: type: question-answering name: Question Answering dataset: name: squad_v2 type: squad_v2 config: squad_v2 split: validation metrics:
      • type: exact_match value: 74.0354 name: Exact Match verified: true verifyToken: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiMWMxNWQ2ODJkNWIzZGQwOWI4OTZjYjU3ZDVjZGQzMjI5MzljNjliZTY4Mzk4YTk4OTMzZWYxZjUxYmZhYTBhZSIsInZlcnNpb24iOjF9.eEeFYYJ30BfJDd-JYfI1kjlxJrRF6OFtj2GnkTCOO4kqX31inFy8ptDWusVlLFsUphm4dNWfTKXC5e-gytLBDA
      • type: f1 value: 77.1833 name: F1 verified: true verifyToken: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiMjg4MjNkOTA4Y2I5OGFlYTk1NWZjMWFlNjI5M2Y0NGZhMThhN2M4YmY2Y2RhZjcwYzU0MGNjN2RkZDljZmJmNiIsInZlcnNpb24iOjF9.TX42YMXpH4e0qu7cC4ARDlZWSkd55dwwyeyFXmOlXERNnEicDuFBCsy8WHLaqQCLUkzODJ22Hw4zhv81rwnlAQ

Multilingual XLM-RoBERTa base for Extractive QA on various languages

Overview

Language model: xlm-roberta-base
Language: Multilingual
Downstream-task: Extractive QA
Training data: SQuAD 2.0
Eval data: SQuAD 2.0 dev set - German MLQA - German XQuAD
Code: See an example extractive QA pipeline built with Haystack
Infrastructure: 4x Tesla v100

Hyperparameters

batch_size = 22*4
n_epochs = 2
max_seq_len=256,
doc_stride=128,
learning_rate=2e-5,

Corresponding experiment logs in mlflow: link

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/xlm-roberta-base-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/xlm-roberta-base-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)

Performance

Evaluated on the SQuAD 2.0 dev set with the official eval script.

"exact": 73.91560683904657
"f1": 77.14103746689592

Evaluated on German MLQA: test-context-de-question-de.json "exact": 33.67279167589108 "f1": 44.34437105434842 "total": 4517

Evaluated on German XQuAD: xquad.de.json "exact": 48.739495798319325 "f1": 62.552615701071495 "total": 1190

Authors

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

About us

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!

Magnet link

Opens the swarm directly in your torrent client — no file download needed. Copy-paste works too:

magnet:?xt=urn:btih:347869ba93df43e477bdc6a69bd4e4e2b96186bc&dn=deepset_xlm-roberta-base-squad2

Open magnet in torrent client · infohash 347869ba93df43e477bdc6a69bd4e4e2b96186bc

Files & hashes

PathSizesha1sha256
README.md6.0 KB (6,187 B)f259f1c45a0069fa1d9fa4631b2b526247a7d8d4c8eca2ff38b3e009236cad2fe0d8ee36ab81da7e5756862ca5308a4174a3b9a3
config.json605 B (605 B)29c05db048e20efaa873c18d0a321b8eafe0c2a9ca7df357689e66661e1ca8011eeea04d9981114e8f4989e8b89f79b78f931bda
model.safetensors1.03 GB (1,109,846,632 B)d87b1951e6339501391631acc131e0e9c9dcd073b3b3953828b8bc7794dc785ab29fb35d1efc988531633dd7bcf871728f883dd1
pytorch_model.bin1.03 GB (1,109,905,791 B)22d5646bb023c589083e36ead3013aee6cfbca68faeaac92ea0e658d5f7a34a8cc42280a2261e500c647cffb37cee7e3836025bd
sentencepiece.bpe.model4.8 MB (5,069,051 B)7e88c49faff6c6c136fdf4a3402d0cb534c6ab10cfc8146abe2a0488e9e2a0c56de7952f7c11ab059eca145a0a727afce0db2865
special_tokens_map.json150 B (150 B)6cd1d9021e10d47aed59399af6b0e30312b46ca47638f5bbbe86ef6d604ef28ad3647dc690d6d117c81c0d63e885416be8da1150
tokenizer_config.json79 B (79 B)716c99719ef143bc426aac25d0c843c52a1bac8f7a33226d4265e3989cc6341666af179d0cc710136f4059aae0dd8c0797cba556

Cite this release

Canonical URL
https://aiseedbank.org/models/deepset_xlm-roberta-base-squad2/
Slug
deepset_xlm-roberta-base-squad2
Infohash
347869ba93df43e477bdc6a69bd4e4e2b96186bc
License
cc-by-4.0
Signing key fingerprint
85a3b32c3712427b

Every file carries a locally computed sha256 — verify a download against the signed sums: deepset_xlm-roberta-base-squad2.SHA256SUMS (+ minisign signature).

Provenance

Upstream repositorydeepset/xlm-roberta-base-squad2
Revision (pinned)a5fab9908c8d856e8c583fd41ba6d92444e46477
Fetched at2026-09-02T04:31:51Z
License at fetchcc-by-4.0
Snapshot toolhuggingface · seedbank 0.1.0

Trackers

✓ verified · rehash-vs-hf-metadata at 2026-09-02T04:32:16Z

cc-by-4.02.07 GB (2,224,828,495 bytes)transformerspytorchsafetensorsxlm-robertaquestion-answeringmodel-indexendpoints_compatible