Skip to content

docs: update model references from Haiku 3 to Haiku 4.5 (#93)#94

Open
MukundaKatta wants to merge 1 commit intoanthropics:masterfrom
MukundaKatta:docs/update-haiku-3-to-4-5
Open

docs: update model references from Haiku 3 to Haiku 4.5 (#93)#94
MukundaKatta wants to merge 1 commit intoanthropics:masterfrom
MukundaKatta:docs/update-haiku-3-to-4-5

Conversation

@MukundaKatta
Copy link
Copy Markdown

Why

Closes #93.

The tutorial pins to claude-3-haiku-20240307, which has been retired. Users running the notebooks hit a "model not found" error out of the box, which is a rough first impression for a prompt-engineering tutorial aimed at newcomers.

What

Swaps the pinned model string across all 5 notebooks that reference it:

File Before After
Anthropic 1P/00_Tutorial_How-To.ipynb claude-3-haiku-20240307 claude-haiku-4-5
AmazonBedrock/anthropic/00_Tutorial_How-To.ipynb anthropic.claude-3-haiku-20240307-v1:0 anthropic.claude-haiku-4-5-20251001-v1:0
AmazonBedrock/anthropic/10_3_Appendix_Empirical_Performance_Evaluations.ipynb same same
AmazonBedrock/boto3/00_Tutorial_How-To.ipynb same same
AmazonBedrock/boto3/10_3_Appendix_Empirical_Performance_Eval.ipynb same same

Five files, five lines — each is the MODEL_NAME = ... constant at the top of the notebook.

Model IDs

Sourced from anthropics/claude-cookbooks CONTRIBUTING.md, which documents the canonical aliases and Bedrock dated IDs:

  • Direct API alias: claude-haiku-4-5
  • Bedrock dated: anthropic.claude-haiku-4-5-20251001-v1:0

Happy to swap to different names if maintainers prefer a different pinning convention — the pattern is trivial to re-run.

Scope

This is a model-name refresh only. Tutorial content (prompts, exercises, explanations) unchanged — the lessons are model-agnostic and Haiku 4.5 performs at least as well as Haiku 3 on the quiz structures used, so no rewrites are needed.

Verified

grep -rln "claude-3-haiku-20240307" .
# (no output — all references updated)

Claude Haiku 3 (claude-3-haiku-20240307) was retired; the tutorial
still pinned to it so fresh installs hit "model not found" errors.

Updates to current Haiku 4.5 across all 5 notebooks:

- Anthropic 1P/00_Tutorial_How-To.ipynb
  claude-3-haiku-20240307 -> claude-haiku-4-5

- AmazonBedrock/anthropic/00_Tutorial_How-To.ipynb
- AmazonBedrock/anthropic/10_3_Appendix_Empirical_Performance_Evaluations.ipynb
- AmazonBedrock/boto3/00_Tutorial_How-To.ipynb
- AmazonBedrock/boto3/10_3_Appendix_Empirical_Performance_Eval.ipynb
  anthropic.claude-3-haiku-20240307-v1:0 -> anthropic.claude-haiku-4-5-20251001-v1:0

Model IDs sourced from anthropics/claude-cookbooks CONTRIBUTING.md
which documents the canonical aliases.

Closes anthropics#93

Signed-off-by: Mukunda Katta <mukunda.vjcs6@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tutorial using Haiku 3- needs update

1 participant