π€ A specialized library for integrating context-free grammars (CFG) in EBNF with the Hugging Face Transformers
β135Jan 13, 2026Updated 3 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:
- β51Mar 7, 2025Updated last year
- A curated list of papers related to constrained decoding of LLM, along with their relevant code and resources.β339Jan 22, 2026Updated 2 months ago
- Efficient and general syntactical decoding for Large Language Modelsβ331Jan 19, 2026Updated 2 months ago
- [NeurIPS'24] Grammar-Aligned Decoding: An algorithm to constrain LLMs' outputs without distorting its original distributionβ28Feb 10, 2025Updated last year
- Structured Generation Evalsβ14Sep 25, 2024Updated last year
- Serverless GPU API endpoints on Runpod - Bonus Credits β’ AdSkip the infrastructure headaches. Auto-scaling, pay-as-you-go, no-ops approach lets you focus on innovating your application.
- A guide to structured generation using constrained decodingβ14Jun 9, 2024Updated last year
- Use context-free grammars with an LLMβ173Mar 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 last month
- 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.β234Jun 7, 2025Updated 10 months ago
- Grammar Prompting for Domain-Specific Language Generation with Large Language Modelsβ78Nov 13, 2023Updated 2 years ago
- AI Agents on 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.
- β20Nov 19, 2023Updated 2 years ago
- Reproduction Package for the paper "Type-Constrained Code Generation with Language Models" [PLDI 2025]β86Mar 11, 2026Updated last month
- f-PO: Generalizing Preference Optimization with f-divergence Minimizationβ14Apr 2, 2025Updated last year
- [ICML'23] Official PyTorch Implementation of NA2Q, and a comprehensive benchmark based on pymarlβ21Jan 14, 2024Updated 2 years ago
- Syntax Error-Free and Generalizable Tool Use for LLMs via Finite-State Decodingβ29Jan 28, 2024Updated 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
- LLM sampling method for enforcing syntax adherence in generated outputβ25May 31, 2023Updated 2 years ago
- β22Nov 23, 2023Updated 2 years ago
- Deploy open-source AI quickly and easily - Bonus Offer β’ AdRunpod Hub is built for open source. One-click deployment and autoscaling endpoints without provisioning your own infrastructure.
- [ICLR 2025] Permute-and-Flip: An optimally robust and watermarkable decoder for LLMsβ19Mar 20, 2025Updated last year
- A flat container abstraction for Rustβ16Nov 24, 2025Updated 4 months ago
- ChatGPT CSS styleβ14Apr 28, 2024Updated last year
- [ICML'24] Official PyTorch Implementation of TimeX++β31Nov 6, 2024Updated last year
- Fast and memory-efficient exact attention - Windows wheelsβ33Mar 3, 2024Updated 2 years ago
- A collection of workload implementations for the LDBC SNB benchmark driverβ20Jun 7, 2021Updated 4 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
- [ICLR 2025] Linear Combination of Saved Checkpoints Makes Consistency and Diffusion Models Betterβ16Feb 15, 2025Updated last year
- 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.
- Template for Lean<->Rust FFIβ15Feb 11, 2024Updated 2 years 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
- Large object allocator for Rustβ21Mar 16, 2026Updated last month
- GisPy: A Tool for Measuring Gist Inference Score in Text https://aclanthology.org/2022.wnu-1.5/β13Jul 1, 2024Updated last year
- Neural network sequence labeling modelβ11Dec 28, 2019Updated 6 years ago
- β33Oct 7, 2023Updated 2 years ago