DistilQwen2.5: Industrial Practices of Training Distilled Open Lightweight Language Models

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Wang, Chengyu, Yan, Junbing, Yue, Yuanhao, Huang, Jun
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915252021493760
author Wang, Chengyu
Yan, Junbing
Yue, Yuanhao
Huang, Jun
author_facet Wang, Chengyu
Yan, Junbing
Yue, Yuanhao
Huang, Jun
contents Enhancing computational efficiency and reducing deployment costs for large language models (LLMs) have become critical challenges in various resource-constrained scenarios. In this work, we present DistilQwen2.5, a family of distilled, lightweight LLMs derived from the public Qwen2.5 models. These distilled models exhibit enhanced instruction-following capabilities compared to the original models based on a series of distillation techniques that incorporate knowledge from much larger LLMs. In our industrial practice, we first leverage powerful proprietary LLMs with varying capacities as multi-agent teachers to select, rewrite, and refine instruction-response pairs that are more suitable for student LLMs to learn. After standard fine-tuning, we further leverage a computationally efficient model fusion approach that enables student models to progressively integrate fine-grained hidden knowledge from their teachers. Experimental evaluations demonstrate that the distilled models possess significantly stronger capabilities than their original checkpoints. Additionally, we present use cases to illustrate the applications of our framework in real-world scenarios. To facilitate practical use, we have released all the DistilQwen2.5 models to the open-source community.
format Preprint
id arxiv_https___arxiv_org_abs_2504_15027
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle DistilQwen2.5: Industrial Practices of Training Distilled Open Lightweight Language Models
Wang, Chengyu
Yan, Junbing
Yue, Yuanhao
Huang, Jun
Computation and Language
Enhancing computational efficiency and reducing deployment costs for large language models (LLMs) have become critical challenges in various resource-constrained scenarios. In this work, we present DistilQwen2.5, a family of distilled, lightweight LLMs derived from the public Qwen2.5 models. These distilled models exhibit enhanced instruction-following capabilities compared to the original models based on a series of distillation techniques that incorporate knowledge from much larger LLMs. In our industrial practice, we first leverage powerful proprietary LLMs with varying capacities as multi-agent teachers to select, rewrite, and refine instruction-response pairs that are more suitable for student LLMs to learn. After standard fine-tuning, we further leverage a computationally efficient model fusion approach that enables student models to progressively integrate fine-grained hidden knowledge from their teachers. Experimental evaluations demonstrate that the distilled models possess significantly stronger capabilities than their original checkpoints. Additionally, we present use cases to illustrate the applications of our framework in real-world scenarios. To facilitate practical use, we have released all the DistilQwen2.5 models to the open-source community.
title DistilQwen2.5: Industrial Practices of Training Distilled Open Lightweight Language Models
topic Computation and Language
url https://arxiv.org/abs/2504.15027