epfl-dlab / transformers-CFGLinks
🤗 A specialized library for integrating context-free grammars (CFG) in EBNF with the Hugging Face Transformers
☆123Updated 5 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.☆254Updated last month
- ☆42Updated 6 months ago
- Grammar Prompting for Domain-Specific Language Generation with Large Language Models☆75Updated last year
- Efficient and general syntactical decoding for Large Language Models☆292Updated last week
- Extract full next-token probabilities via language model APIs☆248Updated last year
- 🔗 LINC: Logical Inference via Neurosymbolic Computation [EMNLP2023]☆74Updated last year
- Composable inference algorithms with LLMs and programmable logic☆69Updated 9 months ago
- ☆71Updated last year
- Synthetic question-answering dataset to formally analyze the chain-of-thought output of large language models on a reasoning task.☆147Updated last week
- CRUXEval: Code Reasoning, Understanding, and Execution Evaluation☆153Updated 11 months ago
- r2e: turn any github repository into a programming agent environment☆129Updated 4 months ago
- The official code repo for "Sub-Sentence Encoder: Contrastive Learning of Propositional Semantic Representations".☆84Updated last year
- Repository for analysis and experiments in the BigCode project.☆124Updated last year
- ☆99Updated 8 months ago
- [FORGE 2025] Graph-based method for end-to-end code completion with context awareness on repository☆66Updated last year
- Official repository for "Scaling Retrieval-Based Langauge Models with a Trillion-Token Datastore".☆215Updated last month
- RepoQA: Evaluating Long-Context Code Understanding☆117Updated 10 months ago
- BABILong is a benchmark for LLM evaluation using the needle-in-a-haystack approach.☆211Updated 2 weeks ago
- A domain-specific probabilistic programming language for modeling and inference with language models☆135Updated 4 months ago
- What's In My Big Data (WIMBD) - a toolkit for analyzing large text datasets☆224Updated 10 months ago
- ☆119Updated last year
- ReLM is a Regular Expression engine for Language Models☆106Updated 2 years ago
- The source code of our work "Prepacking: A Simple Method for Fast Prefilling and Increased Throughput in Large Language Models" [AISTATS …☆60Updated 11 months ago
- ☆84Updated 7 months ago
- minimal pytorch implementation of bm25 (with sparse tensors)☆104Updated last year
- ☆28Updated 2 weeks ago
- Code for the paper "Fishing for Magikarp"☆165Updated 4 months ago
- [NeurIPS'24] SelfCodeAlign: Self-Alignment for Code Generation☆313Updated 6 months ago
- A multi-programming language benchmark for LLMs☆269Updated last month
- ☆37Updated 4 months ago