codys12 commited on
Commit
71ee6de
·
1 Parent(s): d336446

Upload handler.py

Browse files
Files changed (1) hide show
  1. handler.py +3 -3
handler.py CHANGED
@@ -82,9 +82,9 @@ def generate(
82
  end_sequences: list[str] = ["[INST]", "[/INST]", "\n"]
83
  ) -> dict:
84
 
85
- print(instruction)
86
- print(conclusions)
87
- print(context)
88
  # Check if the system_prompt is provided, else construct it from instruction, conclusions, and context
89
  if not system_prompt and instruction is not None and conclusions is not None and context is not None:
90
  system_prompt = "Instruction: {}\nConclusions:\n".format(instruction)
 
82
  end_sequences: list[str] = ["[INST]", "[/INST]", "\n"]
83
  ) -> dict:
84
 
85
+ LOGGER.info(f"instruction: {instruction}")
86
+ LOGGER.info(f"conclusions: {conclusions}")
87
+ LOGGER.info(f"context: {context}")
88
  # Check if the system_prompt is provided, else construct it from instruction, conclusions, and context
89
  if not system_prompt and instruction is not None and conclusions is not None and context is not None:
90
  system_prompt = "Instruction: {}\nConclusions:\n".format(instruction)