# Error deploying BERT on SageMaker

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ferror-deploying-bert-on-sagemaker%2F8401%3E%5C
**Category:** Amazon SageMaker\
**Created:** [July 15, 2021, 8:03pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ferror-deploying-bert-on-sagemaker%2F8401 "2021-07-15T20:03:48Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![philschmid](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/philschmid/32/38022_2.png) [@philschmid](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fphilschmid)%5C
**Post date:** [July 22, 2021, 12:56pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ferror-deploying-bert-on-sagemaker%2F8401%2F9 "2021-07-22T12:56:17Z")

</div>

Let’s move everything related to `MultiDataModel` to this [Model works but MultiDataModel doesn't - #10 by dan21c](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fmodel-works-but-multidatamodel-doesnt%2F8530%2F10) so we can discuss it there.  
If normal deployment works we can “close” this.  
Or does normal deployment with your `model.tar.gz` not work?

Could you share how you created the archive of `counterargument.tar.gz`. Sometimes the structure is is

```bash
model.tar.gz
   - model
        - config.json

```

That way there is an extra folder and SageMaker might not recognize it.

---

_[View the full topic](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ferror-deploying-bert-on-sagemaker%2F8401)._
