Install requirements with:
pip install -r requirements.txt
The data for the search engine has to be in a data folder. Copy the data from e.g. final/cutoff into a data folder which should look like:
Modern-Search-Engines-Lecture-
└── data
├── bm25_state.json
├── clustering_embeddings.pkl
├── embeddings.pkl
└── indexed_docs.jsonl
Start web app with (arguments are optional):
python -m project [--host 127.0.0.1] [--port 8080] [--no_logging]
Group Project Rules.ipynb: Notebook with cells for crawler, indexing, calculating embeddings, creating evaluation txtCrawler.ipynb: Notebook for the crawler and crawler debuggingClustering.ipynb: Notebook for testing different clustering methodes to identify the topicsproject/search.py: MainSearchEngineclass that loads all embeddings and can execute searches and clusteringproject/crawler: Folder for all crawler files. Implements the crawler incrawler.pyproject/retriever: Folder for all retriever files. Implements the modelsSiglipStyleModelandColSentenceModelinmodel.pyproject/frontend: Folder for all fronted files. The frontend uses theSearchEngineclass to connect to the backend inpage.py
- Branch Benamung: Erster Buchstabe des Eigenen namens + branch namen
- Requirements: nutzung einer zentralen requirements.txt, die auf Anaconda ausgeleg ist
- Crawler
- Kilian, Simon
- Ranker
- Simon, Jan
- Presentation
- Kilian, Carina, Martin
- Creative
- Carina, Jan, Martin