epfl-dlab / transformers-CFGLinks
🤗 A specialized library for integrating context-free grammars (CFG) in EBNF with the Hugging Face Transformers
☆130Updated 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
Sorting:
- A curated list of papers related to constrained decoding of LLM, along with their relevant code and resources.☆297Updated last month
- Efficient and general syntactical decoding for Large Language Models☆305Updated last week
- ☆45Updated 9 months ago
- Extract full next-token probabilities via language model APIs☆248Updated last year
- Official repository for "Scaling Retrieval-Based Langauge Models with a Trillion-Token Datastore".☆220Updated last month
- BABILong is a benchmark for LLM evaluation using the needle-in-a-haystack approach.☆226Updated 3 months ago
- Grammar Prompting for Domain-Specific Language Generation with Large Language Models☆75Updated 2 years ago
- [ICML '24] R2E: Turn any GitHub Repository into a Programming Agent Environment☆136Updated 7 months ago
- A domain-specific probabilistic programming language for modeling and inference with language models☆137Updated 7 months ago
- ☆105Updated 11 months ago
- Code for the paper "Fishing for Magikarp"☆175Updated 6 months ago
- 🔗 LINC: Logical Inference via Neurosymbolic Computation [EMNLP2023]☆78Updated last year
- ReLM is a Regular Expression engine for Language Models☆107Updated 2 years ago
- Composable inference algorithms with LLMs and programmable logic☆69Updated last year
- The source code of our work "Prepacking: A Simple Method for Fast Prefilling and Increased Throughput in Large Language Models" [AISTATS …☆60Updated last year
- Synthetic question-answering dataset to formally analyze the chain-of-thought output of large language models on a reasoning task.☆154Updated 3 months ago
- ☆75Updated last year
- [FORGE 2025] Graph-based method for end-to-end code completion with context awareness on repository