Instructions to use VMware/t5-small-question-generator with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use VMware/t5-small-question-generator with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("VMware/t5-small-question-generator") model = AutoModelForSeq2SeqLM.from_pretrained("VMware/t5-small-question-generator", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update Model Card
Browse files
README.md
CHANGED
|
@@ -10,6 +10,8 @@ This model is a sequence-to-sequence question generator which takes an answer an
|
|
| 10 |
|
| 11 |
It was trained with and intended to be used with [AMontgomerie/question_generator](https://github.com/AMontgomerie/question_generator).
|
| 12 |
|
|
|
|
|
|
|
| 13 |
## Intended uses & limitations
|
| 14 |
|
| 15 |
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.
|
|
|
|
| 10 |
|
| 11 |
It was trained with and intended to be used with [AMontgomerie/question_generator](https://github.com/AMontgomerie/question_generator).
|
| 12 |
|
| 13 |
+
Observationally, end-to-end generation is a little over 2x faster with T5-Small compared to T5-Base; however, the quality of the questions is generally inferior.
|
| 14 |
+
|
| 15 |
## Intended uses & limitations
|
| 16 |
|
| 17 |
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.
|