Shelf: sorting Downloads offline with a 23 MB open model
说明与用途
Shelf 使用 23 MB 的句子嵌入模型,离线自动整理 Downloads 文件夹,并通过预览和撤销日志确保安全。
问题
Users struggle to organize cluttered Downloads folders, especially plain‑text files whose content does not indicate a target folder.
结果
Shelf automatically organizes Downloads offline, using a 23 MB sentence‑embedding model to classify plain‑text files, while ensuring safety via dry runs, hard‑link moves, and an undo log.
工作流
- 1. Run
shelfon the Downloads folder to generate a dry‑run plan. 2. Review the plan and the model’s decision rationale. 3. Executeshelf --applyto move files. 4. Useshelf undo <folder>to revert the last run if needed.
证据
Shelf is a command-line tool that tidies a messy folder. Point it at your Downloads folder and it shows you where every top-level file would go.
The file’s text is embedded once, and each folder is scored by its best-matching prototype. The top folder wins only if it beats the runner-up by at least 0.05 cosine similarity.
Dry run is the default. Nothing moves without --apply.
On ten synthetic text files that I wrote for this test, the real model got 7 right. Two went to Unsorted and one was wrong.
- 记录日期: 2026-10-21T18:11:20.670Z