Tiếp theoHướng dẫn tiếp theo
Mô hình BERT và bộ mã hóa
Ngôn ngữ AI
HƯỚNG DẪN AI về ngôn ngữ
Bi-encoders encode queries and documents separately, while cross-encoders jointly process a query-document pair.
Nghe hướng dẫn nàyAI thuật lại · ~1 min
ColBERT is a separate late-interaction design that retains contextualized token vectors.
A bi-encoder maps each text to a fixed-length vector that can be indexed; Sentence Transformers documents cosine similarity and retrieval/reranking examples. A cross-encoder jointly processes a query and candidate text to produce a pair score, which is more expensive to apply to every item in a large corpus. ColBERT instead stores token-level contextual vectors and scores query-document pairs with MaxSim late interaction. These are architectural trade-offs and cited examples, not evidence that one approach is universally more accurate, dominant, or deployed at a particular scale.
Use a bi-encoder when document vectors need to be precomputed for candidate retrieval.
Use a cross-encoder to score a query and candidate together in a reranking stage.
Use ColBERT MaxSim to retain token-level matching after independent encoding.
Compare quality and latency on the target corpus and query set.
Choose and evaluate an encoder based on corpus size, latency budget, hardware, relevance labels, and update frequency. Do not infer industry prevalence or future adoption from the cited examples.
Bản tin miễn phí
Ba câu chuyện AI đã được xác minh vào mỗi buổi sáng các ngày trong tuần, được viết bằng tiếng Anh đơn giản. Miễn phí mãi mãi, không có quảng cáo.
Một email mỗi ngày trong tuần. Hủy đăng ký trong một cú nhấp chuột. Chúng tôi không bao giờ bán hoặc chia sẻ địa chỉ của bạn.
Tự kiểm tra
Phản hồi tức thì về mọi câu trả lời và chứng chỉ có thể chia sẻ với ID có thể xác minh sau khi bạn vượt qua khóa học.
Hỗ trợ giáo dục AI miễn phí. AI Understanding là tổ chức phi lợi nhuận 501(c)(3) — không bao giờ có quảng cáo, không có tường phí. Hãy quyên góp
Bi-encoders encode queries and documents separately, while cross-encoders jointly process a query-document pair. ColBERT is a separate late-interaction design that retains contextualized token vectors.
Bộ mã hóa chéo nối cả hai đầu vào và để sự chú ý kéo dài toàn bộ chuỗi; bộ mã hóa kép mã hóa từng văn bản riêng biệt thành các vectơ riêng biệt.
Bởi vì mỗi tài liệu được mã hóa độc lập nên vectơ của nó có thể được sử dụng lại trên tất cả các truy vấn và có thể được lập chỉ mục trước thời hạn.
Mẫu truy xuất-sau đó-xếp hạng lại tiêu chuẩn sử dụng bộ mã hóa hai chiều nhanh để thu hồi rộng rãi và bộ mã hóa chéo chính xác để sắp xếp lại danh sách rút gọn.
ColBERT retains contextualized token vectors and uses late interaction, including a MaxSim-style token-matching score, to compare query and document representations.
Bộ mã hóa kép ánh xạ từng văn bản tới một vectơ nhúng; độ tương tự sau đó được tính toán giữa các vectơ.
Tiếp tục học hỏi
Đã chọn thêm hướng dẫn cho chủ đề này
Tiếp theoHướng dẫn tiếp theo
Mô hình BERT và bộ mã hóa
Ngôn ngữ AI