Downloads · 30 days
12
2% of all-time downloads
VMware/vinilm-2021-qa-evaluator
vinilm-2021-qa-evaluator is a text classification model from VMware. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as apache-2.0.
This model takes a question answer pair as an input and outputs a value representing its prediction about whether the input was a valid question and answer pair or not. The model is a pretrained viniLM-2021 with a seq…
Downloads · 30 days
12
2% of all-time downloads
All-time downloads
716
Public
Parameters
67M
536 MB on disk
Likes
1
Public
Click a slice to open those files.
.bin268 MB · 50%
How the weights are stored.
F3267M · 100%
From the Hugging Face model README
This model takes a question answer pair as an input and outputs a value representing its prediction about whether the input was a valid question and answer pair or not. The model is a pretrained viniLM-2021 with a sequence classification head.
Observationally, this model produces similar results as the original BERT-Base-cased QA Evaluator, but inference is twice as fast.
The QA evaluator was originally designed to be used with the t5-base-question-generator for evaluating the quality of generated questions.
The input for the QA evaluator follows the format for BertForSequenceClassification, but using the question and answer as the two sequences. Inputs should take the following format:
[CLS] <question> [SEP] <answer> [SEP]
The model is trained to evaluate if a question and answer are semantically related, but cannot determine whether an answer is actually true/correct or not.
This model was trained with the same dataset as the original BERT-Base-cased QA Evaluator, which is made up of question-answer pairs from the following datasets:
The question and answer were concatenated 50% of the time. In the other 50% of the time a corruption operation was performed (either swapping the answer for an unrelated answer, or by copying part of the question into the answer). The model was then trained to predict whether the input sequence represented one of the original QA pairs or a corrupted input.