Skip to content

Commit

Permalink
disable duplicate code check
Browse files Browse the repository at this point in the history
  • Loading branch information
winglian committed Feb 28, 2024
1 parent 3d016f4 commit 8f00c77
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/axolotl/prompt_strategies/input_output.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ class InputOutputStrategy(PromptTokenizingStrategy):
"""Prompt Strategy class for input/output pairs"""

def tokenize_prompt(self, prompt):
# pylint: disable=duplicate-code
input_: str = prompt["input"]
output: str = prompt["output"]
if not input_.endswith(" ") and not input_.endswith("\n"):
Expand Down

0 comments on commit 8f00c77

Please sign in to comment.