Discover and explore top open-source AI tools and projects—updated daily.
Ahren09LLM adaptation via unified self-distillation
Top 77.9% on SourcePulse
Summary
UniSD provides a unified framework for self-distillation (SD) in Large Language Models (LLMs), addressing fragmentation in existing methods. It enables efficient LLM adaptation without requiring stronger external teachers, offering improved performance and steerability for researchers and engineers.
How It Works
The framework integrates five complementary mechanisms: multi-teacher agreement (sequence/token-level), EMA teacher stabilization, token-level contrastive learning, feature matching, and divergence clipping. These components target supervision reliability, representation alignment, and training stability. The integrated UniSD* recipe combines these for optimal results, leveraging self-derived supervision.
Quick Start & Requirements
flash-attn, and then pip install -r requirements.txt --no-build-isolation.flash-attn, vLLM, transformers. Optional: WANDB_API_KEY, HF_TOKEN.flash-attn compilation can take ~20 minutes initially.Highlighted Details
Maintenance & Community
Author affiliations include Georgia Institute of Technology, UCLA, and Carnegie Mellon University. No direct community links (e.g., Discord, Slack) are provided in the README.
Licensing & Compatibility
Released under the Apache License 2.0, permitting commercial use and integration with closed-source projects.
Limitations & Caveats
A potential compatibility warning exists between trl (v1.4.0) and vLLM (v0.20.2), with a recommendation to pin vllm < 0.19 if runtime errors arise, indicating possible integration fragility.
4 weeks ago
Inactive
txsun1997
test-time-training
SakanaAI
mlabonne