From d8c0b0ed7357dae48a6dcb0e1905bf3fa259c372 Mon Sep 17 00:00:00 2001 From: hhhhsc701 <56435672+hhhhsc701@users.noreply.github.com> Date: Fri, 12 Dec 2025 13:34:03 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85modal=E8=8C=83=E5=9B=B4=20(#1?= =?UTF-8?q?65)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- runtime/ops/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/runtime/ops/README.md b/runtime/ops/README.md index 6d0bf3d..7b4d408 100644 --- a/runtime/ops/README.md +++ b/runtime/ops/README.md @@ -13,7 +13,7 @@ language: 'python' vendor: 'huawei' raw_id: 'TestMapper' version: '1.0.0' -modal: 'text' +modal: 'text' # text/image/audio/video/multimodal inputs: 'text' outputs: 'text' ``` @@ -35,7 +35,7 @@ class TestMapper(Mapper): sample[self.text_key] += "\n新增的数据" return sample - + # Filter用于过滤和选择性保留数据,使用时将需要过滤的数据的text或data置为空值 from datamate.core.base_op import Filter @@ -86,4 +86,4 @@ from datamate.core.base_op import OPERATORS OPERATORS.register_module(module_name='TestMapper', module_path="ops.user.test_operator.process") -``` \ No newline at end of file +```