Spaces:
Runtime error
Runtime error
venkat-srinivasan-nexusflow
commited on
Commit
β’
cbb4736
1
Parent(s):
8532708
Update constants.py
Browse files- constants.py +2 -2
constants.py
CHANGED
@@ -7,14 +7,14 @@ RAVEN_GENERATION_KWARGS = {
|
|
7 |
"stream": True,
|
8 |
}
|
9 |
|
10 |
-
SUMMARY_MODEL_PROMPT = """
|
11 |
For your reference, the current location is {current_location} and the current time is {current_time}.
|
12 |
|
13 |
Query: {query}
|
14 |
|
15 |
Search results:
|
16 |
{results}
|
17 |
-
|
18 |
|
19 |
SUMMARY_MODEL_GENERATION_KWARGS = {
|
20 |
"max_new_tokens": 1000,
|
|
|
7 |
"stream": True,
|
8 |
}
|
9 |
|
10 |
+
SUMMARY_MODEL_PROMPT = """<s> [INST] Please answer the following query using natural language based on the search results below with no extra hallucinated content. When there is no relevant information in the search results, please do not answer extra information and answer with "No relevant information". Please keep your response very short and concise.
|
11 |
For your reference, the current location is {current_location} and the current time is {current_time}.
|
12 |
|
13 |
Query: {query}
|
14 |
|
15 |
Search results:
|
16 |
{results}
|
17 |
+
[/INST]"""
|
18 |
|
19 |
SUMMARY_MODEL_GENERATION_KWARGS = {
|
20 |
"max_new_tokens": 1000,
|