Downloads · 30 days
27
2% of all-time downloads
RedHatAI/mobilebert-uncased-finetuned-squadv1
mobilebert-uncased-finetuned-squadv1 is a question answering model from RedHatAI. Use it when the input is a question plus a passage. It is set up for transformers.
This model is a finetuned version of the mobilebert-uncased model on the SQuADv1 task. To make this TPU-trained model stable when used in PyTorch on GPUs, the original model has been additionally pretrained for one ep…
Downloads · 30 days
27
2% of all-time downloads
All-time downloads
1.8K
Public
Repo size
197 MB
Likes
1
Public
Click a slice to open those files.
.bin98.8 MB · 99%
From the Hugging Face model README
This model is a finetuned version of the mobilebert-uncased model on the SQuADv1 task. To make this TPU-trained model stable when used in PyTorch on GPUs, the original model has been additionally pretrained for one epoch on BookCorpus and English Wikipedia with disabled dropout before finetuning on the SQuADv1 task.
It is produced as part of the work on the paper The Optimal BERT Surgeon: Scalable and Accurate Second-Order Pruning for Large Language Models.
SQuADv1 dev-set:
EM = 83.96
F1 = 90.90
Code: https://github.com/neuralmagic/sparseml/tree/main/research/optimal_BERT_surgeon_oBERT
If you find the model useful, please consider citing our work.
@article{kurtic2022optimal,
title={The Optimal BERT Surgeon: Scalable and Accurate Second-Order Pruning for Large Language Models},
author={Kurtic, Eldar and Campos, Daniel and Nguyen, Tuan and Frantar, Elias and Kurtz, Mark and Fineran, Benjamin and Goin, Michael and Alistarh, Dan},
journal={arXiv preprint arXiv:2203.07259},
year={2022}
}