[Bug]: wrong retriever from version 0.6.0
Maintainer thường phản hồi trong vòng 4 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- numpy, python
- Lĩnh vực
- machine-learning, search
Hướng nghiên cứu
Bắt đầu với retrieve_with_prf và tái hiện chính xác truy vấn "Errore 0x000006D9" bằng các mô hình embedding được liệt kê, so sánh fastembed 0.5.1 với 0.6.0-0.7.1. Xác nhận giai đoạn retrieval nào thay đổi và sử dụng truy vấn ngắn hơn đang hoạt động để so sánh; được xem là hoàn tất khi truy vấn chính xác lại lấy được tài liệu Qdrant mong đợi, kèm theo một bài kiểm thử hồi quy nếu repository có cung cấp.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
What happened?
Hi, I implemented a prefech retriever.
I am using the model:
SparseTextEmbedding("Qdrant/bm25")
TextEmbedding("sentence-transformers/paraphrase-multilingual-mpnet-base-v2")
LateInteractionTextEmbedding("answerdotai/answerai-colbert-small-v1")
I tried the query: "Errore 0x000006D9"
This is the abnormal behaviour:
with fastembed version 0.5.1 it retrieves the right qdrant docuemnt
From fastembed 0.6.0 to 0.7.1 it retrieves the wrong qdrant document
instead, if the query is: "Erro 0x000006D9" or "Erro 0x000006D9" it works fine.
This is my function;
def retrieve_with_prf(query, limit=5, k_feedback=3):
try:
sparse_vec = list(sparse_embedding_model.embed([query]))[0]
initial_results = client.query_points(
collection_name=collection_name,
query=models.SparseVector(**sparse_vec.as_object()),
using=sparse_vector_name,
with_payload=True,
limit=k_feedback
)
if not initial_results or not initial_results.points:
return []
feedback_texts = [
p.payload.get('text', '')[:1000]
for p in initial_results.points
if p.payload.get('text')
]
if not feedback_texts:
return []
feedback_embeddings = list(dense_embedding_model.embed(feedback_texts))
avg_vec = np.mean(feedback_embeddings, axis=0).tolist()
return client.query_points(
collection_name=collection_name,
query=avg_vec,
using=dense_vector_name,
with_payload=True,
limit=limit
)
except Exception:
return []
What is the expected behaviour?
No response
A minimal reproducible example
No response
What Python version are you on? e.g. python --version
python 3.13
FastEmbed version
v0.7.1
What os are you seeing the problem on?
No response
Relevant stack traces and/or logs
- Ngôn ngữ chính
- Python
- Star
- 3.3k
- Fork
- 314
- Merge trung bình
- 5 ngày 7 giờ
- Pull request đã merge (30 ngày)
- 23
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của qdrant/fastembed
-
[Bug]: Bm25 splits Tamil, Hindi, Sinhala and other words on their combining marksCó thể đã có người làm @Nipuna-Lakruwan đã nhận 12 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 30/100
qdrant/fastembed#886 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 4 ngày
-
miniCOIL clean_words mutates input and loses counts when normalized words collideCó thể đã có người làm @pear1-pea đã nhận 20 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 1/100
Maintainer thường phản hồi trong vòng 4 ngày
-
[Bug]: Revision-pinned HF downloads can falsely report intact files as corruptedCó thể đã có người làm @N7766 đã nhận 24 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 4 ngày
-
[Bug]: URL-backed custom models with the same basename reuse the wrong cached modelCó thể đã có người làm @rtmalikian đã nhận 24 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 25/100
Maintainer thường phản hồi trong vòng 4 ngày
-
[Bug]: rerank_pairs raises TypeError when pairs are passed as a tuple of pairsCó thể đã có người làm @michaelkillgta đã nhận 54 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 22/100
Maintainer thường phản hồi trong vòng 4 ngày
Tất cả issue của qdrant/fastembed
Issue tương tự
-
Ubuntu for Debian DevelopersĐang mởDMB documentation good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
ubuntu/ubuntu-project-docs#921 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
⏳ Pending feedback 🐛 Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
jumpserver/jumpserver#18282 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 76/100
ClickHouse/loom#2014 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
accepted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
future-agi/future-agi#5274 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 2 ngày