# Model works but MultiDataModel doesn't

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fmodel-works-but-multidatamodel-doesnt%2F8530%3E%5C
**Category:** Amazon SageMaker\
**Created:** [July 20, 2021, 8:28pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fmodel-works-but-multidatamodel-doesnt%2F8530 "2021-07-20T20:28:13Z")\
**Posts on this page:** 1\
**Showing post:** 12

<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:** [August 18, 2021, 2:37pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fmodel-works-but-multidatamodel-doesnt%2F8530%2F12 "2021-08-18T14:37:51Z")

</div>

Hey @Ilias,

The MultiDataModel was solved. The `model.tar.gz` used was wrong. You can take a look here.

> [@Error deploying BERT on SageMaker](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ferror-deploying-bert-on-sagemaker%2F8401%2F12)%3A
>
> 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. man_facepalming Thank you so much for your help. blush

---

_[View the full topic](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fmodel-works-but-multidatamodel-doesnt%2F8530)._
