Commit
·
7ab48a9
1
Parent(s):
dbbf244
Update README.md
Browse files
README.md
CHANGED
|
@@ -58,11 +58,13 @@ See: [https://wandb.ai/domenicrosati/huggingface/runs/n1yallpe](https://wandb.ai
|
|
| 58 |
|
| 59 |
A t5-model model to convert questions, answer pairs into statements.
|
| 60 |
|
| 61 |
-
|
| 62 |
Use with `. ` as the seperator between question and answer.
|
| 63 |
> "where in the world is carmen. abruzzo"
|
| 64 |
> Output: "carmen is in abruzzo"
|
| 65 |
|
|
|
|
|
|
|
| 66 |
```
|
| 67 |
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
|
| 68 |
|
|
|
|
| 58 |
|
| 59 |
A t5-model model to convert questions, answer pairs into statements.
|
| 60 |
|
| 61 |
+
Due to the way it's been trained the input should be all lower case and punctuation removed.
|
| 62 |
Use with `. ` as the seperator between question and answer.
|
| 63 |
> "where in the world is carmen. abruzzo"
|
| 64 |
> Output: "carmen is in abruzzo"
|
| 65 |
|
| 66 |
+
Thought punctation and upper case works.
|
| 67 |
+
|
| 68 |
```
|
| 69 |
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
|
| 70 |
|