Skip to content

Commit

Permalink
Update name
Browse files Browse the repository at this point in the history
  • Loading branch information
steventkrawczyk committed Jul 25, 2023
1 parent 3376766 commit cef64ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions prompttools/selector/prompt_selector.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# This source code's license can be found in the
# LICENSE file in the root directory of this source tree.

TEMPLATE = """
LLAMA_TEMPLATE = """
<s>[INST] <<SYS>>
{instruction}
<</SYS>
Expand All @@ -30,4 +30,4 @@ def for_openai_chat(self):
]

def for_llama(self):
return TEMPLATE.format(instruction=self.instruction, user_input=self.user_input)
return LLAMA_TEMPLATE.format(instruction=self.instruction, user_input=self.user_input)

0 comments on commit cef64ae

Please sign in to comment.