Explore the research collection
4 entries · Follow this search
- Code
Parallel Constrained Decision Engine (HF Space)
Gradio Space mirroring harshatheg/Qwen-2.5-1B-RLCD: side-by-side parallel constrained vs naive AR streaming, live latency timers, hallucination/omission highlighting. Same engine claims (5.6–7× on M4 Max, 100% schema validity, field-level calibrated probs). SDK surface StructuredSchema + run_parallel_generation; presets for fraud, code security, support triage, 255-way tariff.
- Model
Qwen-2.5-1B-RLCD (Parallel Constrained Decoding / MLX)
HF model repo (name contains RLCD) that ships an MLX inference engine rather than custom fine-tuned weights: loads mlx-community/Qwen2.5-1.5B-Instruct-4bit. Prefills context once, broadcasts KV-cache across schema fields, logit-slices candidate tokens per field, returns calibrated softmax probs, assembles JSON programmatically (claims 100% schema validity). Benchmarks on M4 Max vs AR JSON: ~5.6–7.0× latency (e.g. 28-field triage 1900→270 ms; 255-choice tariff 500→89 ms). Supported field types: enums ≤255 choices and booleans. Linked Space drinkmoonshine/parallel-constrained-decoding. Naming caveat: card/content describe Parallel Constrained Decoding, not Meta-style RLCD preference learning or TypeSafe RLCD training—despite the repo id.
- Model
Bonsai 27B: Full 27B-Class Reasoning in Binary and Ternary Transformer Weights — On Laptops and Phones
PrismML Bonsai 27B (announced 2026-07-14; alphaXiv whitepaper slug 2607.bonsai-27b) post-training-compresses Qwen3.6-27B into binary g128 and ternary g128 weights with group-wise FP16 scales, hybrid attention (~75% linear / 25% full), 262K context, optional 4-bit vision tower, and DSpark speculative decoding. Claimed ~3.9 GB (1-bit) / ~5.9 GB (ternary) vs ~54 GB FP16; ~11 tok/s on iPhone 17 Pro Max and tens of tok/s on Apple Silicon laptops; Apache-2.0 Hub packs (GGUF/MLX).
- Code
n8loom
Python library (mlx_lm + Transformers) that stores per-node KV-cache fragments and concatenates the ancestor path when generating, so many ToT branches can share prefix cache without duplicating the full prompt cache at each node. Core types are Heddle (a reasoning node) and Loom (chat-root Heddle); ramify/crown helpers batch- or stream-expand children. Llama-architecture only. pip install n8loom; optional FastAPI example server. CC0.