English

Cost-effective Deployment of BERT Models in Serverless Environment

Computation and Language 2021-04-20 v2 Machine Learning

Abstract

In this study we demonstrate the viability of deploying BERT-style models to serverless environments in a production setting. Since the freely available pre-trained models are too large to be deployed in this way, we utilize knowledge distillation and fine-tune the models on proprietary datasets for two real-world tasks: sentiment analysis and semantic textual similarity. As a result, we obtain models that are tuned for a specific domain and deployable in serverless environments. The subsequent performance analysis shows that this solution results in latency levels acceptable for production use and that it is also a cost-effective approach for small-to-medium size deployments of BERT models, all without any infrastructure overhead.

Keywords

Cite

@article{arxiv.2103.10673,
  title  = {Cost-effective Deployment of BERT Models in Serverless Environment},
  author = {Katarína Benešová and Andrej Švec and Marek Šuppa},
  journal= {arXiv preprint arXiv:2103.10673},
  year   = {2021}
}

Comments

NAACL-HLT 2021 Industry Track Camera Ready

R2 v1 2026-06-24T00:20:43.937Z