π€ A specialized library for integrating context-free grammars (CFG) in EBNF with the Hugging Face Transformers
β140Jan 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.β365Jul 27, 2026Updated 2 weeks ago
- Efficient and general syntactical decoding for Large Language Modelsβ339Jan 19, 2026Updated 6 months ago
- β69Jan 26, 2026Updated 6 months ago
- 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.
- β19Updated this week
- β14Oct 30, 2023Updated 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 5 months ago
- Incremental Python parser for constrained generation of code by LLMs.β18Sep 18, 2024Updated last year
- 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
- A guide to structured generation using constrained decodingβ18Jun 9, 2024Updated 2 years ago
- Benchmark structured generation librariesβ31Oct 25, 2024Updated last year
- End-to-end encrypted email - Proton Mail β’ AdSpecial offer: 40% Off Yearly / 80% Off First Month. All Proton services are open source and independently audited for security.
- Formatron empowers everyone to control the format of language models' output with minimal overhead.β237Jun 7, 2025Updated last year
- Implementation of the Louvain and Leiden community detection algorithms.β22Dec 10, 2023Updated 2 years ago
- Reproduction Package for the paper "Type-Constrained Code Generation with Language Models" [PLDI 2025]β100Mar 11, 2026Updated 5 months ago
- 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
- Managed Kubernetes at scale on DigitalOcean β’ AdDigitalOcean Kubernetes includes the control plane, bandwidth allowance, container registry, automatic updates, and more for free.
- [WIP] AI that "reads" live TV and writes it as a movie script in real-time.β22Jun 3, 2025Updated last year
- 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
- The Energy Transformer block, in JAXβ68Dec 14, 2023Updated 2 years ago
- β16Mar 14, 2024Updated 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
- Tools and Utils for Experiments (TUX)β17Jan 28, 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.
- 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
- A flat container abstraction for Rustβ17Nov 24, 2025Updated 8 months ago
- Easy bindings between Lean and Python.β35Updated this week
- β100Feb 12, 2026Updated 6 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
- [ICML'24] Official PyTorch Implementation of TimeX++β31Nov 6, 2024Updated last year
- Fast and memory-efficient exact attention - Windows wheelsβ33Mar 3, 2024Updated 2 years ago