|
--- |
|
license: mit |
|
datasets: |
|
- rajpurkar/squad |
|
library_name: transformers |
|
language: |
|
- en |
|
tags: |
|
- text-generation-inference |
|
--- |
|
|
|
#### 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. Inputs should be organised into the following format: |
|
``` |
|
<context> context text here <answer> answer text here |
|
``` |
|
|
|
#### Here are some examples to use: |
|
``` |
|
<context> New Delhi is the capital of India. |
|
``` |
|
``` |
|
<context> My name is Dev. |
|
``` |
|
``` |
|
<context> Sachin lives in Mumbai. <answer> Sachin |
|
``` |
|
``` |
|
<context> Sachin lives in Mumbai. <answer> Mumbai |
|
``` |
|
``` |
|
<context> Sachin lives in Mumbai. He has two children. <answer> two children |
|
``` |
|
``` |
|
<context> Sachin lives in Mumbai. He has two children. He is 50 years old. David is his friend. He is 45 years old.<answer> 45 |
|
``` |
|
``` |
|
<context> Carbon has 6 neutrons. <answer> 6 |
|
``` |
|
``` |
|
<context> Carbon has 6 neutrons. <answer> Carbon |
|
``` |