File size: 964 Bytes
b0b17a3 2b58262 520f4b5 b0b17a3 e1861eb 2189236 e1861eb 2189236 e1861eb 6c238ff 90dce03 73f42f0 64f5dcc e1861eb 62dcdd4 520f4b5 e1861eb ea4ee32 90dce03 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
---
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
``` |