From 070fde0c1974ff037983d61f285e8296cbd4b144 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AD=B1=E6=96=87?= Date: Fri, 6 Dec 2024 11:13:15 +0800 Subject: [PATCH] Fix multimodal emb --- src/pai_rag/tools/data_process/actors/embed_actor.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/pai_rag/tools/data_process/actors/embed_actor.py b/src/pai_rag/tools/data_process/actors/embed_actor.py index b58a7bd1..3f639ce7 100644 --- a/src/pai_rag/tools/data_process/actors/embed_actor.py +++ b/src/pai_rag/tools/data_process/actors/embed_actor.py @@ -52,7 +52,6 @@ def __call__(self, nodes): for idx, emb in zip(text_indices, text_embeddings): nodes["embedding"][idx] = np.array(emb) if self.sparse_embed_model: - print("text_contents", text_contents, type(text_contents)) sparse_embeddings = self.sparse_embed_model.encode_documents( list(text_contents) )