Commit ·
51d0a37
1
Parent(s): 8f68f62
changes to readme
Browse files
README.md
CHANGED
|
@@ -8,7 +8,7 @@ widget:
|
|
| 8 |
- max_length:
|
| 9 |
---
|
| 10 |
|
| 11 |
-
#
|
| 12 |
|
| 13 |
## Model description
|
| 14 |
|
|
@@ -29,3 +29,15 @@ generator = pipeline("text2text-generation",
|
|
| 29 |
prompt_text = "[VERB+active+past: comfort | AGENT+complete: the doctor | PATIENT+partial: athlete | LOCATIVE+partial: in] <extra_id_0> , <extra_id_1> <extra_id_2> <extra_id_3> ."
|
| 30 |
generator(prompt_text, max_length=200)
|
| 31 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
- max_length:
|
| 9 |
---
|
| 10 |
|
| 11 |
+
# Tailor
|
| 12 |
|
| 13 |
## Model description
|
| 14 |
|
|
|
|
| 29 |
prompt_text = "[VERB+active+past: comfort | AGENT+complete: the doctor | PATIENT+partial: athlete | LOCATIVE+partial: in] <extra_id_0> , <extra_id_1> <extra_id_2> <extra_id_3> ."
|
| 30 |
generator(prompt_text, max_length=200)
|
| 31 |
```
|
| 32 |
+
### BibTeX entry and citation info
|
| 33 |
+
```bibtex
|
| 34 |
+
@misc{ross2021tailor,
|
| 35 |
+
title={Tailor: Generating and Perturbing Text with Semantic Controls},
|
| 36 |
+
author={Alexis Ross and Tongshuang Wu and Hao Peng and Matthew E. Peters and Matt Gardner},
|
| 37 |
+
year={2021},
|
| 38 |
+
eprint={2107.07150},
|
| 39 |
+
archivePrefix={arXiv},
|
| 40 |
+
primaryClass={cs.CL},
|
| 41 |
+
url={https://arxiv.org/abs/2107.07150},
|
| 42 |
+
}
|
| 43 |
+
```
|