Views
No views yet
effect@4.0.0-beta.80) TypeScript. Built $0-local on a single Apple M5 Max (48 GB):
continued-pretraining → instruction SFT (LoRA), then fused into the 4-bit base in native MLX format.
This is the exact artifact our serving stack runs.Why this exists:effect@4.0.0-beta.80is a beta that postdates the pretraining of essentially every LLM — its exact API surface is absent from base models, so they hallucinate v3-isms. That sparsity is the whole point: this is a small, honest domain expert for a library the big models haven't seen.
Honest framing first. These are the fine-tuned weights. On a frozen, real-tsc --strictcompile gate (24 held-out tasks) they are a genuine but limited expert: single-greedy + RAG ≈ 9.7/24 mean (best checkpoint 13/24). The headline ~23/24 number is the full serving pipeline (best-of-16 sampling + retrieval + a deterministic import-resolver + atscverifier), not the bare weights — see How to actually get 23/24. Treat this as a research artifact, strongest when paired with retrieval and a compiler-in-the-loop.
mlx-community/Qwen3.6-35B-A3B-4bit — the text tower of the Qwen3.6 hybrid GatedDeltaNet MoE
(qwen3_5_moe, 35.9B total / ~3B active). Vision tower dropped (text code model).v7s43_i200): CPT on a curated Effect-v4 source corpus (effect-smol,
EffectPatterns, examples) → instruction SFT (rank-8 LoRA, 423 gate-validated instruction→code pairs,
every target compiled under the exact tsc gate).mlx_lm on Apple Silicon — no conversion, no dequantization.Format note (MLX vs GGUF): the model was trained and is served in MLX, so this repo is the native, canonical release. A portable llama.cpp GGUF build is now also available (Q4_K_M + Q8_0, smoke-verified) atjrad123777/effect-qwen36-35b-gguf— use that for CPU / non-Apple inference.
tsc --strict, frozen 24-task held-out benchmark)| config | compile@24 |
|---|---|
| base model (no fine-tune) | 3 / 24 |
| this model, single-greedy + RAG (flat mean) | 9.67 / 24 |
| this model, best checkpoint single point | 13 / 24 |
serve/serve.py) wraps these weights with:tsc is a perfect verifier; keep any sample that compiles,TS2307/TS2304 namespace imports),tsc-feedback repair.1pip install mlx-lm
2
3# one-shot generation
4python -c "
5from mlx_lm import load, generate
6model, tok = load('jrad123777/effect-qwen36-35b-mlx')
7prompt = 'Write Effect v4 code: a Schema.Struct for a User with branded UserId, decoded with Schema.decodeUnknownEffect.'
8msgs = [{'role':'user','content':prompt}]
9text = tok.apply_chat_template(msgs, add_generation_prompt=True, enable_thinking=False)
10print(generate(model, tok, text, max_tokens=512, verbose=True))
11"
12
13# or an OpenAI-compatible server
14mlx_lm.server --model jrad123777/effect-qwen36-35b-mlx --port 8080tsc.tsc gate.effect@4.0.0-beta.80 only; later betas may shift APIs.enable_thinking=False) — it's a direct code generator.jrad123777/effect-qwen36-35b-v3-gguf (an earlier, weaker SFT checkpoint)..d.ts with tsc as the only arbiter, and
documented honestly.