Spaces:
Runtime error
Runtime error
A newer version of the Gradio SDK is available:
5.49.1
metadata
title: SBERT + FAISS Semantic Search
emoji: π
colorFrom: blue
colorTo: green
sdk: gradio
sdk_version: 5.45.0
app_file: app.py
pinned: false
SBERT + FAISS Semantic Search + Evaluation Metrics
This Hugging Face Space hosts a semantic search system built with:
- Sentence-BERT (SBERT) for embeddings
- FAISS for fast vector search
- MS MARCO v1.1 dataset (10,000 passages subset)
- Gradio for the interactive interface
πΉ Features
- Enter a query to retrieve the Top-10 most similar passages.
- Computes true IR metrics when the query matches one in MS MARCO validation set:
- Precision@10
- Recall@10
- F1-score
- Mean Reciprocal Rank (MRR)
- Normalized Discounted Cumulative Gain (nDCG@10)
πΉ How to Use
- Type a query into the input box.
- Press Submit.
- View:
- Top-10 retrieved passages with similarity scores
- Evaluation metrics if the query exists in the validation set
πΉ Tech Stack
- Embeddings:
sentence-transformers/all-mpnet-base-v2 - Indexing: FAISS (L2 similarity)
- Dataset: MS MARCO v1.1 (first 10,000 passages)
- Interface: Gradio
πΉ Citation
If you use this system in research, please cite:
πΉ Author
Built for a research project on user-centered evaluation of semantic search systems.