microsoft/LMOps

General technology for enabling AI capabilities w/ LLMs and MLLMs

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 1 hour ago
Added to GitGenius on July 29th, 2024
Created on December 13th, 2022
Open Issues & Pull Requests: 118 (+0)
Number of forks: 377
Total Stargazers: 4,465 (+0)
Total Subscribers: 54 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 14.6 hours
Mean response time: 32.8 days
90th percentile: 51.0 days
Tracked items: 95

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 100% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Only 9% of issues opened in the past year have been closed. Three people close 59% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 69
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 473 days
Stale 30+ days: 68
Stale 90+ days: 67

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

LMOps is a Microsoft research initiative focused on fundamental research and technology for building AI products with foundation models, particularly large language models and multimodal generative AI systems. The repository serves as a central hub for multiple research projects and implementations that advance the practical capabilities and efficiency of LLMs across various dimensions.

The project is organized around several core research areas. The Prompt Intelligence section encompasses technologies for optimizing how users interact with language models. Promptist uses reinforcement learning to automatically optimize user inputs into model-preferred prompts, effectively training a language model to serve as a prompt interface. Structured Prompting enables efficient consumption of long-sequence prompts, allowing systems to scale in-context learning to thousands of examples and handle scenarios like retrieval-augmented generation with many retrieved documents. X-Prompt extends prompting capabilities beyond natural language, providing an extensible interface for fine-grained specifications through context-guided imaginary word learning.

The LLMA section addresses inference acceleration. The Lossless Acceleration of LLMs approach achieves two to three times speed-up by identifying and copying text spans from reference documents into LLM inputs, then verifying these spans, without requiring additional models. This technique applies to important scenarios including retrieval-augmented generation and multi-turn conversations.

Beyond optimization and acceleration, LMOps includes research on fundamental understanding of how LLMs operate. Work on in-context learning reveals that GPT models produce meta gradients through forward computation that are applied via attention mechanisms, establishing a dual view between in-context learning and explicit parameter finetuning. The repository also covers LLM alignment, domain customization, and context extension through length-extrapolatable transformers.

The repository maintains active development with significant community engagement.

The repository is classified across 25 distinct categories spanning natural language processing, transformer models, text generation, machine learning operations, inference optimization, and related areas. Recent paper releases from 2022 and 2023 demonstrate ongoing research output, with publications appearing at major conferences including EMNLP 2023. The project is written primarily in Python and maintains connections to related Microsoft initiatives including the unilm and torchscale repositories. The initiative actively recruits researchers and interns interested in foundation models, AGI, NLP, machine translation, speech, document AI, and multimodal AI.