From b99dcc72f9b3bb5604878eeba064af2c7eb5ea40 Mon Sep 17 00:00:00 2001 From: Jintao Huang Date: Thu, 26 Dec 2024 14:19:29 +0800 Subject: [PATCH] fix --- swift/llm/dataset/preprocessor/core.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/swift/llm/dataset/preprocessor/core.py b/swift/llm/dataset/preprocessor/core.py index 825c0ba1f..c3d692f4c 100644 --- a/swift/llm/dataset/preprocessor/core.py +++ b/swift/llm/dataset/preprocessor/core.py @@ -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_: