π€ 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:
- β55Mar 7, 2025Updated last year
- β10Mar 1, 2025Updated last year
- A curated list of papers related to constrained decoding of LLM, along with their relevant code and resources.β350Jan 22, 2026Updated 4 months ago
- Efficient and general syntactical decoding for Large Language Modelsβ335Jan 19, 2026Updated 4 months ago
- Structured Generation Evalsβ14Sep 25, 2024Updated last year
- 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.
- A guide to structured generation using constrained decodingβ18Jun 9, 2024Updated 2 years ago
- β13Oct 30, 2023Updated 2 years ago
- Use context-free grammars with an LLMβ175Mar 21, 2024Updated 2 years ago
- Generate interleaved text and image content in a structured format you can directly pass to downstream APIs.β29Oct 18, 2024Updated last year
- ISLearn is a tool for mining constraints on string inputs based on context-free grammars and the ISLa specification language.β16Mar 2, 2026Updated 3 months ago
- β22Nov 23, 2023Updated 2 years ago
- Generate sentences from a probabilistic context-free grammar.β17Nov 8, 2024Updated last year
- Benchmark structured generation librariesβ31Oct 25, 2024Updated last year
- Formatron empowers everyone to control the format of language models' output with minimal overhead.β237Jun 7, 2025Updated last year
- 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.
- [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
- Experiments with reasoning models, training techniques, papersβ30Jun 9, 2026Updated last week
- Web page with political compass quiz results for open LLMsβ38Jan 31, 2024Updated 2 years ago
- Code to reproduce experiments in the paper "Constrained Language Models Yield Few-Shot Semantic Parsers" (EMNLP 2021).β67May 31, 2024Updated 2 years ago
- List of papers and other resources at the intersection of Category Theory and NLP.β57Feb 22, 2023Updated 3 years ago
- β21Nov 19, 2023Updated 2 years ago
- f-PO: Generalizing Preference Optimization with f-divergence Minimizationβ14Apr 2, 2025Updated last year
- An extension to Oobabooga to add a simple memory function for chatβ25Jun 5, 2023Updated 3 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.
- 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
- Refinery: an efficient graph solver for generating well-formed modelsβ20Jun 3, 2026Updated last week
- A formal specification of the Yul IR semantics in the Lean proof assistant.β14Jun 20, 2025Updated 11 months ago
- Fast and memory-efficient exact attention - Windows wheelsβ32Mar 3, 2024Updated 2 years ago
- 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β32Nov 8, 2023Updated 2 years ago
- Lean course materials for Brown CS 22, Spring 2023β20Nov 20, 2023Updated 2 years ago
- Utilities for efficient fine-tuning, inference and evaluation of code generation modelsβ21Oct 3, 2023Updated 2 years 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.
- [ICLR 2025] Linear Combination of Saved Checkpoints Makes Consistency and Diffusion Models Betterβ16Feb 15, 2025Updated last year
- PC-miner tool for program chairsβ29Dec 18, 2025Updated 5 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
- Datasets for training and evaluating Ancient Greek sentence embedding modelsβ17Jul 12, 2024Updated last year
- GisPy: A Tool for Measuring Gist Inference Score in Text https://aclanthology.org/2022.wnu-1.5/β13Jul 1, 2024Updated last year
- Official implementation of "TabEBM: A Tabular Data Augmentation Method with Class-Specific Energy-Based Models", NeurIPS 2024β25Aug 19, 2025Updated 9 months ago
- Neural network sequence labeling modelβ11Dec 28, 2019Updated 6 years ago