This model is a sequence-to-sequence distractor generator which takes an answer, question and context as an input, and generates a distractor as an output. It is based on a pretrained
bart-base
model.
For details, please see
https://github.com/voidful/BDG
.
Intended uses & limitations
The model is trained to generate examinations-style multiple choice distractor. The model performs best with full sentence answers.
How to use
The model takes concatenated context, question and answers as an input sequence, and will generate a full distractor sentence as an output sequence. The max sequence length is 1024 tokens. Inputs should be organised into the following format:
context </s> question </s> answer
The input sequence can then be encoded and passed as the
input_ids
argument in the model's
generate()
method.
The model is limited to generating distractor in the same style as those found in
RACE
. The generated distractors 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, question and answer do not match, the generated distractor is likely to be incoherent.
Runs of voidful bart-distractor-generation on huggingface.co
31
Total runs
0
24-hour runs
5
3-day runs
9
7-day runs
12
30-day runs
More Information About bart-distractor-generation huggingface.co Model
bart-distractor-generation huggingface.co
bart-distractor-generation huggingface.co is an AI model on huggingface.co that provides bart-distractor-generation's model effect (), which can be used instantly with this voidful bart-distractor-generation model. huggingface.co supports a free trial of the bart-distractor-generation model, and also provides paid use of the bart-distractor-generation. Support call bart-distractor-generation model through api, including Node.js, Python, http.
bart-distractor-generation huggingface.co is an online trial and call api platform, which integrates bart-distractor-generation's modeling effects, including api services, and provides a free online trial of bart-distractor-generation, you can try bart-distractor-generation online for free by clicking the link below.
voidful bart-distractor-generation online free url in huggingface.co:
bart-distractor-generation is an open source model from GitHub that offers a free installation service, and any user can find bart-distractor-generation on GitHub to install. At the same time, huggingface.co provides the effect of bart-distractor-generation install, users can directly use bart-distractor-generation installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
bart-distractor-generation install url in huggingface.co: