Skip to content

Commit

Permalink
Fix multimodal emb
Browse files Browse the repository at this point in the history
  • Loading branch information
wwxxzz committed Dec 6, 2024
1 parent 450aed0 commit 070fde0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/pai_rag/tools/data_process/actors/embed_actor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
)
Expand Down

0 comments on commit 070fde0

Please sign in to comment.