offchainthoughts

Amber

offchainthoughts

Bank the expensive compute once, then carry it offline as a single file that can prove it is what it claims to be.

AI 简介

Amber 是一个用于构建可验证、离线可用的向量检索工件的工具,将语料嵌入计算结果固化为单个 `.amber` 文件,并通过密码学承诺保证其内容真实性。核心功能包括:基于 Merkle 树的完整性校验(O(n) 哈希)、子线性概率审计(O(k) 随机采样重嵌入验证)、以及对量化(int8)向量的稳定承诺,规避浮点硬件差异导致的不一致。适用于需离线部署、强可信保障的 RAG 场景,如隐私敏感环境、边缘设备或审计合规要求高的知识库分发。

Python
MIT License
180
Stars
313
Forks
1
Watchers
0
Issues

Star 增长

今日0
近 7 天0
近 30 天0
综合评分47.49
默认分支main