shaurya0512
commited on
Commit
•
9dd7091
1
Parent(s):
cd26cef
Added INPUT prompt
Browse files
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})]
|