π€ A specialized library for integrating context-free grammars (CFG) in EBNF with the Hugging Face Transformers
β139Jan 13, 2026Updated 8 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:
- β58Mar 7, 2025Updated last year
- A curated list of papers related to constrained decoding of LLM, along with their relevant code and resources.β369Jul 27, 2026Updated last month
- Efficient and general syntactical decoding for Large Language Modelsβ339Jan 19, 2026Updated 8 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 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.
- β69Jan 26, 2026Updated 7 months ago
- β19Sep 16, 2026Updated last week
- Use context-free grammars with an LLMβ176Mar 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.β17Mar 2, 2026Updated 6 months ago
- oobabooga extension - Experimental sampler to make LLMs more creativeβ23Aug 2, 2023Updated 3 years ago
- A guide to structured generation using constrained decodingβ18Jun 9, 2024Updated 2 years ago
- Benchmark structured generation librariesβ31Oct 25, 2024Updated last year
- Reproduction Package for the paper "Type-Constrained Code Generation with Language Models" [PLDI 2025]β103Mar 11, 2026Updated 6 months 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.
- 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).β67May 31, 2024Updated 2 years ago
- Syntax Error-Free and Generalizable Tool Use for LLMs via Finite-State Decodingβ31Jan 28, 2024Updated 2 years ago
- PICARD - Parsing Incrementally for Constrained Auto-Regressive Decoding from Language Models. PICARD is a ServiceNow Research project thaβ¦β377Oct 18, 2023Updated 2 years ago
- An extension to Oobabooga to add a simple memory function for chatβ25Jun 5, 2023Updated 3 years ago
- Mathematical terms, definitions, and propositions in as many languages as possibleβ25Updated this week
- f-PO: Generalizing Preference Optimization with f-divergence Minimizationβ14Apr 2, 2025Updated last year
- LLM sampling method for enforcing syntax adherence in generated outputβ25May 31, 2023Updated 3 years ago
- UArizona DataLab Workshopsβ10Aug 8, 2025Updated 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.
- Tools and Utils for Experiments (TUX)β17Jan 28, 2025Updated last year
- A flat container abstraction for Rustβ17Nov 24, 2025Updated 10 months ago
- Easy bindings between Lean and Python.β35Aug 10, 2026Updated last month
- Allows to check regexes for overlaps. Based on greenery by @qntm.β58Jun 5, 2024Updated 2 years ago
- Inside-Outside PCFG Training Toolβ12Mar 29, 2016Updated 10 years ago
- ChatGPT CSS styleβ14Apr 28, 2024Updated 2 years 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
- Fused KL divergence from hidden states for knowledge distillationβ22Apr 28, 2026Updated 4 months ago
- A deprecated equality saturation tactic for Lean based on egg.β87Jul 29, 2026Updated last month
- 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.
- Utilities for efficient fine-tuning, inference and evaluation of code generation modelsβ21Oct 3, 2023Updated 2 years ago
- A python library to manipulate formal languages and various automataβ63Aug 7, 2026Updated last month
- PC-miner tool for program chairsβ30Dec 18, 2025Updated 9 months ago
- Controlled text generation with programmable constraintsβ190Updated this week
- Lean course materials for Brown CS 22, Spring 2023β20Nov 20, 2023Updated 2 years ago
- Large object allocator for Rustβ22Sep 14, 2026Updated last week
- 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