π€ A specialized library for integrating context-free grammars (CFG) in EBNF with the Hugging Face Transformers
β134Jan 13, 2026Updated 2 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:
- β50Mar 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.β331Jan 22, 2026Updated 2 months ago
- Efficient and general syntactical decoding for Large Language Modelsβ330Jan 19, 2026Updated 2 months ago
- [NeurIPS'24] Grammar-Aligned Decoding: An algorithm to constrain LLMs' outputs without distorting its original distributionβ26Feb 10, 2025Updated last year
- Virtual machines for every use case on DigitalOcean β’ AdGet dependable uptime with 99.99% SLA, simple security tools, and predictable monthly pricing with DigitalOcean's virtual machines, called Droplets.
- Structured Generation Evalsβ14Sep 25, 2024Updated last year
- A guide to structured generation using constrained decodingβ14Jun 9, 2024Updated last year
- Use context-free grammars with an LLMβ174Mar 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 weeks ago
- Incremental Python parser for constrained generation of code by LLMs.β18Sep 18, 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.β234Jun 7, 2025Updated 9 months ago
- [WIP] AI that "reads" live TV and writes it as a movie script in real-time.β23Jun 3, 2025Updated 9 months ago
- NordVPN Special Discount Offer β’ AdSave on top-rated NordVPN 1 or 2-year plans with secure browsing, privacy protection, and support for for all major platforms.
- Grammar Prompting for Domain-Specific Language Generation with Large Language Modelsβ75Nov 13, 2023Updated 2 years ago
- Experiments with reasoning models, training techniques, papersβ27Updated this week
- Code to reproduce experiments in the paper "Constrained Language Models Yield Few-Shot Semantic Parsers" (EMNLP 2021).β68May 31, 2024Updated last year
- Reproduction Package for the paper "Type-Constrained Code Generation with Language Models" [PLDI 2025]β82Mar 11, 2026Updated 2 weeks ago
- β20Nov 19, 2023Updated 2 years ago
- [ICML'23] Official PyTorch Implementation of NA2Q, and a comprehensive benchmark based on pymarlβ21Jan 14, 2024Updated 2 years ago
- PICARD - Parsing Incrementally for Constrained Auto-Regressive Decoding from Language Models. PICARD is a ServiceNow Research project thaβ¦β378Oct 18, 2023Updated 2 years ago
- An extension to Oobabooga to add a simple memory function for chatβ25Jun 5, 2023Updated 2 years ago
- β16Mar 14, 2024Updated 2 years ago
- DigitalOcean Gradient AI Platform β’ AdBuild production-ready AI agents using customizable tools or access multiple LLMs through a single endpoint. Create custom knowledge bases or connect external data.
- LLM sampling method for enforcing syntax adherence in generated outputβ25May 31, 2023Updated 2 years ago
- β22Nov 23, 2023Updated 2 years ago
- [ICLR 2025] Permute-and-Flip: An optimally robust and watermarkable decoder for LLMsβ19Mar 20, 2025Updated last year
- The Energy Transformer block, in JAXβ64Dec 14, 2023Updated 2 years ago
- Converts JSON-Schema to GBNF grammar to use with llama.cppβ55Nov 27, 2023Updated 2 years ago
- Plug n Play GBNF Compiler for llama.cppβ28Nov 8, 2023Updated 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
- A python library to manipulate formal languages and various automataβ59Sep 4, 2025Updated 6 months ago
- β12Mar 31, 2020Updated 5 years ago
- GPU virtual machines on DigitalOcean Gradient AI β’ AdGet to production fast with high-performance AMD and NVIDIA GPUs you can spin up in seconds. The definition of operational simplicity.
- Utilities for efficient fine-tuning, inference and evaluation of code generation modelsβ21Oct 3, 2023Updated 2 years ago
- [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 3 months ago
- β19Dec 12, 2023Updated 2 years ago
- Code for "The Whole Truth and Nothing But the Truth: Faithful and Controllable Dialogue Response Generation with Dataflow Transduction anβ¦β11Apr 30, 2024Updated last year
- Datasets for training and evaluating Ancient Greek sentence embedding modelsβ17Jul 12, 2024Updated last year
- A combination of Oobabooga's fork and the main cuda branch of GPTQ-for-LLaMa in a package format.β23Oct 6, 2023Updated 2 years ago