epfl-dlab / transformers-CFG
๐ค A specialized library for integrating context-free grammars (CFG) in EBNF with the Hugging Face Transformers
โ115Updated 2 weeks ago
Alternatives and similar repositories for transformers-CFG:
Users that are interested in transformers-CFG are comparing it to the libraries listed below
- A curated list of papers related to constrained decoding of LLM, along with their relevant code and resources.โ189Updated last month
- Efficient and general syntactical decoding for Large Language Modelsโ253Updated last week
- The source code of our work "Prepacking: A Simple Method for Fast Prefilling and Increased Throughput in Large Language Models" [AISTATS โฆโ59Updated 6 months ago
- โ33Updated last month
- Grammar Prompting for Domain-Specific Language Generation with Large Language Modelsโ65Updated last year
- Datasets collection and preprocessings framework for NLP extreme multitask learningโ180Updated 3 months ago
- minimal pytorch implementation of bm25 (with sparse tensors)โ101Updated last year
- Extract full next-token probabilities via language model APIsโ241Updated last year
- Code for Zero-Shot Tokenizer Transferโ127Updated 3 months ago
- The LM Contamination Index is a manually created database of contamination evidences for LMs.โ78Updated last year
- ReLM is a Regular Expression engine for Language Modelsโ103Updated last year
- RepoQA: Evaluating Long-Context Code Understandingโ107Updated 5 months ago
- Hydragen: High-Throughput LLM Inference with Shared Prefixesโ36Updated 11 months ago
- The official code repo for "Sub-Sentence Encoder: Contrastive Learning of Propositional Semantic Representations".โ81Updated last year
- Cold Compress is a hackable, lightweight, and open-source toolkit for creating and benchmarking cache compression methods built on top ofโฆโ128Updated 8 months ago
- The official repo for "LLoCo: Learning Long Contexts Offline"โ116Updated 10 months ago
- REST: Retrieval-Based Speculative Decoding, NAACL 2024โ199Updated 4 months ago
- โ132Updated 3 months ago
- Evaluating LLMs with fewer examplesโ151Updated last year
- Code repository for the c-BTM paperโ106Updated last year
- Manage scalable open LLM inference endpoints in Slurm clustersโ254Updated 9 months ago
- r2e: turn any github repository into a programming agent environmentโ114Updated last week
- Code for the paper "Fishing for Magikarp"โ153Updated last month
- Official repository for "Scaling Retrieval-Based Langauge Models with a Trillion-Token Datastore".โ196Updated 2 weeks ago
- Composable inference algorithms with LLMs and programmable logicโ68Updated 4 months ago
- Code accompanying "How I learned to start worrying about prompt formatting".โ104Updated 6 months ago
- Tree Attention: Topology-aware Decoding for Long-Context Attention on GPU clustersโ126Updated 4 months ago
- CRUXEval: Code Reasoning, Understanding, and Execution Evaluationโ136Updated 6 months ago
- Experiments for efforts to train a new and improved t5โ77Updated last year
- Synthetic question-answering dataset to formally analyze the chain-of-thought output of large language models on a reasoning task.โ144Updated 6 months ago