From 127e7c82295b0105d7627f64597b28f42b688e15 Mon Sep 17 00:00:00 2001 From: ViperEkura <3081035982@qq.com> Date: Mon, 21 Jul 2025 11:27:36 +0800 Subject: [PATCH] =?UTF-8?q?refactor(chinese-instruct):=20=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=20process=5Ffunc=20=E5=87=BD=E6=95=B0=E8=BF=94?= =?UTF-8?q?=E5=9B=9E=E5=80=BC=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- chinese-instruct.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chinese-instruct.py b/chinese-instruct.py index 9e17967..8543323 100644 --- a/chinese-instruct.py +++ b/chinese-instruct.py @@ -12,7 +12,7 @@ def build_prompt(query, response) -> str: def process_func(input_dict: dict): query = input_dict["prompt"] response = input_dict["response"] - return build_prompt(query, response) + return {"text": build_prompt(query, response)} if __name__ == "__main__":