How to deploy mosaic/mpt-7b model in AWS Sagemaker? I followed the instructions similar to here, but get the following error. My guess is something to do with the following:
…this model requires that
trust_remote_code=True
. This is because we use a customMPT
model architecture that is not yet part of the Hugging Facetransformers
package
Any pointer on how to solve this?
Error on model.predict() after model.deploy()
```
*ModelError: An error occurred (ModelError) when calling the InvokeEndpoint operation: Received client error (400) from primary with message "{
“code”: 400,
“type”: “InternalServerException”,
“message”: “/.sagemaker/mms/models/model does not appear to have a file named config.json. Checkout \u0027https://huggingface.co//.sagemaker/mms/models/model/None\u0027 for available files.”