deeplearning

deeplearning / bert_multiple_choice / 1.0.0

README.md

Overview

Usage

Input

Describe the input fields for your algorithm. For example:

ParameterDescription
sentenceA sentence with a blank (____) section
choicesA list of choices to select from

Output

ParameterDescription
answerSelected choice from the list

Examples

Example 1.

  • Parameter 1: A sentence with a blank.
  • Parameter 2: A list of choices to select from.

Input:

{
	"sentence": "I couldn't make it in time ____ I missed the train.",
	"choices": ["because", "therefore", "and", "apple"]
}

Output:

{
  "answer": "because"
}