Skip to content

Qwen3-0.6B requires .float() fix but leads to very low naive recall (0.35) #27

@lawen5

Description

@lawen5

Issue: Low Recall Score in Vector-Graph RAG Reproduction with Qwen3-0.6B After Fixing Embedding Type Error

Description

When reproducing the vector-graph RAG pipeline with the Qwen3-0.6B model, I encountered a dtype-related error in the embedding output. The pipeline would crash at the line:

return embeddings.cpu().numpy()


---
```markdown
## Issue:使用 Qwen3-0.6B 复现 Vector-Graph RAG 时,修改 Embedding 类型后召回分数极低

### 问题描述
在使用 `Qwen3-0.6B` 模型复现 `vector-graph` RAG 流程时嵌入向量转换环节会报错原代码为```python
return embeddings.cpu().numpy()

<img width="418" height="438" alt="Image" src="https://github.com/user-attachments/assets/c340dcec-465c-4102-9639-4a90d37d8194" />

Graph RAG recall@100.5788Naive RAG recall@100.3502;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions