I am experimenting with the Claude models based on this lab: https://github.com/aws-samples/amazon-bedrock-aistylist-lab
I am sending Claude 2 a prompt with 115,551 characters in. So worst case scenario, this is well within the token limits. But I am regularly getting timeouts when using Claude 2 so want to try with Claude 1.2 and see if that is more stable.
When I try to call Claude 1.2 I get:
ValueError: Error raised by bedrock service: An error occurred (ResourceNotFoundException) when calling the InvokeModel operation: Could not resolve the foundation model from the provided model identifier.
For testing, I'm using the intro to bedrock
notebook: https://github.com/aws-samples/amazon-bedrock-aistylist-lab/blob/main/aistylist/intro_to_bedrock.ipynb
If I use
modelId = "anthropic.claude-v2:1"
then I get a response from the LLM
If I use
modelId = "anthropic.claude-v1:3"
then, as expected, I get a
ValidationException: An error occurred (ValidationException) when calling the InvokeModel operation: The provided model identifier is invalid.
response because this is not a valid version
modelId = "anthropic.claude-v1:2"
then I get this error message:Could not resolve the foundation model from the provided model identifier.
This indicates that the v1.2 is recognized as a valid identifier, but there is a problem with accessing the model.
Anyone had any success in access Claude v1.2 these days on Bedrock?
There is no model anthropic.claude-v1:2
currently available on Bedrock. I think by referring to anthropic.claude-v1:2
you are referring to anthropic.claude-instant-v1
More info on available models on bedrock and their Id's: Amazon Bedrock Base Model IDs(on-demand throughput)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With