跳到正文
原文
Reddit r/MachineLearning· /u/gauravc2796·· 2026-10-12AI 评分56

shad0w 开源:用小型表格缓存本地大模型分类答案,微秒级响应重复请求

I built a tiny table that learns your local LLM's classification answers and serves the repeats in microseconds [D]

AI 导读

开发者发布开源项目 shad0w,置于任意 OpenAI 兼容服务(Ollama 开箱即用)之前,记录模型答案并在积累约1000条后编译成小表格,在 CPU 上以微秒级响应重复的分类问题。表格仅在留出答案上与模型一致率达 95% 以上时才作答,其余仍交给模型;项目以 Apache-2.0 协议开源,提供 Python/JS/C,还演示了从 LLM 落子中学会贪吃蛇并以每秒10步运行。

来源:Reddit r/MachineLearning · reddit.com