SAVRN
Search Contact SAVRN

Open-weight model · Question answering

bert-small-cord19qa

by NeuML NeuML/bert-small-cord19qa

bert-small-cord19-squad model fine-tuned on the CORD-19 QA dataset. The CORD-19 QA dataset is a SQuAD 2.0 formatted list of question, context, answer combinations covering the CORD-19 dataset.

Parameters
Context512
Weights279.5 MB
License
AccessOpen weights
Monthly Downloads1.6k

Model Card

bert-small-cord19-squad model fine-tuned on the CORD-19 QA dataset. The CORD-19 QA dataset is a SQuAD 2.0 formatted list of question, context, answer combinations covering the CORD-19 dataset.

Excerpt from the card by NeuML.

Configuration

Architecture
BertForQuestionAnswering
Context length (tokens)
512
Layers
6
Hidden size
512
Feed-forward size
2,048
Attention heads
8
Vocabulary size
30,522
Model type
bert

Identity and Version

Repository
NeuML/bert-small-cord19qa
Publisher
NeuML
Task
Question answering
Modality
Text
Library
transformers
Parameters
Not stated by the source
Languages
jax
Revision
88e15ee7018bdf3cd98d5c55b975cb87f48d6686
First published
2022-03-02
Last updated
2021-05-18

Files and Weights

10 files, 410.0 MB in total. The weights are 3 files totalling 279.5 MB in bin, msgpack.

Weights3 files · 279.5 MB
Configuration2 files · 552 B
Tokenizer2 files · 231.6 KB
Documentation1 file · 1.9 KB
Other1 file · 130.2 MB
Repository1 file · 391 B
Every file
FileTypeSizeSHA-256
flax_model.msgpackWeights139.2 MB 87448c8a96d3
pytorch_model.binWeights140.3 MB 5bf39caa1817
training_args.binWeights1.4 KB 8d6e358c6d6f
config.jsonConfiguration440 B
special_tokens_map.jsonConfiguration112 B
README.mdDocumentation1.9 KB
saved_model.tar.gzOther130.2 MB 91c105ad9239
.gitattributesRepository391 B
tokenizer_config.jsonTokenizer135 B
vocab.txtTokenizer231.5 KB

License and Download

License
Not stated by the source
Access
Open weights, no gate
Download size
279.5 MB
Download from NeuML

Released by NeuML through its official repository on Hugging Face.

Memory Requirements

PrecisionWeights in memory
As published279.5 MB

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

Questions About bert-small-cord19qa

What is bert-small-cord19qa'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