MetaAligner
commited on
Commit
•
cd51908
1
Parent(s):
669de4e
Update README.md
Browse files
README.md
CHANGED
@@ -61,9 +61,9 @@ answer = "The square root of banana is not a well-defined mathematical concept,
|
|
61 |
To ensure the best performance, use the following template to prompt <em>MetaAligner</em>:
|
62 |
|
63 |
```python
|
64 |
-
query_prompt = 'You are an assistant to human. You will be provided with a
|
65 |
-
|
66 |
-
|
67 |
aspects = [all_aspects[i] for i in aspects]
|
68 |
aligner_queries = [query_prompt.format(aspects='; '.join(aspects), question=question, answer=str(answer))]
|
69 |
```
|
|
|
61 |
To ensure the best performance, use the following template to prompt <em>MetaAligner</em>:
|
62 |
|
63 |
```python
|
64 |
+
query_prompt = 'You are an assistant to human. You will be provided with a query and an answer. Consider the query, ' \
|
65 |
+
'then edit the answer to improve it considering these aspects: {aspects} | ' \
|
66 |
+
'Query: {question} | Answer: {answer} | Edit: '
|
67 |
aspects = [all_aspects[i] for i in aspects]
|
68 |
aligner_queries = [query_prompt.format(aspects='; '.join(aspects), question=question, answer=str(answer))]
|
69 |
```
|