C1M3_Assignment cell[27] BadRequestError: Error code: 400

C1M3_Assignment when running cell[27] got following error

BadRequestError: Error code: 400 - {‘id’: ‘obief7X-2kFHot-9deec4243e4f58f1’, ‘error’: {‘message’: ‘Unable to access non-serverless model meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo. Please visit Together AI | The AI Native Cloud to create and start a new dedicated endpoint for the model.’, ‘type’: ‘invalid_request_error’, ‘param’: None, ‘code’: ‘model_not_available’}}` ``

hi @aravinda_gn

can you check your codes to previous exercise before you encountered this error ?

I know this is non-grade cell code but just have a look, or if you want me to check codes, send the screenshot through DM.

I am adding @lucas.coutinho, as this exception was till now encountered only in m4 and my, he did update and resolve the issue.

@lucas.coutinho

M3 also encountering similar error as M4 M5 with the together api

can you please check.

Thank you
Dr. Deepti

@deepti
I’m seeing the same error in `C1M2_Assignment.ipynb`, exact same function.

@slopez

i have informed staff. please wait for staff @lucas.coutinho to check and resolve issue.

Also the person you tagged deepti, isn’t me, my display name is Deepti_Prasad. I only got this notification because I already had commented on this post. So select name correctly next time.

regards

Dr. Deepti

1 Like

Thanks for pointing that out, @Deepti_Prasad. My apologies for the mistake before.

Just for the record @lucas.coutinho, I have now reached the graded assignment in module 3 and can reproduce the error exactly.

I tried passing other models to the llm_call function (openai/gpt-oss-20b and meta-llama/Meta-Llama-3-8B-Instruct-Lite), but it seems the proxy is rejecting this:

PermissionDeniedError: Error code: 403 - {'error': {'message': 'using meta-llama[/Meta-Llama-3-8B-Instruct-Lite](https://s172-29-70-62p8888.lab-aws-production.deeplearning.ai/Meta-Llama-3-8B-Instruct-Lite) is invalid'}}

You probably know about this already, but I’m posting it here for completeness.

1 Like