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.
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.
Every file
| File | Type | Size | SHA-256 |
|---|---|---|---|
| flax_model.msgpack | Weights | 891.5 MB | 9421122c978c |
| pytorch_model.bin | Weights | 891.6 MB | c8c0b7392e5f |
| tf_model.h5 | Weights | 892.1 MB | 1a42722f74b2 |
| added_tokens.json | Configuration | 39 B | — |
| config.json | Configuration | 1.2 KB | — |
| special_tokens_map.json | Configuration | 121 B | — |
| README.md | Documentation | 2.4 KB | — |
| .gitattributes | Repository | 391 B | — |
| spiece.model | Tokenizer | 791.7 KB | — |
| tokenizer_config.json | Tokenizer | 25 B | — |
License and Download
- License
- Not stated by the source
- Access
- Open weights, no gate
- Download size
- 2.7 GB
Released by Adam Montgomerie through its official repository on Hugging Face.
Memory Requirements
| Precision | Weights in memory |
|---|---|
| As published | 2.7 GB |
Weights only, from the published parameter count; the key-value cache and runtime add to this.