Explore the research collection
2 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.