epfl-dlab / transformers-CFGLinks
🤗 A specialized library for integrating context-free grammars (CFG) in EBNF with the Hugging Face Transformers
☆121Updated 3 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.☆235Updated this week
- ☆40Updated 4 months ago
- Grammar Prompting for Domain-Specific Language Generation with Large Language Models☆75Updated last year
- 🔗 LINC: Logical Inference via Neurosymbolic Computation [EMNLP2023]☆71Updated last year
- Efficient and general syntactical decoding for Large Language Models☆279Updated this week
- ☆65Updated last year
- Official repository for "Scaling Retrieval-Based Langauge Models with a Trillion-Token Datastore".☆206Updated last month
- Extract full next-token probabilities via language model APIs☆246Updated last year
- [FORGE 2025] Graph-based method for end-to-end code completion with context awareness on repository☆64Updated 10 months ago
- r2e: turn any github repository into a programming agent environment☆127Updated 2 months ago
- Synthetic question-answering dataset to formally analyze the chain-of-thought output of large language models on a reasoning task.☆146Updated 9 months ago
- Storing long contexts in tiny caches with self-study☆89Updated this week
- The official code repo for "Sub-Sentence Encoder: Contrastive Learning of Propositional Semantic Representations".☆83Updated last year
- Composable inference algorithms with LLMs and programmable logic☆70Updated 7 months ago
- CRUXEval: Code Reasoning, Understanding, and Execution Evaluation☆149Updated 9 months ago
- ☆291Updated last year
- RepoQA: Evaluating Long-Context Code Understanding☆111Updated 8 months ago
- ReLM is a Regular Expression engine for Language Models☆106Updated 2 years ago
- What's In My Big Data (WIMBD) - a toolkit for analyzing large text datasets☆221Updated 8 months ago
- [EMNLP 2023] Adapting Language Models to Compress Long Contexts☆307Updated 10 months ago
- How do transformer LMs encode relations?☆50Updated last year
- A domain-specific probabilistic programming language for modeling and inference with language models☆132Updated 2 months ago
- minimal pytorch implementation of bm25 (with sparse tensors)☆102Updated last year
- The project page for "LOGIC-LM: Empowering Large Language Models with Symbolic Solvers for Faithful Logical Reasoning"☆333Updated last year
- BABILong is a benchmark for LLM evaluation using the needle-in-a-haystack approach.☆206Updated 2 months ago
- The source code of our work "Prepacking: A Simple Method for Fast Prefilling and Increased Throughput in Large Language Models" [AISTATS …☆60Updated 9 months ago
- Code for paper "LEVER: Learning to Verifiy Language-to-Code Generation with Execution" (ICML'23)☆89Updated 2 years ago
- ☆119Updated last year
- ☆66Updated last year
- Datasets collection and preprocessings framework for NLP extreme multitask learning☆184Updated last week