Skip to content

About

亚微秒级 System-1 模型,准确率服从高斯分布

Resources

Stars

32 stars

Watchers

0 watching

Forks

Repository files navigation

Jev Quantum

中文 | English

cover

亚微秒级 System −1 模型,准确率服从高斯分布。

Jev Quantum 是兼容 Jev 协议的随机基线。它讲 TypeSafe System One 的话(noul / choice / score),不读提示词,答案来自高速伪随机数。拿它当 dummy、mock,或 Agent 路由评测的下界。

它不是语义模型。随机数也不是密码学安全的。

一分钟上手

cargo run --release -p jev-quantum-server
curl http://127.0.0.1:3000/v1/systemone \
  -H "Content-Type: application/json" \
  -d "{\"model\":\"jev-quantum-latest\",\"state\":\"I was charged twice.\",\"questions\":{\"refund\":{\"type\":\"noul\",\"instructions\":\"Refund?\"}}}"

打开 http://127.0.0.1:3000/demo/,导入一份 *.summary.json 报告。页面不会调用任何 API。

和 TypeSafe Jev 对比

cp .env.example .env
# 填写 AI_GATEWAY_API_KEY
cargo run --release -p jev-quantum-bench -- latency --targets local,jev --requests 100
cargo run --release -p jev-quantum-bench -- maze-record --targets local,jev --width 10 --height 10 --max-steps 200 --output reports/

官方接口形态:

curl https://api.typesafe.ai/v1/systemone \
  -H "Authorization: Bearer $AI_GATEWAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d "{\"model\":\"jev-latest\",\"state\":\"I was charged twice.\",\"questions\":{\"refund\":{\"type\":\"noul\"}}}"

数字怎么读

数字 含义
Core bench 进程内 PRNG + 映射
/metrics 服务端 handler 耗时
Bench 报告 客户端观测到的 HTTP 延迟

默认 direct 模式。buffered 使用 worker 本地随机池,后台 SIMD 补水,同步路径可降级。两种口号都先跑完再信。

文档

许可

MIT

About

亚微秒级 System-1 模型,准确率服从高斯分布

Resources

Stars

32 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages