Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

I Forgot the Words, Not the Memory: Building Ghostlight

说明与用途

用户可以回忆起某个时刻,但忘记确切的文字,导致难以从记忆档案中检索原始文本。Ghostlight 允许用户输入模糊查询,将其嵌入并在浏览器中本地找到最相似的已存文本。

问题

Users can remember a moment but forget the exact words, making it hard to retrieve the original text from a memory archive.

结果

In a Chromium test on 1 Nov 2026, the browser‑based model returned relevant passages for fuzzy queries with similarity scores above 0.25, and clearly labeled weak matches. The system operates offline after the initial 23 MB model download.

工作流

  • 1. User adds a memory passage to the archive. 2. The app converts the passage to an embedding using all‑MiniLM‑L6‑v2 (quantized via Xenova ONNX) and caches it. 3. User enters a search phrase. 4. The phrase is embedded with the same model. 5. Cosine similarity between query and cached embeddings is computed. 6. Results are ranked and displayed with the original text and similarity score.
  • 7. Users can export the archive as JSON or import a JSON file to transfer memories.
  • 8. Optional localStorage persists notes across sessions; otherwise data is session‑only.

证据

Ghostlight found it.

来源

The first visit downloads roughly 23 MB of model weights plus runtime files.

来源

The retrieval flow is small enough to inspect: 1. Convert each saved passage into an embedding… 4. Compare those vectors with cosine similarity and rank the passages.

来源

The worker keeps model loading and inference away from the interface thread.

来源

The model earns its place in the app. “Hummed songs” and “music” can be close in its embedding space; exact string matching alone cannot make that connection.

来源

  • 记录日期: 2026-11-01T11:44:08.426Z