Commit History
-
Bundle MF + Two-Tower checkpoints, drop hard Drive dependency
moecr7 +1: Claude Opus 4.7 (1M context)- checkpoints/{mf_best.pt, two_tower_best.pt} ship via Git LFS (190MB total) - Dockerfile now COPYs checkpoints/ into the image - app.py: ACTIVE_MODEL env var picks mf or two_tower; auto-derives the checkpoint path. CHECKPOINT_PATH overrides explicitly. GDRIVE_CHECKPOINT_ID is now an optional fallback only used when the local path is missing. - README documents the bundled checkpoints and held-out metrics Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>45ad768 -
Dockerize rc-ranked: FastAPI service for HF Spaces
moecr7 +1: Claude Opus 4.7 (1M context)- Dockerfile (python:3.11-slim, CPU-only torch, non-root user, port 7860) - FastAPI app at recsys.serving.app with /health, /info, /recommend/{user_id}, /recommend/cold - Bootstrap downloads checkpoint from Google Drive (GDRIVE_CHECKPOINT_ID secret) then runs ensure_dataset + preprocess + leave_one_out_split before serving - README updated with HF Space metadata (sdk: docker, app_port: 7860) and configuration / endpoint docs Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>188f0cf