# How to use BERT in Docker

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-to-use-bert-in-docker%2F40598%3E%5C
**Category:** 🤗Transformers\
**Created:** [May 22, 2023, 8:44am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-to-use-bert-in-docker%2F40598 "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](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FChiintan)%5C
**Post date:** [May 22, 2023, 8:44am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-to-use-bert-in-docker%2F40598%2F1 "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.
