π€ A specialized library for integrating context-free grammars (CFG) in EBNF with the Hugging Face Transformers
β138Jan 13, 2026Updated 5 months ago
Alternatives and similar repositories for transformers-CFG
Users that are interested in transformers-CFG are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- β56Mar 7, 2025Updated last year
- A curated list of papers related to constrained decoding of LLM, along with their relevant code and resources.β358Jun 16, 2026Updated 2 weeks ago
- Efficient and general syntactical decoding for Large Language Modelsβ337Jan 19, 2026Updated 5 months ago
- Structured Generation Evalsβ14Sep 25, 2024Updated last year
- A guide to structured generation using constrained decodingβ18Jun 9, 2024Updated 2 years ago
- Deploy to Railway using AI coding agents - Free Credits Offer β’ AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- β13Oct 30, 2023Updated 2 years ago
- Use context-free grammars with an LLMβ175Mar 21, 2024Updated 2 years ago
- Incremental Python parser for constrained generation of code by LLMs.β18Sep 18, 2024Updated last year
- oobabooga extension - Experimental sampler to make LLMs more creativeβ23Aug 2, 2023Updated 2 years ago
- Benchmark structured generation librariesβ31Oct 25, 2024Updated last year
- Formatron empowers everyone to control the format of language models' output with minimal overhead.β238Jun 7, 2025Updated last year
- [WIP] AI that "reads" live TV and writes it as a movie script in real-time.β22Jun 3, 2025Updated last year
- Grammar Prompting for Domain-Specific Language Generation with Large Language Modelsβ78Nov 13, 2023Updated 2 years ago
- Web page with political compass quiz results for open LLMsβ38Jan 31, 2024Updated 2 years ago
- Managed hosting for WordPress and PHP on Cloudways β’ AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- Code to reproduce experiments in the paper "Constrained Language Models Yield Few-Shot Semantic Parsers" (EMNLP 2021).β67May 31, 2024Updated 2 years ago
- Reproduction Package for the paper "Type-Constrained Code Generation with Language Models" [PLDI 2025]β97Mar 11, 2026Updated 3 months ago
- Syntax Error-Free and Generalizable Tool Use for LLMs via Finite-State Decodingβ31Jan 28, 2024Updated 2 years ago
- [ICML'23] Official PyTorch Implementation of NA2Q, and a comprehensive benchmark based on pymarlβ24Jan 14, 2024Updated 2 years ago
- LLM sampling method for enforcing syntax adherence in generated outputβ25May 31, 2023Updated 3 years ago
- [ICLR 2025] Permute-and-Flip: An optimally robust and watermarkable decoder for LLMsβ19Mar 20, 2025Updated last year
- Converts JSON-Schema to GBNF grammar to use with llama.cppβ56Nov 27, 2023Updated 2 years ago
- ChatGPT CSS styleβ14Apr 28, 2024Updated 2 years ago
- Lean4 Tutorial/Notes on creating FFI bindings with GLFW as an example.β42Aug 25, 2025Updated 10 months ago
- Deploy open-source AI quickly and easily - Special Bonus Offer β’ AdRunpod Hub is built for open source. One-click deployment and autoscaling endpoints without provisioning your own infrastructure.
- Super-fast Structured Outputsβ803Jun 25, 2026Updated last week
- Context free grammar to pushdown automaton convertor, along with string parser - Theory of Languages and Machines project, spring 2020β13Jan 18, 2022Updated 4 years ago
- Plug n Play GBNF Compiler for llama.cppβ33Nov 8, 2023Updated 2 years ago
- A python library to manipulate formal languages and various automataβ62Sep 4, 2025Updated 10 months ago
- PC-miner tool for program chairsβ29Dec 18, 2025Updated 6 months ago
- Code for "The Whole Truth and Nothing But the Truth: Faithful and Controllable Dialogue Response Generation with Dataflow Transduction anβ¦β10Apr 30, 2024Updated 2 years ago
- Large object allocator for Rustβ22Jun 22, 2026Updated 2 weeks ago
- β20Mar 22, 2024Updated 2 years ago
- Neural network sequence labeling modelβ11Dec 28, 2019Updated 6 years ago
- Deploy to Railway using AI coding agents - Free Credits Offer β’ AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- [ICLR 2025] TidalDecode: A Fast and Accurate LLM Decoding with Position Persistent Sparse Attentionβ54Aug 6, 2025Updated 11 months ago
- This is the official code implementation of Bongard-OpenWorld (ICLR 2024).β14Jan 6, 2025Updated last year
- Simple, boilerplate-free operations on tree shaped data types. Port of the Uniplate Haskell library into Rust.β24Mar 25, 2026Updated 3 months ago
- Official implementation of the transformer (TF) architecture suggested in a paper entitled "Looped Transformers as Programmable Computersβ¦β41Apr 8, 2023Updated 3 years ago
- β10Dec 6, 2019Updated 6 years ago
- Experimental SQL to Cypher Transpiler using jooq and cypher-dslβ28Jan 17, 2024Updated 2 years ago
- SMT-LIB benchmarks for shape computations from deep learning models in PyTorchβ18Dec 21, 2022Updated 3 years ago