SAVRN
Search Contact SAVRN

Open-weight model · Question answering

bert-base-spanish-wwm-cased-finetuned-spa-squad2-es

by Manuel Romero mrm8488/bert-base-spanish-wwm-cased-finetuned-spa-squad2-es

This model is provided by BETO team and fine-tuned on SQuAD-es-v2.0 for Q&A downstream task. Language model ('dccuchile/bert-base-spanish-wwm-cased'): BETO is a BERT model trained on a big Spanish corpus.

Parameters
Context512
Weights876.5 MB
License
AccessOpen weights
Monthly Downloads2.3k

Model Card

This model is provided by BETO team and fine-tuned on SQuAD-es-v2.0 for Q&A downstream task. Language model ('dccuchile/bert-base-spanish-wwm-cased'): BETO is a BERT model trained on a big Spanish corpus. BETO is of size similar to a BERT-Base and was trained with the Whole Word Masking technique. Below you find Tensorflow and Pytorch checkpoints for the uncased and cased versions, as well as some results for Spanish benchmarks comparing BETO with Multilingual BERT as well as other (not BERT-based) models. The model was trained on a Tesla P100 GPU and 25GB of RAM with the following command: 1. Set the context and ask some questions: 2. Run predictions

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
31,002
Model type
bert

Identity and Version

Repository
mrm8488/bert-base-spanish-wwm-cased-finetuned-spa-squad2-es
Publisher
Manuel Romero
Task
Question answering
Modality
Text
Library
transformers
Parameters
Not stated by the source
Languages
es
Revision
99818221720ac345078458b0b0489d61b21fe137
First published
2022-03-02
Last updated
2021-05-20

Files and Weights

13 files, 1.6 GB in total. The weights are 3 files totalling 876.5 MB in bin, msgpack.

Weights3 files · 876.5 MB
Configuration5 files · 327.9 MB
Tokenizer2 files · 242.5 KB
Documentation1 file · 3.0 KB
Other1 file · 408.0 MB
Repository1 file · 391 B
Every file
FileTypeSizeSHA-256
flax_model.msgpackWeights437.1 MB 0f7ed9d36d9d
pytorch_model.binWeights439.5 MB 280c5e41b49f
training_args.binWeights1.5 KB 483b8d0eb374
config.jsonConfiguration465 B
nbest_predictions_.jsonConfiguration320.9 MB 085a6a937305
null_odds_.jsonConfiguration3.6 MB
predictions_.jsonConfiguration3.4 MB
special_tokens_map.jsonConfiguration112 B
README.mdDocumentation3.0 KB
saved_model.tar.gzOther408.0 MB 3a6f5510408f
.gitattributesRepository391 B
tokenizer_config.jsonTokenizer135 B
vocab.txtTokenizer242.3 KB

License and Download

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

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

Memory Requirements

PrecisionWeights in memory
As published876.5 MB

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

Questions About bert-base-spanish-wwm-cased-finetuned-spa-squad2-es

What is bert-base-spanish-wwm-cased-finetuned-spa-squad2-es's context length?

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

Similar Models

Model · Question answering

splinter-base

Tel Aviv University

Splinter-base is the pretrained model discussed in the paper Few-Shot Question Answering by Pretraining Span Selection (at ACL 2021). Its original repository can be found here. The model is case-sensitive. Note: This model doesn't contain the pretrained weights for the QASS layer (see paper for details), and therefore the QASS layer is randomly initialized upon loading it. For the model with those weights, see tau/splinter-base-qass. Splinter is a model that is pretrained in a self-supervised fashion for few-shot question answering. This means it was pretrained on the raw texts only, with no humans labelling them in any way (which is why it can use lots of publicly available data) with an…

Open weights apache-2.0 512 tokens transformers

This model can be used for the task of question answering. The model should not be used to intentionally create hostile or alienating environments for people. Significant research has explored bias and fairness issues with language models (see, e.g., Sheng et al. (2021) and Bender et al. (2021)). Predictions generated by the model may include disturbing and harmful stereotypes across protected classes; identity characteristics; and sensitive, social, and occupational groups. Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. The model creators note in the associated paper: The model creators note in the associated paper: The model…

Open weights 512 tokens transformers

Model · Question answering

distilbert-onnx

Philipp Schmid

This model is a fine-tune checkpoint of DistilBERT-base-cased, fine-tuned using (a second step of) knowledge distillation on SQuAD v1.1. This model reaches a F1 score of 87.1 on the dev set (for comparison, BERT bert-base-cased version reaches a F1 score of 88.7).

Open weights apache-2.0 512 tokens transformers

Model · Question answering

roberta-base-on-cuad

Mohammed Rakib

This model can be used for the task of Question Answering on Legal Documents. Read: An Open Source Contractual Language Understanding Application Using Machine Learning for detailed information on training procedure, dataset preprocessing and evaluation. See CUAD dataset card for more information. See CUAD dataset card for more information. Used V100/P100 from Google Colab Pro Python, Transformers Mohammed Rakib in collaboration with Ezi Ozoani and the Hugging Face team Use the code below to get started with the model.

Open weights mit 514 tokens transformers