Update README.md
Browse files
README.md
CHANGED
|
@@ -4,18 +4,27 @@ datasets:
|
|
| 4 |
- rajpurkar/squad
|
| 5 |
library_name: transformers
|
| 6 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
examples:
|
| 8 |
```
|
| 9 |
<context> New Delhi is the capital of India.
|
| 10 |
```
|
| 11 |
-
|
| 12 |
```
|
| 13 |
<context> My name is Dev.
|
| 14 |
```
|
| 15 |
-
|
| 16 |
```
|
| 17 |
<context> Sachin lives in Mumbai. <answer> Sachin
|
| 18 |
```
|
| 19 |
```
|
| 20 |
<context> Sachin lives in Mumbai. <answer> Mumbai
|
|
|
|
|
|
|
|
|
|
| 21 |
```
|
|
|
|
| 4 |
- rajpurkar/squad
|
| 5 |
library_name: transformers
|
| 6 |
---
|
| 7 |
+
|
| 8 |
+
#### How to use
|
| 9 |
+
|
| 10 |
+
The model takes concatenated answers and context as an input sequence, and will generate a full question sentence as an output sequence. The max sequence length is 512 tokens. Inputs should be organised into the following format:
|
| 11 |
+
```
|
| 12 |
+
<answer> answer text here <context> context text here
|
| 13 |
+
```
|
| 14 |
+
|
| 15 |
examples:
|
| 16 |
```
|
| 17 |
<context> New Delhi is the capital of India.
|
| 18 |
```
|
|
|
|
| 19 |
```
|
| 20 |
<context> My name is Dev.
|
| 21 |
```
|
|
|
|
| 22 |
```
|
| 23 |
<context> Sachin lives in Mumbai. <answer> Sachin
|
| 24 |
```
|
| 25 |
```
|
| 26 |
<context> Sachin lives in Mumbai. <answer> Mumbai
|
| 27 |
+
```
|
| 28 |
+
```
|
| 29 |
+
<context> Carbon has 6 neutrons. <answer> 6
|
| 30 |
```
|