Downloads · 30 days
36
4% of all-time downloads
Intel/bert-base-uncased-sparse-1_2
bert-base-uncased-sparse-1_2 is a machine learning model from Intel. 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.
Pretrained model pruned to 1:2 structured sparsity. The model is a pruned version of the BERT base model.
Downloads · 30 days
36
4% of all-time downloads
All-time downloads
821
Public
Repo size
881 MB
Likes
1
Public
Click a slice to open those files.
.bin441 MB · 100%
From the Hugging Face model README
Pretrained model pruned to 1:2 structured sparsity. The model is a pruned version of the BERT base model.
The model can be used for fine-tuning to downstream tasks with sparsity already embeded to the model. To keep the sparsity a mask should be added to each sparse weight blocking the optimizer from updating the zeros.
We get the following results on the tasks development set, all results are mean of 5 different seeded models:
| Task | MNLI-m (Acc) | MNLI-mm (Acc) | QQP (Acc/F1) | QNLI (Acc) | SST-2 (Acc) | STS-B (Pears/Spear) | SQuADv1.1 (Acc/F1) |
|---|---|---|---|---|---|---|---|
| 83.3 | 83.9 | 90.8/87.6 | 90.4 | 91.3 | 88.8/88.3 | 80.5/88.2 |