π€ A specialized library for integrating context-free grammars (CFG) in EBNF with the Hugging Face Transformers
β140Jan 13, 2026Updated 10 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:
- β60Mar 7, 2025Updated last year
- A curated list of papers related to constrained decoding of LLM, along with their relevant code and resources.β377Jul 27, 2026Updated 3 months ago
- Efficient and general syntactical decoding for Large Language Modelsβ341Jan 19, 2026Updated 10 months ago
- β10Mar 1, 2025Updated last year
- Structured Generation Evalsβ14Sep 25, 2024Updated 2 years ago
- Wordpress hosting with auto-scaling - Free Trial Offer β’ AdFully Managed hosting for WordPress and WooCommerce businesses that need reliable, auto-scalable performance. Cloudways SafeUpdates now available.
- β68Jan 26, 2026Updated 10 months ago
- Incremental Python parser for constrained generation of code by LLMs.β19Sep 18, 2024Updated 2 years ago
- Reproduction Package for the paper "Type-Constrained Code Generation with Language Models" [PLDI 2025]β106Mar 11, 2026Updated 8 months ago
- Allows to check regexes for overlaps. Based on greenery by @qntm.β58Jun 5, 2024Updated 2 years ago
- Use context-free grammars with an LLMβ176Mar 21, 2024Updated 2 years ago
- Formatron empowers everyone to control the format of language models' output with minimal overhead.β238Jun 7, 2025Updated last year
- Qute: a dependency learning QBF solver.β18Mar 31, 2026Updated 7 months ago
- Welcoming contributions from practitioners building AI/data systems - share your real-world problems, document where current tools fail, β¦β14Sep 4, 2025Updated last year
- Generate interleaved text and image content in a structured format you can directly pass to downstream APIs.β29Oct 18, 2024Updated 2 years ago
- Deploy on Railway without the complexity - Free Credits Offer β’ AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- Iterate on LLM-based structured generation forward and backwardβ24Mar 20, 2025Updated last year
- β104Sep 28, 2026Updated last month
- Controlled text generation with programmable constraintsβ192Oct 8, 2026Updated last month
- ISLearn is a tool for mining constraints on string inputs based on context-free grammars and the ISLa specification language.β17Mar 2, 2026Updated 8 months ago
- The data and the PyTorch implementation for the models and experiments in the paper "Exploiting Asymmetry for Synthetic Training Data Genβ¦β63May 27, 2023Updated 3 years ago
- Grammar Prompting for Domain-Specific Language Generation with Large Language Modelsβ78Nov 13, 2023Updated 3 years ago
- A guide to structured generation using constrained decodingβ20Jun 9, 2024Updated 2 years ago
- A high-performance constrained decoding engine based on context free grammar in Rustβ60May 22, 2025Updated last year
- β17May 3, 2024Updated 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.
- Implementation of the Louvain and Leiden community detection algorithms.β21Dec 10, 2023Updated 2 years ago
- β22Nov 23, 2023Updated 3 years ago
- The CodeInsight dataset is designed for code generation tasks, providing developers with expert-curated examples that bridge the gap betwβ¦β15Oct 22, 2024Updated 2 years ago
- Build Agentic workflows with function calling using open LLMsβ27Nov 2, 2026Updated 3 weeks ago
- source code of NAACL2021 "PCFGs Can Do Better: Inducing Probabilistic Context-Free Grammars with Many Symbolsβ and ACL2021 main conferencβ¦β52Mar 28, 2025Updated last year
- Code to reproduce experiments in the paper "Constrained Language Models Yield Few-Shot Semantic Parsers" (EMNLP 2021).β67May 31, 2024Updated 2 years ago
- β14May 16, 2024Updated 2 years ago
- List of papers and other resources at the intersection of Category Theory and NLP.β57Feb 22, 2023Updated 3 years ago
- A unified interface for computing surprisal (log probabilities) from language models! Supports neural, symbolic, and black-box API modelsβ¦β53Oct 19, 2026Updated last month
- 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.
- β16Mar 14, 2024Updated 2 years ago
- Syntax Error-Free and Generalizable Tool Use for LLMs via Finite-State Decodingβ31Jan 28, 2024Updated 2 years ago
- The robot who refactors: /[^_^]\β11Jun 6, 2026Updated 5 months ago
- A flat container abstraction for Rustβ17Nov 24, 2025Updated last year
- LLM sampling method for enforcing syntax adherence in generated outputβ25May 31, 2023Updated 3 years ago
- β22Nov 19, 2023Updated 3 years ago
- [ICLR 2025] Permute-and-Flip: An optimally robust and watermarkable decoder for LLMsβ19Mar 20, 2025Updated last year
Are these results useful?