amazon-bedrock-workshop
amazon-bedrock-workshop copied to clipboard
[Inaccuracy] Insufficient max_tokens_to_sample for the Anthropic streaming example in bedrock_basics
The example says to create a 500 word paragraph but max_tokens is set to 512. If you assume that 1 token~=3/4 words, then 512 tokens would only be 384 words.