wanyu commited on
Commit
ce16dea
1 Parent(s): 7104988

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +43 -0
README.md CHANGED
@@ -9,6 +9,49 @@ This model was obtained by fine-tuning [google/pegasus-large](https://huggingfac
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
  from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
 
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
+ ## Text Revision Task
13
+ Given an edit intention for an original sentence, our model can generate a revised sentence.<br>
14
+ The edit intentions are provided by [IteraTeR-full-sent](https://huggingface.co/datasets/wanyu/IteraTeR_full_sent) dataset, which are categorized as follows:
15
+ <table>
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
+ </table>
54
+
55
  ## Usage
56
  ```python
57
  from transformers import AutoTokenizer, AutoModelForSeq2SeqLM