Downloads · 30 days
10
1% of all-time downloads
huawei-noah/DynaBERT_MNLI
DynaBERT_MNLI is a machine learning model from huawei-noah. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for transformers.
DynaBERT can flexibly adjust the size and latency by selecting adaptive width and depth, and the subnetworks of it have competitive performances as other similar-sized compressed models. The training process of DynaBE…
Downloads · 30 days
10
1% of all-time downloads
All-time downloads
1.4K
Public
Repo size
1.3 GB
Likes
1
Public
Click a slice to open those files.
.bin438 MB · 50%
From the Hugging Face model README
DynaBERT can flexibly adjust the size and latency by selecting adaptive width and depth, and the subnetworks of it have competitive performances as other similar-sized compressed models. The training process of DynaBERT includes first training a width-adaptive BERT and then allowing both adaptive width and depth using knowledge distillation.
This code is modified based on the repository developed by Hugging Face: Transformers v2.1.1, and is released in GitHub.
Lu Hou, Zhiqi Huang, Lifeng Shang, Xin Jiang, Xiao Chen, Qun Liu. DynaBERT: Dynamic BERT with Adaptive Width and Depth.
@inproceedings{hou2020dynabert,
title = {DynaBERT: Dynamic BERT with Adaptive Width and Depth},
author = {Lu Hou, Zhiqi Huang, Lifeng Shang, Xin Jiang, Xiao Chen, Qun Liu},
booktitle = {Advances in Neural Information Processing Systems},
year = {2020}
}