SAVRN
Search Contact SAVRN

Open-weight model

t5-base-question-generator

by Adam Montgomerie iarfmoose/t5-base-question-generator

t5-base-question-generator is an open-weight model from Adam Montgomerie. Its published files total 2.7 GB. It draws 187.1k downloads a month.

This model is a sequence-to-sequence question generator which takes an answer and context as an input, and generates a question as an output. It is based on a pretrained t5-base model.

Parameters
Context
Weights2.7 GB
License
AccessOpen weights
Monthly Downloads187.1k

Model Card

This model is a sequence-to-sequence question generator which takes an answer and context as an input, and generates a question as an output. It is based on a pretrained t5-base model. The model is trained to generate reading comprehension-style questions with answers extracted from a text. The model performs best with full sentence answers, but can also be used with single word or short phrase answers. The model takes concatenated answers and context as an input sequence, and will generate a full question sentence as an output sequence. The max sequence length is 512 tokens. Inputs should be organised into the following format: The input sequence can then be encoded and passed as the…

Excerpt from the card by Adam Montgomerie.

Configuration

Architecture
T5ForConditionalGeneration
Vocabulary size
32,102
Model type
t5

Identity and Version

Repository
iarfmoose/t5-base-question-generator
Publisher
Adam Montgomerie
Task
Not stated by the source
Modality
Other
Library
transformers
Parameters
Not stated by the source
Languages
tf, jax
Revision
1bfc9d4b2b0078e0b65cf40c6e2e2e974fbab6b0
First published
2022-03-02
Last updated
2022-02-24

Files and Weights

10 files, 2.7 GB in total. The weights are 3 files totalling 2.7 GB in bin, h5, msgpack.

Weights3 files · 2.7 GB
Configuration3 files · 1.4 KB
Tokenizer2 files · 791.7 KB
Documentation1 file · 2.4 KB
Repository1 file · 391 B
Every file
FileTypeSizeSHA-256
flax_model.msgpackWeights891.5 MB 9421122c978c
pytorch_model.binWeights891.6 MB c8c0b7392e5f
tf_model.h5Weights892.1 MB 1a42722f74b2
added_tokens.jsonConfiguration39 B
config.jsonConfiguration1.2 KB
special_tokens_map.jsonConfiguration121 B
README.mdDocumentation2.4 KB
.gitattributesRepository391 B
spiece.modelTokenizer791.7 KB
tokenizer_config.jsonTokenizer25 B

License and Download

License
Not stated by the source
Access
Open weights, no gate
Download size
2.7 GB
Download from Adam Montgomerie

Released by Adam Montgomerie through its official repository on Hugging Face.

Memory Requirements

PrecisionWeights in memory
As published2.7 GB

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