Update README.md
Browse files
README.md
CHANGED
@@ -9,6 +9,59 @@ This model was obtained by fine-tuning [roberta-large](https://huggingface.co/ro
|
|
9 |
Paper: [Understanding Iterative Revision from Human-Written Text](https://arxiv.org/abs/2203.03802) <br>
|
10 |
Authors: Wanyu Du, Vipul Raheja, Dhruv Kumar, Zae Myung Kim, Melissa Lopez, Dongyeop Kang
|
11 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
## Usage
|
13 |
```python
|
14 |
import torch
|
|
|
9 |
Paper: [Understanding Iterative Revision from Human-Written Text](https://arxiv.org/abs/2203.03802) <br>
|
10 |
Authors: Wanyu Du, Vipul Raheja, Dhruv Kumar, Zae Myung Kim, Melissa Lopez, Dongyeop Kang
|
11 |
|
12 |
+
## Edit Intention Prediction Task
|
13 |
+
Given a pair of original sentence and revised sentence, our model can predict the edit intention for this revision pair.<br>
|
14 |
+
More specifically, the model will predict the probability of the following edit intentions:
|
15 |
+
<table style="width:90%">
|
16 |
+
<tr>
|
17 |
+
<th>Edit Intention</th>
|
18 |
+
<th>Definition</th>
|
19 |
+
<th>Example</th>
|
20 |
+
</tr>
|
21 |
+
<tr>
|
22 |
+
<td>clarity</td>
|
23 |
+
<td>Make the text more formal, concise, readable and understandable.</td>
|
24 |
+
<td>
|
25 |
+
Original: The changes made the paper better than before. <br>
|
26 |
+
Revised: The changes improved the paper.
|
27 |
+
</td>
|
28 |
+
</tr>
|
29 |
+
<tr>
|
30 |
+
<td>fluency</td>
|
31 |
+
<td>Fix grammatical errors in the text.</td>
|
32 |
+
<td>
|
33 |
+
Original: She went to the markt. <br>
|
34 |
+
Revised: She went to the market.
|
35 |
+
</td>
|
36 |
+
</tr>
|
37 |
+
<tr>
|
38 |
+
<td>coherence</td>
|
39 |
+
<td>Make the text more cohesive, logically linked and consistent as a whole.</td>
|
40 |
+
<td>
|
41 |
+
Original: She works hard. She is successful. <br>
|
42 |
+
Revised: She works hard; therefore, she is successful.
|
43 |
+
</td>
|
44 |
+
</tr>
|
45 |
+
<tr>
|
46 |
+
<td>style</td>
|
47 |
+
<td>Convey the writer’s writing preferences, including emotions, tone, voice, etc..</td>
|
48 |
+
<td>
|
49 |
+
Original: Everything was rotten. <br>
|
50 |
+
Revised: Everything was awfully rotten.
|
51 |
+
</td>
|
52 |
+
</tr>
|
53 |
+
<tr>
|
54 |
+
<td>meaning-changed</td>
|
55 |
+
<td>Update or add new information to the text.</td>
|
56 |
+
<td>
|
57 |
+
Original: This method improves the model accuracy from 64% to 78%. <br>
|
58 |
+
Revised: This method improves the model accuracy from 64% to 83%.
|
59 |
+
</td>
|
60 |
+
</tr>
|
61 |
+
</table>
|
62 |
+
|
63 |
+
|
64 |
+
|
65 |
## Usage
|
66 |
```python
|
67 |
import torch
|