SAVRN
Search Contact SAVRN

Open-weight model · Question answering

bert-multi-cased-finetuned-xquadv1

by Manuel Romero mrm8488/bert-multi-cased-finetuned-xquadv1

This model was created by Google and fine-tuned on XQuAD like data for multilingual (11 different languages) Q&A downstream task. Deepmind XQuAD As the dataset is based on SQuAD v1.1, there are no unanswerable questions in the data.

Parameters178M
Context512
Weights2.1 GB
License
AccessOpen weights
Monthly Downloads1.8k

Runs On

What it takes to serve bert-multi-cased-finetuned-xquadv1 (178M parameters): the memory its weights need at each precision, and the cheapest way to rent enough data-center GPUs to hold them.

PrecisionWeightsMemory neededCheapest setupPer hourAlso fits
16-bit 0.4 GB 0.4 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
8-bit 0.2 GB 0.2 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
4-bit 0.1 GB 0.1 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00

Memory is the weights at that precision plus 20% for the runtime and a short context; a long context needs more. Prices are the lowest on-demand hourly rates in the SAVRN Index, read Sep 18, 2026.

Model Card

This model was created by Google and fine-tuned on XQuAD like data for multilingual (11 different languages) Q&A downstream task. Deepmind XQuAD As the dataset is based on SQuAD v1.1, there are no unanswerable questions in the data. We chose this setting so that models can focus on cross-lingual transfer. We show the average number of tokens per paragraph, question, and answer for each language in the table below. The statistics were obtained using Jieba for Chinese and the Moses tokenizer for the other languages. As XQuAD is just an evaluation dataset, I used Data augmentation techniques (scraping, neural machine translation, etc) to obtain more samples and split the dataset in order to…

Excerpt from the card by Manuel Romero.

Configuration

Architecture
BertForQuestionAnswering
Context length (tokens)
512
Layers
12
Hidden size
768
Feed-forward size
3,072
Attention heads
12
Vocabulary size
119,547
Model type
bert

Identity and Version

Repository
mrm8488/bert-multi-cased-finetuned-xquadv1
Publisher
Manuel Romero
Task
Question answering
Modality
Text
Library
transformers
Parameters
178M parameters
Languages
jax
Revision
610161fac355eac3e06ac622d376e178a948a5d0
First published
2022-03-02
Last updated
2023-03-19

Files and Weights

12 files, 2.1 GB in total. The weights are 4 files totalling 2.1 GB in bin, msgpack, safetensors.

Weights4 files · 2.1 GB
Configuration4 files · 7.7 MB
Tokenizer2 files · 995.6 KB
Documentation1 file · 5.2 KB
Repository1 file · 445 B
Every file
FileTypeSizeSHA-256
flax_model.msgpackWeights709.1 MB 3655bd958711
model.safetensorsWeights711.4 MB 52ba2556e2f3
pytorch_model.binWeights711.5 MB 45ffdadb3880
training_args.binWeights1.6 KB e6f48fa9ff03
config.jsonConfiguration657 B
nbest_predictions_.jsonConfiguration7.5 MB
predictions_.jsonConfiguration116.9 KB
special_tokens_map.jsonConfiguration112 B
README.mdDocumentation5.2 KB
.gitattributesRepository445 B
tokenizer_config.jsonTokenizer40 B
vocab.txtTokenizer995.5 KB

License and Download

License
Not stated by the source
Access
Open weights, no gate
Download size
2.1 GB
Download from Manuel Romero

Released by Manuel Romero through its official repository on Hugging Face.

Built From

Memory Requirements

PrecisionWeights in memory
As published2.1 GB
16-bit0.4 GB
8-bit0.2 GB
4-bit0.1 GB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Questions About bert-multi-cased-finetuned-xquadv1

How much GPU memory does bert-multi-cased-finetuned-xquadv1 need?

About 0.4 GB at 16-bit and 0.1 GB at 4-bit: the weights (178M parameters) plus a working margin. A long context needs more.

What is the cheapest GPU to run bert-multi-cased-finetuned-xquadv1 on?

At 16-bit, 1x MI300X from $1.85 an hour; at 4-bit, 1x MI300X from $1.85 an hour, at the lowest on-demand prices the SAVRN Index lists.

What is bert-multi-cased-finetuned-xquadv1's context length?

512 tokens, from the maximum position embeddings in its published configuration.

Similar Models

Model · Question answering

deberta-v3-base-squad2

Deepset

This is the deberta-v3-base 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. 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: For a complete example with an extractive question answering pipeline that scales over many documents, check out the corresponding Haystack tutorial. Timo Möller: timo.moeller [at] deepset.ai deepset is the company behind the production-ready open-source AI framework Haystack. We also…

Open weights cc-by-4.0 184M parameters 512 tokens transformers

Model · Question answering

flan-t5-base-squad2

Sebastian Husch Lee

This is the flan-t5-base model, fine-tuned using the SQuAD2.0 dataset. It's been trained on question-answer pairs, including unanswerable questions, for the task of Extractive Question Answering. UPDATE: With transformers version 4.31.0 the useremotecode=True is no longer necessary. NOTE: The token must be manually added to the beginning of the question for this model to work properly. It uses the token to be able to make "no answer" predictions. The t5 tokenizer does not automatically add this special token which is why it is added manually. The following hyperparameters were used during training: - learningrate: 2e-05 - trainbatchsize: 16 - evalbatchsize: 8 - gradientaccumulationsteps: 6…

Open weights mit 223M parameters transformers

Model · Question answering

roberta-base-squad2

Deepset

This is the roberta-base model, fine-tuned using the SQuAD2.0 dataset. It's been trained on question-answer pairs, including unanswerable questions, for the task of Extractive Question Answering. We have also released a distilled version of this model called deepset/tinyroberta-squad2. It has a comparable prediction quality and runs at twice the speed of deepset/roberta-base-squad2. 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: For a complete example with an extractive question answering pipeline that scales over…

Open weights cc-by-4.0 124M parameters 514 tokens transformers

Model · Question answering

roberta-base-squad2-distilled

Deepset

haystack's distillation feature was used for training. deepset/roberta-large-squad2 was used as the teacher model. 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: For a complete example with an extractive question answering pipeline that scales over many documents, check out the corresponding Haystack tutorial. Timo Möller: [email protected] deepset is the company behind the production-ready open-source AI framework Haystack. We also have a Discord community open to everyone!

Open weights mit 124M parameters 514 tokens transformers

Model · Question answering

roberta-base-cuad

Taner Akdeniz

This model is the fine-tuned version of "RoBERTa Base" using CUAD dataset https://huggingface.co/datasets/cuad For the use of the model with CUAD: https://github.com/marshmellow77/cuad-demo and https://huggingface.co/spaces/akdeniz27/contract-understanding-atticus-dataset-demo

Open weights 124M parameters 514 tokens transformers