EmbeddingGemma 2 vs Mac Spotlight: 30/30 vs 5/30, offline on my Mac
说明与用途
EmbeddingGemma 2 在 Mac 上实现 100 % 文件搜索准确率和 RAG 回答,优于 Spotlight,并支持 94 % 的离线人脸搜索准确率。
问题
Need an offline, fast, accurate file‑search and question‑answering system on a Mac that outperforms macOS Spotlight.
结果
EmbeddingGemma 2 achieved 100 % top‑1 file retrieval, 100 % correct answers, and 94 % face‑search accuracy offline, with no cloud cost and ~34 ms per query.
工作流
- Index 62 files into 768‑dim vectors with EmbeddingGemma 2
- Store vectors in memory (numpy) or lightweight DB
- For each question: embed query, retrieve top 3 files
- Run Gemma 4 E4B on retrieved files to answer
- For face‑search: detect faces with YuNet, embed with ArcFace R50, match against user‑labeled faces
- Filter by name, rank by EmbeddingGemma 2 relevance
- Move junk photos to _Sweep/ folder
证据
EmbeddingGemma 2 found the right file 30 times out of 30 on my Mac in October 2026, offline, in about 34 ms per question.
Gemma 4 E4B answered from the files it found: 11/11, about 2 s each, nothing left the Mac.
Find anyone by name (ArcFace, 5 clicks on 1 photo) 114/121 family appearances, 0 wrong names; 118/121 after 2 more clicks.
- 记录日期: 2026-10-13T18:41:35.780Z