RepositoryPythonFRPháp
raphaelsty

raphaelsty/cherche

Neural Search

332sao
14fork
4issue
0lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: flashtext

#1 Repository Của Tháng

1
TINIX TRENDING·Chủ đề: bm25

#1 Repository Của Tháng

2
TINIX TRENDING·Chủ đề: neural-search

#2 Repository Của Tháng

🔍 Cherche: Pipeline tìm kiếm thông minh dựa trên mô hình ngôn ngữ

Xây dựng pipeline tìm kiếm ngữ nghĩa end-to-end chỉ với vài dòng code.

Cherche là một thư viện Python cho phép phát triển pipeline tìm kiếm ngữ nghĩa (neural search) bằng cách kết hợp các bộ truy xuất (retrievers) và các mô hình ngôn ngữ tiền huấn luyện đóng vai trò cả truy xuất lẫn xếp hạng (rankers). Nhờ kiến trúc modular và hỗ trợ batch computation, Cherche phù hợp cả cho tìm kiếm thời gian thực lẫn tỏi và tìm kiếm offline trên lượng lớn tài liệu.

✨ Điểm nổi bật

  • Retriever + Ranker kết hợp: Sử dụng BM25 để lọc nhanh, sau đó dùng mô hình ngữ nghĩa (ví dụ SentenceTransformers) để xếp hạng lại kết quả.
  • Cài đặt linh hoạt: Hỗ trợ cài đặt nhẹ (CPU) hoặc đầy đủ (GPU) tùy nhu cầu sử dụng.
  • Batch computation: Tối ưu cho tìm kiếm offline, xử lý đồng thời nhiều truy vấn.
  • Nhiều loại retriever: Hỗ trợ TfIdf, BM25, Lunr, Flash, Fuzz, Encoder, DPR, Embedding.
  • Tích hợp dễ dàng SentenceTransformers: Dùng mô hình ngôn ngữ để tính độ tương đồng ngữ nghĩa.
  • Pipeline đơn giản: Kết nối retriever và ranker bằng toán tử +, thêm tài liệu bằng .add() và tìm kiếm bằng danh sách truy vấn.
  • Trả về kết quả gắn metadata: Kết quả tìm kiếm bao gồm id, tiêu đề, URL và điểm độ tương đồng.

💡 Vì sao đáng chú ý

Khác với các giải pháp tìm kiếm truyền thống chỉ dựa trên từ khóa, Cherche kết hợp BM25 (tìm kiếm dựa trên từ khóa) với mô hình ngôn ngữ (tìm kiếm ngữ nghĩa), giúp tìm được kết quả chính xác ngay cả khi người dùng không dùng đúng từ khóa. Đặc biệt, Cherche hỗ trợ batch computation, rất thích hợp cho các ứng dụng cần xử lý lượng lớn dữ liệu như hệ thống kiến thức doanh nghiệp, công cụ tìm kiếm tài liệu nội bộ, hoặc công cụ hỗ trợ trả lời câu hỏi dựa trên tài liệu.


#NeuralSearch #Python #MachineLearning #SearchEngine #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryPython
neuml/txtai

💡 All-in-one AI framework for semantic search, LLM orchestration and language model workflows

13.0k
Oct 26, 2026
RepositoryPython
PaddlePaddle/PaddleNLP

Easy-to-use and powerful LLM and SLM library with awesome model zoo.

13.0k
May 23, 2026
RepositoryPython
embeddings-benchmark/mteb

MTEB: State-of-the-art evaluation of embeddings across languages and modalities

3.5k
Oct 20, 2026
RepositoryPython
DataScienceUIBK/Rankify

🔥 Rankify: A Comprehensive Python Toolkit for Retrieval, Re-Ranking, and Retrieval-Augmented Generation 🔥. Our toolkit integrates 40 pre-retrieved benchmark datasets and supports 7+ retrieval techniques, 24+ state-of-the-art Reranking models, and multiple RAG methods.

685
Sep 7, 2026
RepositoryPython
huggingface/transformers

🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both inference and training.

168.0k
Oct 23, 2026
RepositoryJavaScript
nextapps-de/flexsearch

Next-generation full-text search library for Browser and Node.js

13.8k
Jun 28, 2026
RepositoryC++
manticoresoftware/manticoresearch

Open-source search database for full-text, vector, and hybrid search with real-time indexing and SQL.

12.1k
Oct 20, 2026
Modelquestion-answering
deepset/roberta-base-squad2

roberta-base for Extractive QA This is the roberta-base(https://huggingface.co/roberta-base) model, fine-tuned using the SQuAD2.0(https://huggingface.co/datasets/squadv2) dataset. It's been trained on question-answer pairs, including unanswerable qu...

♥0
484.4k
Sep 24, 2024
Modelquestion-answering
distilbert/distilbert-base-cased-distilled-squad

DistilBERT base cased distilled SQuAD Table of Contents - Model Details(model-details) - How To Get Started With the Model(how-to-get-started-with-the-model) - Uses(uses) - Risks, Limitations and Biases(risks-limitations-and-biases) - Training(train...

♥0
174.6k
May 6, 2024