VMware / t5-small-question-generator

huggingface.co
Total runs: 11
24-hour runs: 0
7-day runs: 3
30-day runs: 2
Model's Last Updated: March 22 2023
text-generation

Introduction of t5-small-question-generator

Model Details of t5-small-question-generator

T5-v1.1-Small Question Generator

Model Description

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 Google's pretrained T5-v1.1-Small model.

It was trained with and intended to be used with AMontgomerie/question_generator .

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 lower.

Intended uses & limitations

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.

How to use

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 organized into the following format:

<answer> answer text here <context> context text here

The input sequence can then be encoded and passed as the input_ids argument in the model's generate() method.

For best results, a large number of questions can be generated, and then filtered using iarfmoose/bert-base-cased-qa-evaluator .

For examples, please see https://github.com/iarfmoose/question_generator .

Limitations and bias

The model is limited to generating questions in the same style as those found in SQuAD , CoQA , and MSMARCO . The generated questions can potentially be leading or reflect biases that are present in the context. If the context is too short or completely absent, or if the context and answer do not match, the generated question is likely to be incoherent.

Training data

The model was fine-tuned on a dataset made up of several well-known QA datasets ( SQuAD , CoQA , and MSMARCO ). The datasets were restructured by concatenating the answer and context fields into the previously-mentioned format. The question field from the datasets was used as the target during training. The full training set was roughly 200,000 examples.

Training procedure

The model was trained for 20 epochs over the training set with a learning rate of 1e-3. The batch size was kept at 4 to match the original training strategy used by iarfmoose .

Runs of VMware t5-small-question-generator on huggingface.co

11
Total runs
0
24-hour runs
0
3-day runs
3
7-day runs
2
30-day runs

More Information About t5-small-question-generator huggingface.co Model

More t5-small-question-generator license Visit here:

https://choosealicense.com/licenses/apache-2.0

t5-small-question-generator huggingface.co

t5-small-question-generator huggingface.co is an AI model on huggingface.co that provides t5-small-question-generator's model effect (), which can be used instantly with this VMware t5-small-question-generator model. huggingface.co supports a free trial of the t5-small-question-generator model, and also provides paid use of the t5-small-question-generator. Support call t5-small-question-generator model through api, including Node.js, Python, http.

t5-small-question-generator huggingface.co Url

https://huggingface.co/VMware/t5-small-question-generator

VMware t5-small-question-generator online free

t5-small-question-generator huggingface.co is an online trial and call api platform, which integrates t5-small-question-generator's modeling effects, including api services, and provides a free online trial of t5-small-question-generator, you can try t5-small-question-generator online for free by clicking the link below.

VMware t5-small-question-generator online free url in huggingface.co:

https://huggingface.co/VMware/t5-small-question-generator

t5-small-question-generator install

t5-small-question-generator is an open source model from GitHub that offers a free installation service, and any user can find t5-small-question-generator on GitHub to install. At the same time, huggingface.co provides the effect of t5-small-question-generator install, users can directly use t5-small-question-generator installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

t5-small-question-generator install url in huggingface.co:

https://huggingface.co/VMware/t5-small-question-generator

Url of t5-small-question-generator

t5-small-question-generator huggingface.co Url

Provider of t5-small-question-generator huggingface.co

VMware
ORGANIZATIONS

Other API from VMware