epfl-dlab / transformers-CFG
🤗 A specialized library for integrating context-free grammars (CFG) in EBNF with the Hugging Face Transformers
☆117Updated last month
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.☆198Updated 2 weeks ago
- ☆35Updated 2 months ago
- Wrapper to easily generate the chat template for Llama2☆65Updated last year
- Synthetic question-answering dataset to formally analyze the chain-of-thought output of large language models on a reasoning task.☆146Updated 7 months ago
- Composable inference algorithms with LLMs and programmable logic☆67Updated 5 months ago
- r2e: turn any github repository into a programming agent environment☆119Updated 3 weeks ago
- 🔗 LINC: Logical Inference via Neurosymbolic Computation [EMNLP2023]☆68Updated last year
- Efficient and general syntactical decoding for Large Language Models☆265Updated this week
- The source code of our work "Prepacking: A Simple Method for Fast Prefilling and Increased Throughput in Large Language Models" [AISTATS …☆59Updated 7 months ago
- Grammar Prompting for Domain-Specific Language Generation with Large Language Models☆72Updated last year
- CRUXEval: Code Reasoning, Understanding, and Execution Evaluation☆137Updated 7 months ago
- RepoQA: Evaluating Long-Context Code Understanding☆108Updated 6 months ago
- Extract full next-token probabilities via language model APIs☆244Updated last year
- The LM Contamination Index is a manually created database of contamination evidences for LMs.☆78Updated last year
- Official code for the paper "CodeChain: Towards Modular Code Generation Through Chain of Self-revisions with Representative Sub-modules"☆45Updated 4 months ago
- ☆32Updated last week
- ☆61Updated last year
- LOFT: A 1 Million+ Token Long-Context Benchmark☆193Updated 3 weeks ago
- Official repository for R2E-Gym: Procedural Environment Generation and Hybrid Verifiers for Scaling Open-Weights SWE Agents☆67Updated 3 weeks ago
- Code repository for the paper - "Superposed Decoding: Multiple Generations from a Single Autoregressive Inference Pass"☆17Updated 8 months ago
- Evaluating LLMs with fewer examples☆153Updated last year
- How do transformer LMs encode relations?☆48Updated last year
- Hydragen: High-Throughput LLM Inference with Shared Prefixes☆36Updated last year
- PASTA: Post-hoc Attention Steering for LLMs☆117Updated 5 months ago
- What's In My Big Data (WIMBD) - a toolkit for analyzing large text datasets☆218Updated 6 months ago
- ✨ RepoBench: Benchmarking Repository-Level Code Auto-Completion Systems - ICLR 2024☆163Updated 9 months ago
- [EMNLP 2023] Adapting Language Models to Compress Long Contexts☆304Updated 8 months ago
- ☆115Updated 10 months ago
- A domain-specific probabilistic programming language for modeling and inference with language models☆129Updated 2 weeks ago
- Training and Benchmarking LLMs for Code Preference.☆33Updated 6 months ago