Nanobit winglian commited on
Commit
c17dae6
1 Parent(s): 37293dc

Update src/axolotl/prompt_strategies/alpaca_instruct.py

Browse files
src/axolotl/prompt_strategies/alpaca_instruct.py CHANGED
@@ -6,7 +6,7 @@ from axolotl.prompters import AlpacaPrompter, PromptStyle
6
 
7
  def load(tokenizer, cfg):
8
  return AlpacaPromptTokenizingStrategy(
9
- AlpacaPrompter(PromptStyle.INSTRUCT),
10
  tokenizer,
11
  cfg.train_on_inputs,
12
  cfg.sequence_len,
 
6
 
7
  def load(tokenizer, cfg):
8
  return AlpacaPromptTokenizingStrategy(
9
+ AlpacaPrompter(PromptStyle.INSTRUCT.value),
10
  tokenizer,
11
  cfg.train_on_inputs,
12
  cfg.sequence_len,