DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lighter

杠杆(统计) 计算机科学 推论 语言理解 蒸馏 语言模型 计算 任务(项目管理) 代表(政治) 人工智能 边缘设备 机器学习 GSM演进的增强数据速率 自然语言处理 算法 工程类 云计算 有机化学 系统工程 政治 法学 政治学 操作系统 化学
作者
Victor Sanh,Lysandre Debut,Julien Chaumond,Alexander M. Rush
出处
期刊:Cornell University - arXiv 被引量:3817
标识
DOI:10.48550/arxiv.1910.01108
摘要

As Transfer Learning from large-scale pre-trained models becomes more prevalent in Natural Language Processing (NLP), operating these large models in on-the-edge and/or under constrained computational training or inference budgets remains challenging. In this work, we propose a method to pre-train a smaller general-purpose language representation model, called DistilBERT, which can then be fine-tuned with good performances on a wide range of tasks like its larger counterparts. While most prior work investigated the use of distillation for building task-specific models, we leverage knowledge distillation during the pre-training phase and show that it is possible to reduce the size of a BERT model by 40%, while retaining 97% of its language understanding capabilities and being 60% faster. To leverage the inductive biases learned by larger models during pre-training, we introduce a triple loss combining language modeling, distillation and cosine-distance losses. Our smaller, faster and lighter model is cheaper to pre-train and we demonstrate its capabilities for on-device computations in a proof-of-concept experiment and a comparative on-device study.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
更新
PDF的下载单位、IP信息已删除 (2025-6-4)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
刚刚
缓冲中发布了新的文献求助10
刚刚
1秒前
hhh发布了新的文献求助10
1秒前
sunny_biosy完成签到,获得积分10
1秒前
2秒前
李健应助西瓜炖火锅采纳,获得10
3秒前
小明应助JIAYIWANG采纳,获得10
3秒前
娜娜发布了新的文献求助10
3秒前
3秒前
天天向上完成签到 ,获得积分10
3秒前
胡萝卜发布了新的文献求助10
5秒前
思源应助yiyiyi采纳,获得10
5秒前
张恒发布了新的文献求助10
5秒前
6秒前
Smiling发布了新的文献求助10
7秒前
suiyi完成签到,获得积分10
7秒前
悄悄发布了新的文献求助10
7秒前
03发布了新的文献求助10
8秒前
8秒前
所所应助Marcus采纳,获得10
9秒前
情怀应助YY采纳,获得10
9秒前
9秒前
艺馨发布了新的文献求助10
10秒前
GCS12发布了新的文献求助10
10秒前
牛子莼完成签到,获得积分10
10秒前
小马甲应助dyp采纳,获得10
11秒前
汉堡包应助英俊的尔曼采纳,获得10
11秒前
11秒前
hh发布了新的文献求助10
11秒前
Ava应助娜娜采纳,获得10
11秒前
CipherSage应助妮妮采纳,获得30
11秒前
huahua完成签到,获得积分20
11秒前
不才完成签到,获得积分10
12秒前
hhh完成签到,获得积分10
12秒前
12秒前
隐形曼青应助寻找采纳,获得10
13秒前
lishuaihua发布了新的文献求助10
13秒前
13秒前
烟花应助wangluyuan采纳,获得10
13秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Manipulating the Mouse Embryo: A Laboratory Manual, Fourth Edition 1000
Determination of the boron concentration in diamond using optical spectroscopy 600
INQUIRY-BASED PEDAGOGY TO SUPPORT STEM LEARNING AND 21ST CENTURY SKILLS: PREPARING NEW TEACHERS TO IMPLEMENT PROJECT AND PROBLEM-BASED LEARNING 500
Founding Fathers The Shaping of America 500
Distinct Aggregation Behaviors and Rheological Responses of Two Terminally Functionalized Polyisoprenes with Different Quadruple Hydrogen Bonding Motifs 460
March's Advanced Organic Chemistry: Reactions, Mechanisms, and Structure 300
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 生物化学 物理 纳米技术 计算机科学 内科学 化学工程 复合材料 物理化学 基因 催化作用 遗传学 冶金 电极 光电子学
热门帖子
关注 科研通微信公众号,转发送积分 4559942
求助须知:如何正确求助?哪些是违规求助? 3986277
关于积分的说明 12342143
捐赠科研通 3656944
什么是DOI,文献DOI怎么找? 2014643
邀请新用户注册赠送积分活动 1049418
科研通“疑难数据库(出版商)”最低求助积分说明 937738