Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Amazon Bedrock provider support for MNIAH testing #35

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

JGalego
Copy link

@JGalego JGalego commented Mar 14, 2024

This PR adds support for MNIAH 🌾📍🌾🌾 testing Anthropic and Meta models via Amazon Bedrock with the LangSmith evaluator.

Anthropic Claude 3 Sonnet

needlehaystack.run_test --provider bedrock \
                        --model_name "anthropic.claude-3-sonnet-20240229-v1:0" \
                        --evaluator langsmith \
                        --document_depth_percents "[50]" \
                        --context_lengths "[2000]" \
                        --multi_needle True

Meta Llama 2 Chat 70B

needlehaystack.run_test --provider bedrock \
                        --model_name "meta.llama2-70b-chat-v1" \
                        --model_kwargs "{'max_gen_len': 300, 'temperature': 0}" \
                        --evaluator langsmith \
                        --document_depth_percents "[50]" \
                        --context_lengths "[2000]" \
                        --multi_needle True

@JGalego JGalego changed the title feat: Amazon Bedrock Support for Claude models feat: Amazon Bedrock provider support for MNIAH testing Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants