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.
This model trained with Parallel MLM refer to the
Paper
.
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.
Limitations and bias
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-pm on huggingface.co
25
Total runs
0
24-hour runs
1
3-day runs
7
7-day runs
15
30-day runs
More Information About bart-distractor-generation-pm huggingface.co Model
bart-distractor-generation-pm huggingface.co
bart-distractor-generation-pm huggingface.co is an AI model on huggingface.co that provides bart-distractor-generation-pm's model effect (), which can be used instantly with this voidful bart-distractor-generation-pm model. huggingface.co supports a free trial of the bart-distractor-generation-pm model, and also provides paid use of the bart-distractor-generation-pm. Support call bart-distractor-generation-pm model through api, including Node.js, Python, http.
bart-distractor-generation-pm huggingface.co is an online trial and call api platform, which integrates bart-distractor-generation-pm's modeling effects, including api services, and provides a free online trial of bart-distractor-generation-pm, you can try bart-distractor-generation-pm online for free by clicking the link below.
voidful bart-distractor-generation-pm online free url in huggingface.co:
bart-distractor-generation-pm is an open source model from GitHub that offers a free installation service, and any user can find bart-distractor-generation-pm on GitHub to install. At the same time, huggingface.co provides the effect of bart-distractor-generation-pm install, users can directly use bart-distractor-generation-pm installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
bart-distractor-generation-pm install url in huggingface.co: