Skip to content

Embedding similarity scores stuck around 0.541 when using BGE-Code-V1 as retriever in RAG #1521

@OpEnD17

Description

@OpEnD17

When I use BGE-Code-V1 (Qwen2.5-Coder-1.5B based) as retriever in my RAG pipeline, I find that query–chunk similarity scores are always around ~0.541, regardless of the query and document content.

Task: RAG retrieval (query: incomplete code; chunk: code blocks(almost function-level))
Similarity function: cosine similarity

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