← Berk Gokden's projects
Repo

llama-constrain

@bgokdenby Berk Gokden · Berk Gokden

A constrained generation library for llama.cpp that prevents malformed outputs. Features include XML/JSON tag completion, multi-step reasoning support, and an ultra-simple API. Built on llama.cpp's sampler architecture for reliable token filtering.

Built withC++constrained-generationcppllama-cppllmllm-inferencsampler

Comments · 0

No comments yet. Tried it? Tell Berk what worked, what didn't, or what you'd want next.
Sign in to comment

More from members

All projects

See what other members are building and what each project is looking for.