venkat-srinivasan-nexusflow commited on
Commit
cbb4736
β€’
1 Parent(s): 8532708

Update constants.py

Browse files
Files changed (1) hide show
  1. constants.py +2 -2
constants.py CHANGED
@@ -7,14 +7,14 @@ RAVEN_GENERATION_KWARGS = {
7
  "stream": True,
8
  }
9
 
10
- SUMMARY_MODEL_PROMPT = """GPT4 Correct User: 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 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
- <|end_of_turn|>GPT4 Correct Assistant: """
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,