# Error deploying BERT on SageMaker

**URL:** <https://discuss.huggingface.co/t/error-deploying-bert-on-sagemaker/8401>\
**Category:** Amazon SageMaker\
**Created:** [July 15, 2021, 8:03pm UTC](https://discuss.huggingface.co/t/error-deploying-bert-on-sagemaker/8401 "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](https://discuss.huggingface.co/u/philschmid)\
**Post date:** [July 22, 2021, 12:56pm UTC](https://discuss.huggingface.co/t/error-deploying-bert-on-sagemaker/8401/9 "2021-07-22T12:56:17Z")

</div>

Let’s move everything related to `MultiDataModel` to this [Model works but MultiDataModel doesn't - #10 by dan21c](https://discuss.huggingface.co/t/model-works-but-multidatamodel-doesnt/8530/10) 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](https://discuss.huggingface.co/t/error-deploying-bert-on-sagemaker/8401)._
