Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,30 @@
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
---
|
4 |
+
---
|
5 |
+
license: apache-2.0
|
6 |
+
---
|
7 |
+
##Source
|
8 |
+
A Neural Language Style Transfer framework to transfer natural language text smoothly between fine-grained language styles like formal/casual. The original model is at [https://github.com/PrithivirajDamodaran/Styleformer](https://github.com/PrithivirajDamodaran/Styleformer).
|
9 |
+
|
10 |
+
|
11 |
+
##Examples:
|
12 |
+
```
|
13 |
+
[Casual] I am quitting my job
|
14 |
+
[Formal] I will be stepping down from my job.
|
15 |
+
----------------------------------------------------------------------------------------------------
|
16 |
+
[Casual] Jimmy is on crack and can't trust him
|
17 |
+
[Formal] Jimmy is a crack addict I cannot trust him
|
18 |
+
----------------------------------------------------------------------------------------------------
|
19 |
+
[Casual] What do guys do to show that they like a gal?
|
20 |
+
[Formal] What do guys do to demonstrate their affinity for women?
|
21 |
+
----------------------------------------------------------------------------------------------------
|
22 |
+
[Casual] i loooooooooooooooooooooooove going to the movies.
|
23 |
+
[Formal] I really like to go to the movies.
|
24 |
+
```
|
25 |
+
|
26 |
+
## References
|
27 |
+
- [Formality Style Transfer for Noisy Text: Leveraging Out-of-Domain
|
28 |
+
Parallel Data for In-Domain Training via POS Masking](https://www.aclweb.org/anthology/D19-5502.pdf)
|
29 |
+
- [Generative Text Style Transfer for Improved Language Sophistication](http://cs230.stanford.edu/projects_winter_2020/reports/32069807.pdf)
|
30 |
+
- [Delete, Retrieve, Generate: A Simple Approach to Sentiment and Style Transfer](https://arxiv.org/pdf/1804.06437.pdf)
|