π€ A specialized library for integrating context-free grammars (CFG) in EBNF with the Hugging Face Transformers
β140Jan 13, 2026Updated 9 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
- β10Mar 1, 2025Updated last year
- A curated list of papers related to constrained decoding of LLM, along with their relevant code and resources.β371Jul 27, 2026Updated 2 months ago
- Efficient and general syntactical decoding for Large Language Modelsβ340Jan 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
- 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.
- Structured Generation Evalsβ14Sep 25, 2024Updated 2 years ago
- β68Jan 26, 2026Updated 8 months 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 7 months ago
- Incremental Python parser for constrained generation of code by LLMs.β19Sep 18, 2024Updated 2 years ago
- Generate sentences from a probabilistic context-free grammar.β17Nov 8, 2024Updated last year
- oobabooga extension - Experimental sampler to make LLMs more creativeβ23Aug 2, 2023Updated 3 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.β237Jun 7, 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.
- Reproduction Package for the paper "Type-Constrained Code Generation with Language Models" [PLDI 2025]β104Mar 11, 2026Updated 7 months ago
- Grammar Prompting for Domain-Specific Language Generation with Large Language Modelsβ78Nov 13, 2023Updated 2 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 last year
- β22Nov 19, 2023Updated 2 years ago
- Syntax Error-Free and Generalizable Tool Use for LLMs via Finite-State Decodingβ31Jan 28, 2024Updated 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β25Sep 30, 2026Updated 2 weeks ago
- The Energy Transformer block, in JAXβ68Dec 14, 2023Updated 2 years ago
- A Parallel Framework for Bayesian Learningβ14Aug 2, 2021Updated 5 years ago
- 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.
- β16Mar 14, 2024Updated 2 years ago
- [ICLR 2025] Permute-and-Flip: An optimally robust and watermarkable decoder for LLMsβ19Mar 20, 2025Updated last year
- LLM sampling method for enforcing syntax adherence in generated outputβ25May 31, 2023Updated 3 years ago
- Tools and Utils for Experiments (TUX)β17Jan 28, 2025Updated last year
- High-Performance LLM Fine-Tuning Framework - 3.51x faster than Unslothβ18Jan 6, 2026Updated 9 months ago
- A flat container abstraction for Rustβ17Nov 24, 2025Updated 10 months ago
- Allows to check regexes for overlaps. Based on greenery by @qntm.β58Jun 5, 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
- An enchanced useState hook which keeps track of the states history, allowing you to undo and redo states.β16Apr 20, 2022Updated 4 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.
- [ICML'24] Official PyTorch Implementation of TimeX++β31Nov 6, 2024Updated last year
- Iterate on LLM-based structured generation forward and backwardβ24Mar 20, 2025Updated last year
- 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 4 years ago
- A deprecated equality saturation tactic for Lean based on egg.β87Oct 8, 2026Updated last week
- Utilities for efficient fine-tuning, inference and evaluation of code generation modelsβ21Oct 3, 2023Updated 3 years ago
- Operating Systems Semester 2 coursework covering Linux, shell scripting, process management, concurrency, and synchronization.β21Jun 11, 2026Updated 4 months ago
- A python library to manipulate formal languages and various automataβ64Aug 7, 2026Updated 2 months ago