firqaaa commited on
Commit
7cf4a25
1 Parent(s): 76c03c2

Update summ.py

Browse files
Files changed (1) hide show
  1. summ.py +1 -2
summ.py CHANGED
@@ -18,7 +18,7 @@ def get_summ(path):
18
  # Map
19
  map_template = """The following is a set of documents
20
  {docs}
21
- Based on this list of docs, please identify the main themes
22
  Helpful Answer:"""
23
  map_prompt = PromptTemplate.from_template(map_template)
24
  map_chain = LLMChain(llm=llm, prompt=map_prompt)
@@ -27,7 +27,6 @@ def get_summ(path):
27
  reduce_template = """The following is set of summaries:
28
  {doc_summaries}
29
  Take these and distill it into a final, consolidated summary of the main themes.
30
- Determine the genes relevant or irrelevant to the discussed disease, and incorporate any associated p-values if available.
31
  Helpful Answer:"""
32
  reduce_prompt = PromptTemplate.from_template(reduce_template)
33
 
 
18
  # Map
19
  map_template = """The following is a set of documents
20
  {docs}
21
+ Based on this list of docs, please identify the main themes and determine the genes relevant or irrelevant to the discussed disease followed by any associated p-values if available.
22
  Helpful Answer:"""
23
  map_prompt = PromptTemplate.from_template(map_template)
24
  map_chain = LLMChain(llm=llm, prompt=map_prompt)
 
27
  reduce_template = """The following is set of summaries:
28
  {doc_summaries}
29
  Take these and distill it into a final, consolidated summary of the main themes.
 
30
  Helpful Answer:"""
31
  reduce_prompt = PromptTemplate.from_template(reduce_template)
32