# 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:** 12

<div class="post-metadata">

**Author:** ![wsunadawong](https://avatars.discourse-cdn.com/v4/letter/w/4bbf92/32.png) [@wsunadawong](https://discuss.huggingface.co/u/wsunadawong)\
**Post date:** [July 23, 2021, 3:58pm UTC](https://discuss.huggingface.co/t/error-deploying-bert-on-sagemaker/8401/12 "2021-07-23T15:58:53Z")

</div>

That worked! The MultiDataModel works now! When I zipped the first time, I included the folder with `tar zcvf model.tar.gz counterargument_hugging` when I should’ve just included the folder _contents_. 🤦‍♂️ Thank you so much for your help. 😊

---

_[View the full topic](https://discuss.huggingface.co/t/error-deploying-bert-on-sagemaker/8401)._
