epfl-dlab / transformers-CFGLinks
🤗 A specialized library for integrating context-free grammars (CFG) in EBNF with the Hugging Face Transformers
☆123Updated 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.☆241Updated 3 weeks ago
- Efficient and general syntactical decoding for Large Language Models☆283Updated this week
- ☆41Updated 5 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
- ☆67Updated last year
- Composable inference algorithms with LLMs and programmable logic☆70Updated 8 months ago
- The official code repo for "Sub-Sentence Encoder: Contrastive Learning of Propositional Semantic Representations".☆83Updated last year
- RepoQA: Evaluating Long-Context Code Understanding☆113Updated 9 months ago
- Extract full next-token probabilities via language model APIs☆247Updated last year
- Official repository for "Scaling Retrieval-Based Langauge Models with a Trillion-Token Datastore".☆209Updated last week
- r2e: turn any github repository into a programming agent environment☆129Updated 3 months ago
- BABILong is a benchmark for LLM evaluation using the needle-in-a-haystack approach.☆209Updated 3 months ago
- Evaluating LLMs with fewer examples☆160Updated last year
- [EMNLP 2023] Adapting Language Models to Compress Long Contexts☆309Updated 10 months ago
- Manage scalable open LLM inference endpoints in Slurm clusters☆268Updated last year
- Organize the Web: Constructing Domains Enhances Pre-Training Data Curation☆58Updated 3 months ago
- CRUXEval: Code Reasoning, Understanding, and Execution Evaluation☆151Updated 9 months ago
- Code for the paper "Fishing for Magikarp"☆162Updated 2 months ago
- 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 …☆61Updated 9 months ago
- Evaluation of LLMs on latest math competitions☆155Updated 2 weeks ago
- ☆119Updated last year
- Experiments for efforts to train a new and improved t5☆76Updated last year
- ModuleFormer is a MoE-based architecture that includes two different types of experts: stick-breaking attention heads and feedforward exp…☆223Updated last year
- Synthetic question-answering dataset to formally analyze the chain-of-thought output of large language models on a reasoning task.☆147Updated 9 months ago
- Storing long contexts in tiny caches with self-study☆121Updated last week
- ☆88Updated 7 months ago
- ☆67Updated last year
- How do transformer LMs encode relations?☆52Updated last year