π€ A specialized library for integrating context-free grammars (CFG) in EBNF with the Hugging Face Transformers
β139Jan 13, 2026Updated 6 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.β362Jun 16, 2026Updated last month
- Efficient and general syntactical decoding for Large Language Modelsβ338Jan 19, 2026Updated 6 months ago
- [NeurIPS'24] Grammar-Aligned Decoding: An algorithm to constrain LLMs' outputs without distorting its original distributionβ29Feb 10, 2025Updated last year
- 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.
- Structured Generation Evalsβ14Sep 25, 2024Updated last year
- β69Jan 26, 2026Updated 6 months ago
- β19Jun 9, 2026Updated last month
- 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.β16Mar 2, 2026Updated 4 months ago
- β22Nov 23, 2023Updated 2 years ago
- Benchmark structured generation librariesβ31Oct 25, 2024Updated last year
- Grammar Prompting for Domain-Specific Language Generation with Large Language Modelsβ78Nov 13, 2023Updated 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.
- Web page with political compass quiz results for open LLMsβ38Jan 31, 2024Updated 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
- 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β¦β376Oct 18, 2023Updated 2 years ago
- Mathematical terms, definitions, and propositions in as many languages as possibleβ23Updated this week
- The Energy Transformer block, in JAXβ68Dec 14, 2023Updated 2 years ago
- A Parallel Framework for Bayesian Learningβ14Aug 2, 2021Updated 4 years ago
- f-PO: Generalizing Preference Optimization with f-divergence Minimizationβ14Apr 2, 2025Updated last year
- 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.
- [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
- A unified interface for computing surprisal (log probabilities) from language models! Supports neural, symbolic, and black-box API modelsβ¦β53Mar 20, 2026Updated 4 months ago
- Easy bindings between Lean and Python.β34May 27, 2026Updated last month
- Allows to check regexes for overlaps. Based on greenery by @qntm.β58Jun 5, 2024Updated 2 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
- [ICML'24] Official PyTorch Implementation of TimeX++β31Nov 6, 2024Updated last year
- Iterate on LLM-based structured generation forward and backwardβ23Mar 20, 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.
- Fast and memory-efficient exact attention - Windows wheelsβ33Mar 3, 2024Updated 2 years ago
- A deprecated equality saturation tactic for Lean based on egg.β87Updated this week
- A collection of workload implementations for the LDBC SNB benchmark driverβ20Jun 7, 2021Updated 5 years ago
- A python library to manipulate formal languages and various automataβ62Sep 4, 2025Updated 10 months ago
- PC-miner tool for program chairsβ30Dec 18, 2025Updated 7 months ago
- Controlled text generation with programmable constraintsβ189Updated this week
- β19Dec 12, 2023Updated 2 years ago