ColeGuion commited on
Commit
d122dad
·
verified ·
1 Parent(s): 62e2cc7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -52,7 +52,7 @@ def format_prompt_grammar(message):
52
  prompt = "<s>"
53
 
54
  # String to add before every prompt
55
- prompt_prefix = "Correct any grammatical errors in the following sentence and provide the corrected version:"
56
  prompt_template = "[INST] " + prompt_prefix + ' {} [/INST]'
57
 
58
  history = [["It is my friends house in England.", "It is my friend's house in England."], ["Every girl must bring their books to school.", "Every girl must bring her books to school."], ["I have been to New York last summer.", "I went to New York last summer."]]
 
52
  prompt = "<s>"
53
 
54
  # String to add before every prompt
55
+ prompt_prefix = "Correct any grammatical errors in the following sentence and provide the corrected version:\nSentence:"
56
  prompt_template = "[INST] " + prompt_prefix + ' {} [/INST]'
57
 
58
  history = [["It is my friends house in England.", "It is my friend's house in England."], ["Every girl must bring their books to school.", "Every girl must bring her books to school."], ["I have been to New York last summer.", "I went to New York last summer."]]