"Found in the Middle: How Language Models Use Long Contexts Better via Plug-and-Play Positional Encoding" Zhenyu Zhang, Runjin Chen, Shiwei Liu, Zhewei Yao, Olatunji Ruwase, Beidi Chen, Xiaoxia Wu, Zhangyang Wang.
☆35May 7, 2024Updated 2 years ago
Alternatives and similar repositories for Ms-PoE
Users that are interested in Ms-PoE are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- ☆14Jun 10, 2025Updated last year
- Convert seq2seq models in fairseq (e.g., bart, all-share-embedding transformer) to the format of huggingface-transformers☆10Jul 2, 2021Updated 5 years ago
- MLPruning, PyTorch, NLP, BERT, Structured Pruning☆20Jun 29, 2021Updated 5 years ago
- Code for the paper "Simple Context Compression: Mean-Pooling and Multi-Ratio Training"☆12Oct 24, 2025Updated last year
- ☆18Feb 4, 2026Updated 9 months ago
- Deploy on Railway without the complexity - Free Credits Offer • AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- Code and data for "Lost in the Middle: How Language Models Use Long Contexts"☆405Jan 4, 2024Updated 2 years ago
- Google 공식 Rouge Implementation을 한국어에서 사용할 수 있도록 처리☆17Jan 3, 2024Updated 2 years ago
- Easy control for Key-Value Constrained Generative LLM Inference(https://arxiv.org/abs/2402.06262)☆62Feb 13, 2024Updated 2 years ago
- ☆26Dec 12, 2025Updated 11 months ago
- To mitigate position bias in LLMs, especially in long-context scenarios, we scale only one dimension of LLMs, reducing position bias and …☆13Jun 18, 2024Updated 2 years ago
- Homepage for ProLong (Princeton long-context language models) and paper "How to Train Long-Context Language Models (Effectively)"☆269Sep 12, 2025Updated last year
- Scaling to Tens of Thousands of Test-Time Iterations with Loop-Native Attention Residuals☆15Oct 21, 2026Updated last month
- Adapt full attention LLM to sliding window attention☆14Feb 20, 2026Updated 9 months ago
- QRHead: Query-Focused Retrieval Heads Improve Long-Context Reasoning and Re-ranking☆44Jan 20, 2026Updated 10 months ago
- End-to-end encrypted email - Proton Mail • AdSpecial offer: 40% Off Yearly / 80% Off First Month. All Proton services are open source and independently audited for security.
- open-source code for paper: Retrieval Head Mechanistically Explains Long-Context Factuality☆243Aug 2, 2024Updated 2 years ago
- 한국어 자연어 처리 모델 미세조정☆19Jan 26, 2021Updated 5 years ago
- ucas hpc course code☆15May 24, 2023Updated 3 years ago
- Cramming 1568 Tokens into a Single Vector and Back Again: Exploring the Limits of Embedding Space Capacity (ACL 2025, oral)☆35Jun 14, 2025Updated last year
- chinese-laya☆17Oct 13, 2026Updated last month
- agent skill as memory layer☆21Jan 30, 2026Updated 9 months ago
- Optimizing Anytime Reasoning via Budget Relative Policy Optimization☆54Jul 15, 2025Updated last year
- Applies ROME and MEMIT on Mamba-S4 models☆16Apr 5, 2024Updated 2 years ago
- The repository for papaer "Distance between Relevant Information Pieces Causes Bias in Long-Context LLMs"☆14Dec 16, 2024Updated last year
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- Resource Multiplexing in Tuning and Serving Large Language Models (USENIX ATC 2025)☆10Apr 21, 2026Updated 7 months ago
- Official source code for the paper "Neglected Free Lunch from Post-training: Progress Advantage for LLM Agents"☆14Oct 3, 2026Updated last month
- [ACL 2026] <ResearchBench: Benchmarking LLMs in Scientific Discovery via Inspiration-Based Task Decomposition>☆11May 31, 2026Updated 5 months ago
- IAI MovieBot☆10May 7, 2024Updated 2 years ago
- The official implementation of "LightTransfer: Your Long-Context LLM is Secretly a Hybrid Model with Effortless Adaptation"☆22Apr 22, 2025Updated last year
- Marathon: A Multiple-choice Long Context Evaluation Benchmark for Large Language Models.☆10May 16, 2024Updated 2 years ago
- Code for paper "Explainable Differential Diagnosis with Dual-Inference Large Language Models"☆12Jul 13, 2025Updated last year
- The HELMET Benchmark☆231Sep 19, 2026Updated 2 months ago
- [EMNLP 2024 Findings] Official Implementation of Full-Scale Matryoshka Representation Learning for Multimodal Recommendation (fMRLRec).☆13Oct 2, 2024Updated 2 years ago
- Wordpress hosting with auto-scaling - Free Trial Offer • AdFully Managed hosting for WordPress and WooCommerce businesses that need reliable, auto-scalable performance. Cloudways SafeUpdates now available.
- Code for ICLR 2025 Paper "What is Wrong with Perplexity for Long-context Language Modeling?"☆118Oct 11, 2025Updated last year
- Code for the EACL 2024 paper: "Small Language Models Improve Giants by Rewriting Their Outputs"☆12Apr 20, 2024Updated 2 years ago
- ☆16Mar 3, 2024Updated 2 years ago
- ☆11Sep 3, 2023Updated 3 years ago
- ☆10Feb 8, 2025Updated last year
- Official pytorch code for "APP: Anytime Progressive Pruning" (DyNN @ ICML, 2022; CLL @ ACML, 2022, SNN @ ICML, 2022 and SlowDNN 2023)☆16Nov 22, 2022Updated 4 years ago
- Implementation of paper Data Engineering for Scaling Language Models to 128K Context☆498Mar 19, 2024Updated 2 years ago
Are these results useful?