crfm-helm 0.5.1__py3-none-any.whl → 0.5.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of crfm-helm might be problematic. Click here for more details.
- {crfm_helm-0.5.1.dist-info → crfm_helm-0.5.3.dist-info}/METADATA +41 -57
- {crfm_helm-0.5.1.dist-info → crfm_helm-0.5.3.dist-info}/RECORD +197 -152
- {crfm_helm-0.5.1.dist-info → crfm_helm-0.5.3.dist-info}/WHEEL +1 -1
- helm/benchmark/adaptation/adapter_spec.py +32 -31
- helm/benchmark/adaptation/adapters/multiple_choice_joint_adapter.py +12 -5
- helm/benchmark/adaptation/adapters/test_generation_adapter.py +12 -12
- helm/benchmark/adaptation/adapters/test_language_modeling_adapter.py +8 -8
- helm/benchmark/adaptation/adapters/test_multiple_choice_joint_adapter.py +77 -9
- helm/benchmark/adaptation/common_adapter_specs.py +2 -0
- helm/benchmark/annotation/air_bench_annotator.py +64 -0
- helm/benchmark/annotation/annotator_factory.py +6 -0
- helm/benchmark/annotation/anthropic_red_team_annotator.py +70 -0
- helm/benchmark/annotation/call_center_annotator.py +247 -0
- helm/benchmark/annotation/financebench_annotator.py +79 -0
- helm/benchmark/annotation/harm_bench_annotator.py +68 -0
- helm/benchmark/annotation/{image2structure → image2struct}/latex_compiler_annotator.py +2 -2
- helm/benchmark/annotation/{image2structure → image2struct}/lilypond_compiler_annotator.py +5 -3
- helm/benchmark/annotation/{image2structure → image2struct}/webpage_compiler_annotator.py +5 -5
- helm/benchmark/annotation/live_qa_annotator.py +71 -0
- helm/benchmark/annotation/medication_qa_annotator.py +68 -0
- helm/benchmark/annotation/model_as_judge.py +45 -0
- helm/benchmark/annotation/simple_safety_tests_annotator.py +64 -0
- helm/benchmark/annotation/xstest_annotator.py +110 -0
- helm/benchmark/augmentations/translate_perturbation.py +1 -0
- helm/benchmark/huggingface_registration.py +16 -6
- helm/benchmark/metrics/air_bench_metrics.py +56 -0
- helm/benchmark/metrics/annotation_metrics.py +108 -0
- helm/benchmark/metrics/bhasa_metrics.py +188 -0
- helm/benchmark/metrics/bhasa_metrics_specs.py +10 -0
- helm/benchmark/metrics/code_metrics_helper.py +11 -1
- helm/benchmark/metrics/fin_qa_metrics.py +60 -0
- helm/benchmark/metrics/fin_qa_metrics_helper.py +398 -0
- helm/benchmark/metrics/gpt4v_originality_critique_metrics.py +126 -0
- helm/benchmark/metrics/instruction_following_critique_metrics.py +1 -0
- helm/benchmark/metrics/live_qa_metrics.py +23 -0
- helm/benchmark/metrics/medication_qa_metrics.py +23 -0
- helm/benchmark/metrics/prometheus_vision_critique_metrics.py +185 -0
- helm/benchmark/metrics/reka_vibe_critique_metrics.py +158 -0
- helm/benchmark/metrics/safety_metrics.py +57 -0
- helm/benchmark/metrics/summac/model_summac.py +3 -3
- helm/benchmark/metrics/tokens/test_ai21_token_cost_estimator.py +2 -2
- helm/benchmark/metrics/tokens/test_openai_token_cost_estimator.py +4 -4
- helm/benchmark/metrics/unitxt_metrics.py +20 -10
- helm/benchmark/metrics/vision_language/emd_utils.py +4 -0
- helm/benchmark/metrics/vision_language/image_metrics.py +30 -72
- helm/benchmark/metrics/vision_language/image_utils.py +1 -1
- helm/benchmark/model_metadata_registry.py +3 -3
- helm/benchmark/presentation/schema.py +54 -4
- helm/benchmark/presentation/test_run_entry.py +1 -0
- helm/benchmark/presentation/test_schema.py +11 -0
- helm/benchmark/run.py +31 -2
- helm/benchmark/run_expander.py +113 -10
- helm/benchmark/run_spec_factory.py +4 -0
- helm/benchmark/run_specs/air_bench_run_specs.py +40 -0
- helm/benchmark/run_specs/bhasa_run_specs.py +638 -0
- helm/benchmark/run_specs/call_center_run_specs.py +152 -0
- helm/benchmark/run_specs/classic_run_specs.py +15 -11
- helm/benchmark/run_specs/decodingtrust_run_specs.py +11 -9
- helm/benchmark/run_specs/experimental_run_specs.py +85 -0
- helm/benchmark/run_specs/finance_run_specs.py +110 -0
- helm/benchmark/run_specs/safety_run_specs.py +154 -0
- helm/benchmark/run_specs/vlm_run_specs.py +251 -57
- helm/benchmark/scenarios/air_bench_scenario.py +50 -0
- helm/benchmark/scenarios/anthropic_red_team_scenario.py +71 -0
- helm/benchmark/scenarios/banking77_scenario.py +51 -0
- helm/benchmark/scenarios/bhasa_scenario.py +1798 -0
- helm/benchmark/scenarios/call_center_scenario.py +84 -0
- helm/benchmark/scenarios/ci_mcqa_scenario.py +80 -0
- helm/benchmark/scenarios/decodingtrust_stereotype_bias_scenario.py +2 -1
- helm/benchmark/scenarios/entity_data_imputation_scenario.py +8 -2
- helm/benchmark/scenarios/ewok_scenario.py +116 -0
- helm/benchmark/scenarios/fin_qa_scenario.py +119 -0
- helm/benchmark/scenarios/financebench_scenario.py +53 -0
- helm/benchmark/scenarios/harm_bench_scenario.py +59 -0
- helm/benchmark/scenarios/scenario.py +1 -1
- helm/benchmark/scenarios/simple_safety_tests_scenario.py +33 -0
- helm/benchmark/scenarios/test_air_bench_scenario.py +27 -0
- helm/benchmark/scenarios/test_commonsense_scenario.py +21 -0
- helm/benchmark/scenarios/test_ewok_scenario.py +25 -0
- helm/benchmark/scenarios/test_financebench_scenario.py +26 -0
- helm/benchmark/scenarios/test_gsm_scenario.py +31 -0
- helm/benchmark/scenarios/test_legalbench_scenario.py +30 -0
- helm/benchmark/scenarios/test_math_scenario.py +2 -8
- helm/benchmark/scenarios/test_med_qa_scenario.py +30 -0
- helm/benchmark/scenarios/test_mmlu_scenario.py +33 -0
- helm/benchmark/scenarios/test_narrativeqa_scenario.py +73 -0
- helm/benchmark/scenarios/thai_exam_scenario.py +4 -4
- helm/benchmark/scenarios/vision_language/a_okvqa_scenario.py +1 -1
- helm/benchmark/scenarios/vision_language/bingo_scenario.py +5 -5
- helm/benchmark/scenarios/vision_language/crossmodal_3600_scenario.py +2 -1
- helm/benchmark/scenarios/vision_language/exams_v_scenario.py +104 -0
- helm/benchmark/scenarios/vision_language/fair_face_scenario.py +136 -0
- helm/benchmark/scenarios/vision_language/flickr30k_scenario.py +1 -1
- helm/benchmark/scenarios/vision_language/gqa_scenario.py +2 -2
- helm/benchmark/scenarios/vision_language/hateful_memes_scenario.py +1 -1
- helm/benchmark/scenarios/vision_language/{image2structure → image2struct}/chart2csv_scenario.py +1 -1
- helm/benchmark/scenarios/vision_language/{image2structure/image2structure_scenario.py → image2struct/image2struct_scenario.py} +13 -2
- helm/benchmark/scenarios/vision_language/{image2structure → image2struct}/latex_scenario.py +3 -7
- helm/benchmark/scenarios/vision_language/{image2structure → image2struct}/musicsheet_scenario.py +1 -5
- helm/benchmark/scenarios/vision_language/{image2structure → image2struct}/utils_latex.py +31 -39
- helm/benchmark/scenarios/vision_language/{image2structure → image2struct}/webpage/driver.py +1 -1
- helm/benchmark/scenarios/vision_language/{image2structure → image2struct}/webpage/utils.py +1 -1
- helm/benchmark/scenarios/vision_language/{image2structure → image2struct}/webpage_scenario.py +44 -13
- helm/benchmark/scenarios/vision_language/math_vista_scenario.py +1 -1
- helm/benchmark/scenarios/vision_language/mementos_scenario.py +3 -3
- helm/benchmark/scenarios/vision_language/mm_safety_bench_scenario.py +2 -2
- helm/benchmark/scenarios/vision_language/mme_scenario.py +21 -18
- helm/benchmark/scenarios/vision_language/mmmu_scenario.py +1 -1
- helm/benchmark/scenarios/vision_language/pairs_scenario.py +7 -6
- helm/benchmark/scenarios/vision_language/pope_scenario.py +2 -1
- helm/benchmark/scenarios/vision_language/real_world_qa_scenario.py +57 -0
- helm/benchmark/scenarios/vision_language/seed_bench_scenario.py +7 -5
- helm/benchmark/scenarios/vision_language/unicorn_scenario.py +5 -5
- helm/benchmark/scenarios/vision_language/vibe_eval_scenario.py +98 -0
- helm/benchmark/scenarios/vision_language/viz_wiz_scenario.py +1 -1
- helm/benchmark/scenarios/vision_language/vqa_scenario.py +3 -1
- helm/benchmark/scenarios/xstest_scenario.py +35 -0
- helm/benchmark/server.py +1 -6
- helm/benchmark/static/schema_air_bench.yaml +3149 -0
- helm/benchmark/static/schema_bhasa.yaml +709 -0
- helm/benchmark/static/schema_call_center.yaml +232 -0
- helm/benchmark/static/schema_classic.yaml +3 -59
- helm/benchmark/static/schema_cleva.yaml +768 -0
- helm/benchmark/static/schema_decodingtrust.yaml +444 -0
- helm/benchmark/static/schema_ewok.yaml +367 -0
- helm/benchmark/static/schema_finance.yaml +189 -0
- helm/benchmark/static/schema_image2struct.yaml +588 -0
- helm/benchmark/static/schema_instruction_following.yaml +3 -52
- helm/benchmark/static/schema_lite.yaml +3 -61
- helm/benchmark/static/schema_medical.yaml +255 -0
- helm/benchmark/static/schema_mmlu.yaml +3 -61
- helm/benchmark/static/schema_safety.yaml +247 -0
- helm/benchmark/static/schema_tables.yaml +317 -0
- helm/benchmark/static/schema_thai.yaml +244 -0
- helm/benchmark/static/schema_unitxt.yaml +3 -61
- helm/benchmark/static/{schema_vlm.yaml → schema_vhelm.yaml} +304 -298
- helm/benchmark/static/schema_vhelm_lite.yaml +4 -59
- helm/benchmark/static_build/assets/accenture-6f97eeda.png +0 -0
- helm/benchmark/static_build/assets/air-overview-d2e6c49f.png +0 -0
- helm/benchmark/static_build/assets/aisingapore-6dfc9acf.png +0 -0
- helm/benchmark/static_build/assets/cresta-9e22b983.png +0 -0
- helm/benchmark/static_build/assets/cuhk-8c5631e9.png +0 -0
- helm/benchmark/static_build/assets/index-05c76bb1.css +1 -0
- helm/benchmark/static_build/assets/index-58f97dcd.js +10 -0
- helm/benchmark/static_build/assets/overview-74aea3d8.png +0 -0
- helm/benchmark/static_build/assets/process-flow-bd2eba96.png +0 -0
- helm/benchmark/static_build/assets/scb10x-204bd786.png +0 -0
- helm/benchmark/static_build/assets/wellsfargo-a86a6c4a.png +0 -0
- helm/benchmark/static_build/index.html +2 -2
- helm/benchmark/window_services/test_openai_window_service.py +8 -8
- helm/clients/ai21_client.py +71 -1
- helm/clients/anthropic_client.py +50 -28
- helm/clients/auto_client.py +11 -0
- helm/clients/client.py +24 -7
- helm/clients/cohere_client.py +98 -3
- helm/clients/huggingface_client.py +79 -19
- helm/clients/nvidia_nim_client.py +35 -0
- helm/clients/openai_client.py +11 -5
- helm/clients/palmyra_client.py +25 -0
- helm/clients/perspective_api_client.py +11 -6
- helm/clients/reka_client.py +189 -0
- helm/clients/test_client.py +7 -9
- helm/clients/test_huggingface_client.py +19 -3
- helm/clients/test_together_client.py +72 -2
- helm/clients/together_client.py +129 -23
- helm/clients/vertexai_client.py +62 -18
- helm/clients/vision_language/huggingface_vlm_client.py +1 -0
- helm/clients/vision_language/open_flamingo_client.py +1 -2
- helm/clients/vision_language/paligemma_client.py +146 -0
- helm/clients/vision_language/palmyra_vision_client.py +99 -0
- helm/clients/yi_client.py +31 -0
- helm/common/critique_request.py +10 -1
- helm/common/images_utils.py +25 -0
- helm/common/mongo_key_value_store.py +2 -1
- helm/common/request.py +16 -0
- helm/config/model_deployments.yaml +740 -363
- helm/config/model_metadata.yaml +824 -128
- helm/config/tokenizer_configs.yaml +207 -10
- helm/proxy/critique/model_critique_client.py +32 -4
- helm/proxy/example_queries.py +14 -21
- helm/proxy/services/server_service.py +2 -3
- helm/proxy/token_counters/test_auto_token_counter.py +2 -2
- helm/tokenizers/ai21_tokenizer.py +51 -59
- helm/tokenizers/auto_tokenizer.py +1 -1
- helm/tokenizers/cohere_tokenizer.py +29 -62
- helm/tokenizers/huggingface_tokenizer.py +35 -13
- helm/tokenizers/test_ai21_tokenizer.py +48 -0
- helm/tokenizers/test_cohere_tokenizer.py +39 -0
- helm/tokenizers/test_huggingface_tokenizer.py +5 -1
- helm/benchmark/static/benchmarking.css +0 -156
- helm/benchmark/static/benchmarking.js +0 -1705
- helm/benchmark/static/config.js +0 -3
- helm/benchmark/static/general.js +0 -122
- helm/benchmark/static/images/crfm-logo.png +0 -0
- helm/benchmark/static/images/helm-logo-simple.png +0 -0
- helm/benchmark/static/images/helm-logo.png +0 -0
- helm/benchmark/static/images/language-model-helm.png +0 -0
- helm/benchmark/static/images/organizations/ai21.png +0 -0
- helm/benchmark/static/images/organizations/anthropic.png +0 -0
- helm/benchmark/static/images/organizations/bigscience.png +0 -0
- helm/benchmark/static/images/organizations/cohere.png +0 -0
- helm/benchmark/static/images/organizations/eleutherai.png +0 -0
- helm/benchmark/static/images/organizations/google.png +0 -0
- helm/benchmark/static/images/organizations/meta.png +0 -0
- helm/benchmark/static/images/organizations/microsoft.png +0 -0
- helm/benchmark/static/images/organizations/nvidia.png +0 -0
- helm/benchmark/static/images/organizations/openai.png +0 -0
- helm/benchmark/static/images/organizations/together.png +0 -0
- helm/benchmark/static/images/organizations/tsinghua-keg.png +0 -0
- helm/benchmark/static/images/organizations/yandex.png +0 -0
- helm/benchmark/static/images/scenarios-by-metrics.png +0 -0
- helm/benchmark/static/images/taxonomy-scenarios.png +0 -0
- helm/benchmark/static/index.html +0 -68
- helm/benchmark/static/info-icon.png +0 -0
- helm/benchmark/static/json-urls.js +0 -69
- helm/benchmark/static/plot-captions.js +0 -27
- helm/benchmark/static/schema_image2structure.yaml +0 -304
- helm/benchmark/static/utils.js +0 -285
- helm/benchmark/static_build/assets/index-737eef9e.js +0 -10
- helm/benchmark/static_build/assets/index-878a1094.css +0 -1
- helm/benchmark/window_services/ai21_window_service.py +0 -247
- helm/benchmark/window_services/cohere_window_service.py +0 -101
- helm/benchmark/window_services/test_ai21_window_service.py +0 -163
- helm/benchmark/window_services/test_cohere_window_service.py +0 -75
- helm/benchmark/window_services/test_cohere_window_service_utils.py +0 -8328
- helm/benchmark/window_services/test_ice_window_service.py +0 -327
- helm/tokenizers/ice_tokenizer.py +0 -30
- helm/tokenizers/test_ice_tokenizer.py +0 -57
- {crfm_helm-0.5.1.dist-info → crfm_helm-0.5.3.dist-info}/LICENSE +0 -0
- {crfm_helm-0.5.1.dist-info → crfm_helm-0.5.3.dist-info}/entry_points.txt +0 -0
- {crfm_helm-0.5.1.dist-info → crfm_helm-0.5.3.dist-info}/top_level.txt +0 -0
- /helm/benchmark/annotation/{image2structure → image2struct}/__init__.py +0 -0
- /helm/benchmark/annotation/{image2structure → image2struct}/image_compiler_annotator.py +0 -0
- /helm/benchmark/scenarios/vision_language/{image2structure → image2struct}/__init__.py +0 -0
- /helm/benchmark/scenarios/vision_language/{image2structure → image2struct}/webpage/__init__.py +0 -0
- /helm/benchmark/scenarios/vision_language/{image2structure → image2struct}/webpage/jekyll_server.py +0 -0
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
---
|
|
2
|
+
############################################################
|
|
3
|
+
metrics:
|
|
4
|
+
# Infrastructure metrics:
|
|
5
|
+
- name: num_perplexity_tokens
|
|
6
|
+
display_name: '# tokens'
|
|
7
|
+
description: Average number of tokens in the predicted output (for language modeling, the input too).
|
|
8
|
+
- name: num_bytes
|
|
9
|
+
display_name: '# bytes'
|
|
10
|
+
description: Average number of bytes in the predicted output (for language modeling, the input too).
|
|
11
|
+
|
|
12
|
+
- name: num_references
|
|
13
|
+
display_name: '# ref'
|
|
14
|
+
description: Number of references.
|
|
15
|
+
- name: num_train_trials
|
|
16
|
+
display_name: '# trials'
|
|
17
|
+
description: Number of trials, where in each trial we choose an independent, random set of training instances.
|
|
18
|
+
- name: estimated_num_tokens_cost
|
|
19
|
+
display_name: 'cost'
|
|
20
|
+
description: An estimate of the number of tokens (including prompt and output completions) needed to perform the request.
|
|
21
|
+
- name: num_prompt_tokens
|
|
22
|
+
display_name: '# prompt tokens'
|
|
23
|
+
description: Number of tokens in the prompt.
|
|
24
|
+
- name: num_prompt_characters
|
|
25
|
+
display_name: '# prompt chars'
|
|
26
|
+
description: Number of characters in the prompt.
|
|
27
|
+
- name: num_completion_tokens
|
|
28
|
+
display_name: '# completion tokens'
|
|
29
|
+
description: Actual number of completion tokens (over all completions).
|
|
30
|
+
- name: num_output_tokens
|
|
31
|
+
display_name: '# output tokens'
|
|
32
|
+
description: Actual number of output tokens.
|
|
33
|
+
- name: max_num_output_tokens
|
|
34
|
+
display_name: 'Max output tokens'
|
|
35
|
+
description: Maximum number of output tokens (overestimate since we might stop earlier due to stop sequences).
|
|
36
|
+
- name: num_requests
|
|
37
|
+
display_name: '# requests'
|
|
38
|
+
description: Number of distinct API requests.
|
|
39
|
+
- name: num_instances
|
|
40
|
+
display_name: '# eval'
|
|
41
|
+
description: Number of evaluation instances.
|
|
42
|
+
- name: num_train_instances
|
|
43
|
+
display_name: '# train'
|
|
44
|
+
description: Number of training instances (e.g., in-context examples).
|
|
45
|
+
- name: prompt_truncated
|
|
46
|
+
display_name: truncated
|
|
47
|
+
description: Fraction of instances where the prompt itself was truncated (implies that there were no in-context examples).
|
|
48
|
+
- name: finish_reason_length
|
|
49
|
+
display_name: finish b/c length
|
|
50
|
+
description: Fraction of instances where the the output was terminated because of the max tokens limit.
|
|
51
|
+
- name: finish_reason_stop
|
|
52
|
+
display_name: finish b/c stop
|
|
53
|
+
description: Fraction of instances where the the output was terminated because of the stop sequences.
|
|
54
|
+
- name: finish_reason_endoftext
|
|
55
|
+
display_name: finish b/c endoftext
|
|
56
|
+
description: Fraction of instances where the the output was terminated because the end of text token was generated.
|
|
57
|
+
- name: finish_reason_unknown
|
|
58
|
+
display_name: finish b/c unknown
|
|
59
|
+
description: Fraction of instances where the the output was terminated for unknown reasons.
|
|
60
|
+
- name: num_completions
|
|
61
|
+
display_name: '# completions'
|
|
62
|
+
description: Number of completions.
|
|
63
|
+
- name: predicted_index
|
|
64
|
+
display_name: Predicted index
|
|
65
|
+
description: Integer index of the reference (0, 1, ...) that was predicted by the model (for multiple-choice).
|
|
66
|
+
|
|
67
|
+
# Accuracy metrics:
|
|
68
|
+
- name: exact_match
|
|
69
|
+
display_name: Exact match
|
|
70
|
+
short_display_name: EM
|
|
71
|
+
description: Fraction of instances that the predicted output matches a correct reference exactly.
|
|
72
|
+
lower_is_better: false
|
|
73
|
+
|
|
74
|
+
# Summarization metrics:
|
|
75
|
+
- name: annotation_call_center_summarization_faithfulness
|
|
76
|
+
display_name: Faithfulness
|
|
77
|
+
short_display_name: Faithfulness
|
|
78
|
+
description: Whether all the information expressed by the summary can be inferred from the source transcript.
|
|
79
|
+
lower_is_better: false
|
|
80
|
+
- name: annotation_call_center_summarization_relevance
|
|
81
|
+
display_name: Relevance
|
|
82
|
+
short_display_name: Relevance
|
|
83
|
+
description: Whether the summary includes only important information from the source.
|
|
84
|
+
lower_is_better: false
|
|
85
|
+
- name: annotation_call_center_summarization_coherence
|
|
86
|
+
display_name: Coherence
|
|
87
|
+
short_display_name: Coherence
|
|
88
|
+
description: Whether the summary organizes the relevant information into a well-structured summary.
|
|
89
|
+
lower_is_better: false
|
|
90
|
+
|
|
91
|
+
- name: annotation_call_center_summarization_pairwise_comparison_score
|
|
92
|
+
display_name: Pairwise
|
|
93
|
+
short_display_name: Pairwise
|
|
94
|
+
description: Whether the model's summary was preferred by the evaluator model
|
|
95
|
+
lower_is_better: false
|
|
96
|
+
|
|
97
|
+
- name: annotation_call_center_summarization_key_points_recall_score
|
|
98
|
+
display_name: Recall
|
|
99
|
+
short_display_name: Recall
|
|
100
|
+
description: How many key items were recalled
|
|
101
|
+
lower_is_better: false
|
|
102
|
+
############################################################
|
|
103
|
+
perturbations: []
|
|
104
|
+
|
|
105
|
+
############################################################
|
|
106
|
+
metric_groups:
|
|
107
|
+
- name: summarization_metrics
|
|
108
|
+
display_name: Summarization
|
|
109
|
+
hide_win_rates: true
|
|
110
|
+
metrics:
|
|
111
|
+
- name: annotation_call_center_summarization_faithfulness
|
|
112
|
+
split: ${main_split}
|
|
113
|
+
- name: annotation_call_center_summarization_relevance
|
|
114
|
+
split: ${main_split}
|
|
115
|
+
- name: annotation_call_center_summarization_coherence
|
|
116
|
+
split: ${main_split}
|
|
117
|
+
|
|
118
|
+
- name: pairwise_comparison_metrics
|
|
119
|
+
display_name: Pairwise Comparison
|
|
120
|
+
hide_win_rates: true
|
|
121
|
+
metrics:
|
|
122
|
+
- name: annotation_call_center_summarization_pairwise_comparison_score
|
|
123
|
+
split: ${main_split}
|
|
124
|
+
|
|
125
|
+
- name: key_points_recall_metrics
|
|
126
|
+
display: Key Points Recall
|
|
127
|
+
hide_win_rates: true
|
|
128
|
+
metrics:
|
|
129
|
+
- name: annotation_call_center_summarization_key_points_recall_score
|
|
130
|
+
split: ${main_split}
|
|
131
|
+
|
|
132
|
+
- name: efficiency
|
|
133
|
+
display_name: Efficiency
|
|
134
|
+
metrics:
|
|
135
|
+
- name: inference_runtime
|
|
136
|
+
split: ${main_split}
|
|
137
|
+
|
|
138
|
+
- name: general_information
|
|
139
|
+
display_name: General information
|
|
140
|
+
hide_win_rates: true
|
|
141
|
+
metrics:
|
|
142
|
+
- name: num_instances
|
|
143
|
+
split: ${main_split}
|
|
144
|
+
- name: num_train_instances
|
|
145
|
+
split: ${main_split}
|
|
146
|
+
- name: prompt_truncated
|
|
147
|
+
split: ${main_split}
|
|
148
|
+
- name: num_prompt_tokens
|
|
149
|
+
split: ${main_split}
|
|
150
|
+
- name: num_output_tokens
|
|
151
|
+
split: ${main_split}
|
|
152
|
+
|
|
153
|
+
############################################################
|
|
154
|
+
|
|
155
|
+
run_groups:
|
|
156
|
+
- name: call_center_scenarios
|
|
157
|
+
display_name: Call Center Scenarios
|
|
158
|
+
description: Scenarios representating realistic tasks from the call center.
|
|
159
|
+
category: All scenarios
|
|
160
|
+
subgroups:
|
|
161
|
+
- call_center_summarization
|
|
162
|
+
- call_center_summarization_real_call_transcripts
|
|
163
|
+
- call_center_summarization_pairwise_comparison
|
|
164
|
+
- call_center_summarization_key_points_recall
|
|
165
|
+
|
|
166
|
+
- name: call_center_summarization
|
|
167
|
+
display_name: Summarization
|
|
168
|
+
description: summarization
|
|
169
|
+
metric_groups:
|
|
170
|
+
# - accuracy
|
|
171
|
+
- summarization_metrics
|
|
172
|
+
- efficiency
|
|
173
|
+
- general_information
|
|
174
|
+
environment:
|
|
175
|
+
main_split: test
|
|
176
|
+
taxonomy:
|
|
177
|
+
task: summarization
|
|
178
|
+
what: n/a
|
|
179
|
+
who: n/a
|
|
180
|
+
when: "?"
|
|
181
|
+
language: English
|
|
182
|
+
|
|
183
|
+
- name: call_center_summarization_real_call_transcripts
|
|
184
|
+
display_name: Summarization (Real)
|
|
185
|
+
description: Summarization with real call transcripts
|
|
186
|
+
metric_groups:
|
|
187
|
+
# - accuracy
|
|
188
|
+
- summarization_metrics
|
|
189
|
+
- efficiency
|
|
190
|
+
- general_information
|
|
191
|
+
environment:
|
|
192
|
+
main_split: test
|
|
193
|
+
taxonomy:
|
|
194
|
+
task: summarization
|
|
195
|
+
what: n/a
|
|
196
|
+
who: n/a
|
|
197
|
+
when: "?"
|
|
198
|
+
language: English
|
|
199
|
+
|
|
200
|
+
- name: call_center_summarization_pairwise_comparison
|
|
201
|
+
display_name: Summarization (Pairwise)
|
|
202
|
+
description: summarization
|
|
203
|
+
metric_groups:
|
|
204
|
+
# - accuracy
|
|
205
|
+
- pairwise_comparison_metrics
|
|
206
|
+
- efficiency
|
|
207
|
+
- general_information
|
|
208
|
+
environment:
|
|
209
|
+
main_split: test
|
|
210
|
+
taxonomy:
|
|
211
|
+
task: summarization
|
|
212
|
+
what: n/a
|
|
213
|
+
who: n/a
|
|
214
|
+
when: "?"
|
|
215
|
+
language: English
|
|
216
|
+
|
|
217
|
+
- name: call_center_summarization_key_points_recall
|
|
218
|
+
display_name: Summarization (Key Points Recall)
|
|
219
|
+
description: summarization
|
|
220
|
+
metric_groups:
|
|
221
|
+
# - accuracy
|
|
222
|
+
- key_points_recall_metrics
|
|
223
|
+
- efficiency
|
|
224
|
+
- general_information
|
|
225
|
+
environment:
|
|
226
|
+
main_split: test
|
|
227
|
+
taxonomy:
|
|
228
|
+
task: summarization
|
|
229
|
+
what: n/a
|
|
230
|
+
who: n/a
|
|
231
|
+
when: "?"
|
|
232
|
+
language: English
|
|
@@ -1,64 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
############################################################
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
values:
|
|
7
|
-
- name: generation
|
|
8
|
-
description: Given the input, the model generates the output free-form.
|
|
9
|
-
- name: multiple_choice_joint
|
|
10
|
-
description: Given the input, the model selects from multiple-choice options (A., B., C., D., E.).
|
|
11
|
-
- name: multiple_choice_separate_original
|
|
12
|
-
description: For each answer choice, the model assigns the input and answer choice a probability, returning the answer with maximum probability.
|
|
13
|
-
- name: multiple_choice_separate_calibrated
|
|
14
|
-
description: For each answer choice, the model assigns the input and answer choice a probability, returning the answer with maximum probability when calibrated by answer choice probability.
|
|
15
|
-
- name: language_modeling
|
|
16
|
-
description: Given the input, the model assigns the sequence a probability.
|
|
17
|
-
- name: instructions
|
|
18
|
-
description: The description of the task that is included at the very beginning of the prompt.
|
|
19
|
-
- name: global_prefix
|
|
20
|
-
description: The string that is prepended to the prompt.
|
|
21
|
-
- name: instance_prefix
|
|
22
|
-
description: The string that is included before each instance (e.g., '\n\n').
|
|
23
|
-
- name: input_prefix
|
|
24
|
-
description: The string that is included before each input (e.g., 'Question:').
|
|
25
|
-
- name: input_suffix
|
|
26
|
-
description: The string that is included after each input (e.g., '\n').
|
|
27
|
-
- name: reference_prefix
|
|
28
|
-
description: The string that is included before each reference (for multiple-choice questions).
|
|
29
|
-
- name: reference_suffix
|
|
30
|
-
description: The string that is included after each reference (for multiple-choice questions).
|
|
31
|
-
- name: output_prefix
|
|
32
|
-
description: The string that is included before the correct answer/predicted output (e.g., 'Answer:').
|
|
33
|
-
- name: output_suffix
|
|
34
|
-
description: The string that is included after the correct answer/predicted output (e.g., '\n').
|
|
35
|
-
- name: substitutions
|
|
36
|
-
description: A list of regular expression substitutions (e.g., replacing '\n' with ';\n') to perform at the very end on the prompt.
|
|
37
|
-
- name: max_train_instances
|
|
38
|
-
description: Maximum number of training instances to include in the prompt (currently by randomly sampling).
|
|
39
|
-
- name: max_eval_instances
|
|
40
|
-
description: Maximum number of instances to evaluate on (over all splits - test, valid, etc.).
|
|
41
|
-
- name: num_outputs
|
|
42
|
-
description: Maximum number of possible outputs to generate by sampling multiple outputs.
|
|
43
|
-
- name: num_train_trials
|
|
44
|
-
description: Number of trials, where in each trial we choose an independent, random set of training instances. Used to compute variance.
|
|
45
|
-
- name: sample_train
|
|
46
|
-
description: If true, randomly sample N training examples; if false, select N consecutive training examples
|
|
47
|
-
- name: model
|
|
48
|
-
description: Name of the language model (<creator_organization>/<model name>) to send requests to.
|
|
49
|
-
- name: model_deployment
|
|
50
|
-
description: Name of the language model deployment (<host_organization>/<model name>) to send requests to.
|
|
51
|
-
- name: temperature
|
|
52
|
-
description: Temperature parameter used in generation.
|
|
53
|
-
- name: max_tokens
|
|
54
|
-
description: Maximum number of tokens to generate.
|
|
55
|
-
- name: stop_sequences
|
|
56
|
-
description: List of sequences, where we stop generation if we encounter any of them.
|
|
57
|
-
- name: random
|
|
58
|
-
description: Random seed (string), which guarantees reproducibility.
|
|
59
|
-
- name: multi_label
|
|
60
|
-
description: If true, for instances with multiple correct reference, the gold answer should be considered to be all of the correct references rather than any of the correct references.
|
|
61
|
-
|
|
3
|
+
# For backwards compatibility with older versions of HELM.
|
|
4
|
+
# TODO: Remove this after 2024-09-01.
|
|
5
|
+
adapter: []
|
|
62
6
|
############################################################
|
|
63
7
|
metrics:
|
|
64
8
|
# Infrastructure metrics:
|