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

fix: use values in algo name map #73

Merged
merged 1 commit into from
Oct 24, 2023
Merged

fix: use values in algo name map #73

merged 1 commit into from
Oct 24, 2023

Conversation

pinaraws
Copy link
Member

Before:

>>> print(amazon_fmeval.EVAL_ALGORITHMS.keys())
dict_keys(['factual_knowledge', 'qa_accuracy', 'summarization_accuracy', 'prompt_stereotyping', 'classification_accuracy', 'general_semantic_robustness', 'summarization_accuracy_semantic_robustness', 'toxicity', 'qa_toxicity', <EvalAlgorithm.SUMMARIZATION_TOXICITY: 'summarization_toxicity'>, <EvalAlgorithm.CLASSIFICATION_ACCURACY_SEMANTIC_ROBUSTNESS: 'classification_accuracy_semantic_robustness'>])

After:

>>> print(amazon_fmeval.EVAL_ALGORITHMS.keys())
dict_keys(['factual_knowledge', 'qa_accuracy', 'summarization_accuracy', 'prompt_stereotyping', 'classification_accuracy', 'general_semantic_robustness', 'summarization_accuracy_semantic_robustness', 'toxicity', 'qa_toxicity', 'summarization_toxicity', 'classification_accuracy_semantic_robustness'])

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@pinaraws pinaraws merged commit 896d60e into aws:main Oct 24, 2023
3 checks passed
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.

3 participants