winglian Nanobit commited on
Commit
0048202
1 Parent(s): e396654

Update src/axolotl/prompters.py

Browse files

Co-authored-by: NanoCode012 <kevinvong@rocketmail.com>

Files changed (1) hide show
  1. src/axolotl/prompters.py +1 -1
src/axolotl/prompters.py CHANGED
@@ -17,7 +17,7 @@ class AlpacaPrompter:
17
  system_no_input_prompt = "Below is an instruction that describes a task. Write a response that appropriately completes the request.\n\n"
18
  prompt_style = None
19
 
20
- def __init__(self, prompt_style="instruct"):
21
  self.prompt_style = prompt_style if prompt_style else PromptStyle.instruct.value
22
  self.match_prompt_style()
23
 
 
17
  system_no_input_prompt = "Below is an instruction that describes a task. Write a response that appropriately completes the request.\n\n"
18
  prompt_style = None
19
 
20
+ def __init__(self, prompt_style=PromptStyle.instruct.value):
21
  self.prompt_style = prompt_style if prompt_style else PromptStyle.instruct.value
22
  self.match_prompt_style()
23