qingxu99 commited on
Commit
4d02ea9
1 Parent(s): 82742f3

语法错误查找prompt更新

Browse files
Files changed (1) hide show
  1. functional.py +6 -4
functional.py CHANGED
@@ -20,10 +20,12 @@ def get_functionals():
20
  "Suffix": r"",
21
  },
22
  "查找语法错误": {
23
- "Prefix": r"Below is a paragraph from an academic paper. "+
24
- r"Can you help me ensure that the grammar is correct? Please ignore punctuation errors. " +
25
- r"List mistakes you find in a two-column markdown table, the first column write the original text, " +
26
- r"the second column write the corrected text, only highlight the key words you have changed with bold font." + "\n\n",
 
 
27
  "Suffix": r"",
28
  },
29
  "中译英": {
 
20
  "Suffix": r"",
21
  },
22
  "查找语法错误": {
23
+ "Prefix": r"Below is a paragraph from an academic paper. " +
24
+ r"Can you help me ensure that the grammar and the spelling is correct? " +
25
+ r"If no mistake is found, tell me that this paragraph is good." +
26
+ r"If you find grammar mistakes,please list mistakes you find in a two-column markdown table, " +
27
+ r"put the original text the first column, " +
28
+ r"put the corrected text in the second column and highlight the key words you fixed." + "\n\n",
29
  "Suffix": r"",
30
  },
31
  "中译英": {