Semantic ifs from open models, on a 3090 at home. Independent; not affiliated with Jev or TypeSafe.
★ 4,922⑂ 357👁 14▤ 0
TA的项目
4,922
stars
+0+0+219
357
forks
14
watchers
–
prs
–
issues
0
releases
–
discussions
README
SemIf (formerly OpenJev) Semantic ifs from open models, on a 3090 at home. Independent project; not affiliated with Jev or TypeSafe. Wow! No waitlist. Run it in your browser today. Same frozen 4B model · same state · same 21 questions · measured separately, aligned at t=0 in the replay Independent research project. SemIf was formerly called OpenJev. It is not affiliated with or endorsed by TypeSafe. Jev, TypeSafe, and other names and marks are the property of their respective owners. No infringement is intended. !Some AI company asks you to join a waitlist; SemIf runs in your browser today Most agent decisions are small: route this, retry that, does the evidence support X? A chat model can answer them, but it spends time generating text that software immediately parses back into an if statement. Jev is TypeSafe's closed service for runtime-defined semantic decisions. This project reproduces that interface pattern with open models; it does not reproduce Jev's undisclosed model or training. This baseline reads typed option probabilities directly from a model. No answer sentence, JSON repair, or decoding loop. Latest changes 2026-09-22 - Added PyTorch/MPS scoring for Apple Silicon — @dp-IED in 15. - Added a Qwen3.8-27B EXL3 bridge with corrected, committed evidence — @jkyamog in 9. - Added per-workload temperature calibration and calibrated prediction outputs — @samarthpatel24 in 19. 2026-09-18 - Added MiniCPM5 2B and Qwen3.5 4B to the browser demo. - Added Unsloppify site, a switch to a conventional interface. Quick start Apple Silicon: use the native MLX backend for direct scoring, serial prefix reuse, and parallel shared-state decisions on macOS arm64. Install pip install -e '.[test,mlx]' and add --backend mlx to the scorer command. PyTorch/MPS (--device mps) is also supported for direct, serial, and shared modes — see Apple Silicon. Python 3.10+, CUDA, and a GPU that can hold a 4B BF16 model: bash python -m venv .venv . .venv/bin/activate export HF_HOME=/path/to/large-drive/huggingface pip install -e '.[test]' CPU only: the llama.cpp backend scores the same prompts from a local GGUF checkpoint with no CUDA device. Install pip install -e '.[test,llamacpp]', fetch a GGUF (for example Qwen_Qwen3.5-4B-Q4_K_M.gguf from bartowski/Qwen_Qwen3.5-4B-GGUF), and add --backend llamacpp --gguf /path/to/model.gguf; --llama-threads caps the CPU threads. Prompt construction stays on the pinned reference tokenizer, so prompt_sha256 matches the Torch backend row for row; scores carry the GGUF checksum and are conditional on the quantized weights. Direct and prefix-cached execution can have small numerical differences from different llama.cpp evaluation paths; compare decisions or probabilities with a tolerance rather than raw logits bit for bit. One loaded backend owns one stateful scoring context. For a much slower full-precision Torch reference path, explicitly pass --device cpu --dtype float32 to the standard scorer command. Run th
相关报道 (5)
blog.csdn刚刚:开源『语义 if』SemIf 冲进 GitHub 搜索前10,中文社区当天就挂出 3090 实战2026-10-0951CTO一文梳理 Jev 开源生态:Laya、Kev、SemIf 与开源替代方案2026-09-29blog.csdnSemIf 实战指南:用开放模型在本地 GPU 上实现“语义化 if“——直接从类型化选项读取概率的运行时决策方案2026-09-23noteJevが出て1週間、もう「オープン版」が出てきた。KevやSemIfを見て“文章を書かないAI”のローカル化を考える2026-09-22Pasquale PillitteriTypeSafe 的 Jev 已有开源克隆版,免费即可在 RTX 3090 上运行2026-09-21
News & coverage (5)
Hacker NewsSemIf-OpenJev▲ 2 · 0 comments · 2026-09-28noteOne week after Jev's release, an "open version" has already appeared. Thinking about localizing "non-text-generating AI" by looking at Kev and SemIf2026-09-21huggingfaceAdd JEV-CPU: CPU port of SemIf + web UI2026-09-19Amazon Web Services (AWS)Deploy decision models with llama.cpp on Amazon SageMaker AI2026-10-12Pasquale PillitteriOpen Source Clones of TypeSafe's Jev Arrive in a Week, Free on an RTX 30902026-09-21