π€ A specialized library for integrating context-free grammars (CFG) in EBNF with the Hugging Face Transformers
β139Jan 13, 2026Updated 7 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.β367Jul 27, 2026Updated last month
- Efficient and general syntactical decoding for Large Language Modelsβ339Jan 19, 2026Updated 7 months ago
- [NeurIPS'24] Grammar-Aligned Decoding: An algorithm to constrain LLMs' outputs without distorting its original distributionβ28Feb 10, 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.
- β69Jan 26, 2026Updated 7 months ago
- β19Aug 12, 2026Updated 3 weeks ago
- ISLearn is a tool for mining constraints on string inputs based on context-free grammars and the ISLa specification language.β16Mar 2, 2026Updated 6 months ago
- Incremental Python parser for constrained generation of code by LLMs.β19Sep 18, 2024Updated last year
- 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
- β22Nov 23, 2023Updated 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]β102Mar 11, 2026Updated 5 months 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.
- Grammar Prompting for Domain-Specific Language Generation with Large Language Modelsβ78Nov 13, 2023Updated 2 years ago
- 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
- β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
- 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β24Aug 28, 2026Updated last week
- End-to-end encrypted cloud storage - Proton Drive β’ AdSpecial offer: 40% Off Yearly / 80% Off First Month. Protect your most important files, photos, and documents from prying eyes.
- The Energy Transformer block, in JAXβ68Dec 14, 2023Updated 2 years ago
- f-PO: Generalizing Preference Optimization with f-divergence Minimizationβ14Apr 2, 2025Updated last year
- [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
- UArizona DataLab Workshopsβ10Aug 8, 2025Updated last year
- A unified interface for computing surprisal (log probabilities) from language models! Supports neural, symbolic, and black-box API modelsβ¦β53Mar 20, 2026Updated 5 months ago
- A flat container abstraction for Rustβ17Nov 24, 2025Updated 9 months ago
- β100Feb 12, 2026Updated 6 months ago
- ChatGPT CSS styleβ14Apr 28, 2024Updated 2 years ago
- Managed Kubernetes at scale on DigitalOcean β’ AdDigitalOcean Kubernetes includes the control plane, bandwidth allowance, container registry, automatic updates, and more for free.
- An enchanced useState hook which keeps track of the states history, allowing you to undo and redo states.β16Apr 20, 2022Updated 4 years ago
- Iterate on LLM-based structured generation forward and backwardβ24Mar 20, 2025Updated last year
- Align, a general text alignment functionβ15Dec 7, 2023Updated 2 years ago
- β12Mar 31, 2020Updated 6 years ago
- A deprecated equality saturation tactic for Lean based on egg.β87Jul 29, 2026Updated last month
- Utilities for efficient fine-tuning, inference and evaluation of code generation modelsβ21Oct 3, 2023Updated 2 years ago
- Operating Systems Semester 2 coursework covering Linux, shell scripting, process management, concurrency, and synchronization.β22Jun 11, 2026Updated 2 months ago