From 8c47beb00c448a178ec06b18938f5a8d8b5c5c2d Mon Sep 17 00:00:00 2001 From: liuyebo <1515783401@qq.com> Date: Fri, 18 Oct 2024 08:56:12 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=96=87=E6=9C=AC=E5=88=86?= =?UTF-8?q?=E7=B1=BB=E7=9A=84=E7=B2=BE=E5=BA=A6=EF=BC=8Cfp16=E4=B9=9F?= =?UTF-8?q?=E8=AE=B8=E5=8F=AA=E8=83=BD=E6=8E=A5=E6=94=B61024=E4=B8=AA?= =?UTF-8?q?=E5=AD=97=E7=AC=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- services/paddle_services/clas_text.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/paddle_services/clas_text.py b/services/paddle_services/clas_text.py index 22ab330..3f4f809 100644 --- a/services/paddle_services/clas_text.py +++ b/services/paddle_services/clas_text.py @@ -9,7 +9,7 @@ from utils import process_request app = Flask(__name__) schema = ['基本医保结算单', '出院记录', '费用清单'] CLAS = Taskflow('zero_shot_text_classification', model='utc-xbase', schema=schema, - task_path='model/text_classification', precision='fp16') + task_path='model/text_classification', precision='fp32') @app.route('/', methods=['POST'])