From 109cc9618c5777dd6671205f11474115b1d102af Mon Sep 17 00:00:00 2001 From: samsucik Date: Thu, 18 Apr 2024 09:38:48 +0200 Subject: [PATCH] Make the postprocessor do nothing by default --- prompterator/postprocess_output.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prompterator/postprocess_output.py b/prompterator/postprocess_output.py index 6c87c6e..b330b6a 100644 --- a/prompterator/postprocess_output.py +++ b/prompterator/postprocess_output.py @@ -2,4 +2,4 @@ def postprocess(generated_text: str) -> str: """ Rewrite this function to postprocess the generated texts one by one. """ - return generated_text[::-1] + return generated_text