# Productionalize the model

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fproductionalize-the-model%2F2567%3E%5C
**Category:** 🤗Transformers\
**Created:** [December 4, 2020, 6:50pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fproductionalize-the-model%2F2567 "2020-12-04T18:50:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chandrak](https://avatars.discourse-cdn.com/v4/letter/c/a9a28c/32.png) [@chandrak](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fchandrak)%5C
**Post date:** [December 4, 2020, 6:50pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fproductionalize-the-model%2F2567%2F1 "2020-12-04T18:50:28Z")

</div>

My use case is to serve re-trained BERT model from huggingface transformers in browser to end users  
(users will type in an editor in browser and they will see next word recommendations - like gmail auto compose).

Is there any example to productionalize “transformers” model ? I am having trouble with converting .bin file to tensorflow.js or onnx.js.

How to save transformers model to with .pt or .h5 extension?
