Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Jintao-Huang committed Dec 26, 2024
1 parent c10033d commit b99dcc7
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions swift/llm/dataset/preprocessor/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,10 +312,6 @@ def preprocess(self, row: Dict[str, Any]) -> Optional[Dict[str, Any]]:

class AlpacaPreprocessor(ResponsePreprocessor):

def __init__(self, *, columns_mapping: Optional[Dict[str, str]] = None, **kwargs) -> None:
"""Alpaca format preprocessor"""
super().__init__(columns_mapping=columns_mapping, **kwargs)

@classmethod
def concat_inst_input(cls, instruction, input_):
if instruction and input_:
Expand Down

0 comments on commit b99dcc7

Please sign in to comment.