abhika-m shaurya0512 commited on
Commit
5c47f5c
1 Parent(s): cd26cef

Added INPUT prompt (#1)

Browse files

- Added INPUT prompt (9dd709109d0b53e27b38008b0ab54d033d1a125c)


Co-authored-by: Shaurya Rohatgi <shaurya0512@users.noreply.huggingface.co>

Files changed (1) hide show
  1. README.md +3 -0
README.md CHANGED
@@ -11,6 +11,9 @@ sampling_params = vllm.SamplingParams(
11
  top_p=1.0,
12
  max_tokens=1024,
13
  )
 
 
 
14
  output = "" # add your passage to verify
15
  evidence = "" # add a piece of evidence
16
  prompts = [INPUT.format_map({"evidence": evidence, "output": output})]
 
11
  top_p=1.0,
12
  max_tokens=1024,
13
  )
14
+
15
+ INPUT = "Read the following references:\n{evidence}\nPlease identify all the errors in the following text using the information in the references provided and suggest edits if necessary:\n[Text] {output}\n[Edited] "
16
+
17
  output = "" # add your passage to verify
18
  evidence = "" # add a piece of evidence
19
  prompts = [INPUT.format_map({"evidence": evidence, "output": output})]