# How to use BERT in Docker

**URL:** <https://discuss.huggingface.co/t/how-to-use-bert-in-docker/40598>\
**Category:** 🤗Transformers\
**Created:** [May 22, 2023, 8:44am UTC](https://discuss.huggingface.co/t/how-to-use-bert-in-docker/40598 "2023-05-22T08:44:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chiintan](https://avatars.discourse-cdn.com/v4/letter/c/a8b319/32.png) [@Chiintan](https://discuss.huggingface.co/u/Chiintan)\
**Post date:** [May 22, 2023, 8:44am UTC](https://discuss.huggingface.co/t/how-to-use-bert-in-docker/40598/1 "2023-05-22T08:44:33Z")

</div>

I have been trying to use BertForSequenceClassification for document classification in Docker but while generating the logits using this line outputs = bert\_model(\*\*inputs) it just stops. Can anyone suggest me a solution for this or any alternate approach.
