Skip to content

Commit

Permalink
Add whitespace after "Instruct:" (#1277)
Browse files Browse the repository at this point in the history
  • Loading branch information
rasbt authored Apr 12, 2024
1 parent 3516bea commit d6e91ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion litgpt/prompts.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ def stop_tokens(self, tokenizer: "Tokenizer") -> Tuple[List[int], ...]:

class Phi2(PromptStyle):
def apply(self, prompt: str, **kwargs: str) -> str:
return f"Instruct:{prompt}\nOutput:"
return f"Instruct: {prompt}\nOutput:"


class TinyLlama(PromptStyle):
Expand Down

0 comments on commit d6e91ee

Please sign in to comment.