Open JGalego opened 3 months ago
This PR adds support for Amazon Bedrock models (scorer + optimizer).
Example:
python optimize_instructions.py --optimizer="bedrock/mistral.mixtral-8x7b-instruct-v0:1" \ --scorer="bedrock/anthropic.claude-3-sonnet-20240229-v1:0" \ --instruction_pos="Q_begin" \ --dataset="gsm8k" \ --task="train"
This PR adds support for Amazon Bedrock models (scorer + optimizer).
Example: