π€ A specialized library for integrating context-free grammars (CFG) in EBNF with the Hugging Face Transformers
β138Jan 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:
- β52Mar 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.β347Jan 22, 2026Updated 3 months ago
- Efficient and general syntactical decoding for Large Language Modelsβ333Jan 19, 2026Updated 3 months ago
- [NeurIPS'24] Grammar-Aligned Decoding: An algorithm to constrain LLMs' outputs without distorting its original distributionβ28Feb 10, 2025Updated last year
- 1-Click AI Models by DigitalOcean Gradient β’ AdDeploy popular AI models on DigitalOcean Gradient GPU virtual machines with just a single click. Zero configuration with optimized deployments.
- Structured Generation Evalsβ14Sep 25, 2024Updated last year
- β13Oct 30, 2023Updated 2 years ago
- 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 2 months ago
- Incremental Python parser for constrained generation of code by LLMs.β18Sep 18, 2024Updated last year
- β22Nov 23, 2023Updated 2 years ago
- oobabooga extension - Experimental sampler to make LLMs more creativeβ23Aug 2, 2023Updated 2 years ago
- Generate sentences from a probabilistic context-free grammar.β17Nov 8, 2024Updated last year
- Open source password manager - Proton Pass β’ AdSecurely store, share, and autofill your credentials with Proton Pass, the end-to-end encrypted password manager trusted by millions.
- 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 11 months ago
- Grammar Prompting for Domain-Specific Language Generation with Large Language Modelsβ78Nov 13, 2023Updated 2 years ago
- Code to reproduce experiments in the paper "Constrained Language Models Yield Few-Shot Semantic Parsers" (EMNLP 2021).β68May 31, 2024Updated last year
- β21Nov 19, 2023Updated 2 years ago
- Reproduction Package for the paper "Type-Constrained Code Generation with Language Models" [PLDI 2025]β88Mar 11, 2026Updated last month
- Syntax Error-Free and Generalizable Tool Use for LLMs via Finite-State Decodingβ30Jan 28, 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
- Bare Metal GPUs on DigitalOcean Gradient AI β’ AdPurpose-built for serious AI teams training foundational models, running large-scale inference, and pushing the boundaries of what's possible.
- β16Mar 14, 2024Updated 2 years ago
- LLM sampling method for enforcing syntax adherence in generated outputβ25May 31, 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
- Refinery: an efficient graph solver for generating well-formed modelsβ19Apr 14, 2026Updated 3 weeks ago
- ChatGPT CSS styleβ14Apr 28, 2024Updated 2 years ago
- [ICML'24] Official PyTorch Implementation of TimeX++β31Nov 6, 2024Updated last year
- Lean4 Tutorial/Notes on creating FFI bindings with GLFW as an example.β40Aug 25, 2025Updated 8 months ago
- This repository contains a Python implementation that allows you to use gorilla-llm/gorilla-openfunctions-v2 LLM to perform function callβ¦β17Apr 7, 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.
- Super-fast Structured Outputsβ752Apr 29, 2026Updated last week
- SHAMan is an out-of-the-box Web application to perform black-box auto-tuning of custom computer components running on a distributed systeβ¦β11Sep 30, 2022Updated 3 years ago
- A collection of workload implementations for the LDBC SNB benchmark driverβ20Jun 7, 2021Updated 4 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β60Sep 4, 2025Updated 8 months ago
- Lean course materials for Brown CS 22, Spring 2023β20Nov 20, 2023Updated 2 years ago
- [ICLR 2025] Linear Combination of Saved Checkpoints Makes Consistency and Diffusion Models Betterβ16Feb 15, 2025Updated last year