-
Notifications
You must be signed in to change notification settings - Fork 35
/
Makefile
39 lines (27 loc) · 1.09 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
install-python:
uv python install
install:
uv venv
. .venv/bin/activate
uv pip install --all-extras --requirement pyproject.toml
start-ui:
RANKING_MODEL_TYPE=ranking uv run python -m streamlit run streamlit_app.py
start-ui-llm-ranking:
RANKING_MODEL_TYPE=llmranking uv run python -m streamlit run streamlit_app.py
clean-hopsworks-resources:
uv run python tools/clean_hopsworks_resources.py
all: feature-engineering train-retrieval train-ranking create-embeddings create-deployments schedule-materialization-jobs
feature-engineering:
uv run ipython notebooks/1_fp_computing_features.ipynb
train-retrieval:
uv run ipython notebooks/2_tp_training_retrieval_model.ipynb
train-ranking:
uv run ipython notebooks/3_tp_training_ranking_model.ipynb
create-embeddings:
uv run ipython notebooks/4_ip_computing_item_embeddings.ipynb
create-deployments:
uv run ipython notebooks/5_ip_creating_deployments.ipynb
schedule-materialization-jobs:
uv run ipython notebooks/6_scheduling_materialization_jobs.ipynb
create-deployments-llm-ranking:
uv run ipython notebooks/7_ip_creating_deployments_llm_ranking.ipynb