Commit
·
e1417b6
1
Parent(s):
dd930a6
Update README.md
Browse files
README.md
CHANGED
|
@@ -74,7 +74,33 @@ Currently the perturber supports text rewriting along three axes and several att
|
|
| 74 |
|
| 75 |
### Uses
|
| 76 |
|
| 77 |
-
The perturber is intended for use by fairness researchers and engineers working on demographic debiasing applications. The perturber
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 78 |
|
| 79 |
### Contributions
|
| 80 |
|
|
|
|
| 74 |
|
| 75 |
### Uses
|
| 76 |
|
| 77 |
+
The perturber is intended for use by fairness researchers and engineers working on demographic debiasing applications. The perturber is a controllable generation model that given a word, target demographic attribute and input text, outputs text where the selected word and associated references are rewritten to the target demographic attribute. Control variables and the input text are separated by a <PERT_SEP> token.
|
| 78 |
+
|
| 79 |
+
## Examples
|
| 80 |
+
|
| 81 |
+
Input:
|
| 82 |
+
his, woman <PERT_SEP> Jack was passionate about rock climbing and his love for the sport was infectious to all men around him.
|
| 83 |
+
|
| 84 |
+
Output:
|
| 85 |
+
Jackie was passionate about rock climbing and her love for the sport was infectious to all men around her.
|
| 86 |
+
|
| 87 |
+
Input:
|
| 88 |
+
Alice, man <PERT_SEP> To her girlfriend Jen, Alice was a doting mother, loving girlfriend and talented actress.
|
| 89 |
+
|
| 90 |
+
Output:
|
| 91 |
+
To his girlfriend Jen, Alan was a doting father, loving partner and talented actor.
|
| 92 |
+
|
| 93 |
+
Input:
|
| 94 |
+
child, senior <PERT_SEP> The young child is naive and his innocence must be protected at all costs.
|
| 95 |
+
|
| 96 |
+
Output:
|
| 97 |
+
The elderly person is naive and his innocence must be protected at all costs.
|
| 98 |
+
|
| 99 |
+
Input:
|
| 100 |
+
Asian, black <PERT_SEP> The Asian students association often hosted anime nights and boba events on campus.
|
| 101 |
+
|
| 102 |
+
Output:
|
| 103 |
+
The Black students association often hosted anime nights and boba events on campus.
|
| 104 |
|
| 105 |
### Contributions
|
| 106 |
|