crfm-helm 0.3.0__py3-none-any.whl → 0.5.0__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.
- {crfm_helm-0.3.0.dist-info → crfm_helm-0.5.0.dist-info}/METADATA +144 -36
- crfm_helm-0.5.0.dist-info/RECORD +642 -0
- {crfm_helm-0.3.0.dist-info → crfm_helm-0.5.0.dist-info}/WHEEL +1 -1
- helm/benchmark/adaptation/adapter_spec.py +37 -2
- helm/benchmark/adaptation/adapters/adapter.py +4 -42
- helm/benchmark/adaptation/adapters/adapter_factory.py +24 -27
- helm/benchmark/adaptation/adapters/binary_ranking_adapter.py +1 -0
- helm/benchmark/adaptation/adapters/generation_adapter.py +2 -0
- helm/benchmark/adaptation/adapters/in_context_learning_adapter.py +21 -4
- helm/benchmark/adaptation/adapters/language_modeling_adapter.py +12 -5
- helm/benchmark/adaptation/adapters/multimodal/generation_multimodal_adapter.py +1 -0
- helm/benchmark/adaptation/adapters/multimodal/in_context_learning_multimodal_adapter.py +1 -0
- helm/benchmark/adaptation/adapters/multimodal/multiple_choice_joint_multimodal_adapter.py +104 -0
- helm/benchmark/adaptation/adapters/multimodal/test_in_context_learning_multimodal_adapter.py +5 -1
- helm/benchmark/adaptation/adapters/multiple_choice_joint_adapter.py +1 -0
- helm/benchmark/adaptation/adapters/multiple_choice_separate_adapter.py +1 -0
- helm/benchmark/adaptation/adapters/test_adapter.py +2 -1
- helm/benchmark/adaptation/adapters/test_generation_adapter.py +59 -14
- helm/benchmark/adaptation/adapters/test_language_modeling_adapter.py +40 -5
- helm/benchmark/adaptation/adapters/test_multiple_choice_joint_adapter.py +78 -10
- helm/benchmark/adaptation/common_adapter_specs.py +376 -0
- helm/benchmark/adaptation/prompt.py +7 -1
- helm/benchmark/adaptation/request_state.py +6 -1
- helm/benchmark/adaptation/scenario_state.py +6 -2
- helm/benchmark/annotation/annotator.py +43 -0
- helm/benchmark/annotation/annotator_factory.py +61 -0
- helm/benchmark/annotation/image2structure/image_compiler_annotator.py +88 -0
- helm/benchmark/annotation/image2structure/latex_compiler_annotator.py +59 -0
- helm/benchmark/annotation/image2structure/lilypond_compiler_annotator.py +84 -0
- helm/benchmark/annotation/image2structure/webpage_compiler_annotator.py +132 -0
- helm/benchmark/annotation/test_annotator_factory.py +26 -0
- helm/benchmark/annotation/test_dummy_annotator.py +44 -0
- helm/benchmark/annotation_executor.py +124 -0
- helm/benchmark/augmentations/cleva_perturbation.py +7 -14
- helm/benchmark/augmentations/contraction_expansion_perturbation.py +3 -3
- helm/benchmark/augmentations/contrast_sets_perturbation.py +0 -3
- helm/benchmark/augmentations/data_augmenter.py +0 -2
- helm/benchmark/augmentations/dialect_perturbation.py +2 -2
- helm/benchmark/augmentations/extra_space_perturbation.py +2 -2
- helm/benchmark/augmentations/filler_words_perturbation.py +2 -2
- helm/benchmark/augmentations/gender_perturbation.py +3 -3
- helm/benchmark/augmentations/lowercase_perturbation.py +2 -2
- helm/benchmark/augmentations/mild_mix_perturbation.py +2 -2
- helm/benchmark/augmentations/misspelling_perturbation.py +2 -2
- helm/benchmark/augmentations/person_name_perturbation.py +0 -7
- helm/benchmark/augmentations/perturbation.py +20 -7
- helm/benchmark/augmentations/perturbation_description.py +1 -1
- helm/benchmark/augmentations/space_perturbation.py +2 -2
- helm/benchmark/augmentations/suffix_perturbation.py +29 -0
- helm/benchmark/augmentations/synonym_perturbation.py +2 -2
- helm/benchmark/augmentations/test_perturbation.py +11 -7
- helm/benchmark/augmentations/translate_perturbation.py +30 -0
- helm/benchmark/augmentations/typos_perturbation.py +2 -2
- helm/benchmark/config_registry.py +38 -0
- helm/benchmark/executor.py +46 -16
- helm/benchmark/huggingface_registration.py +37 -7
- helm/benchmark/metrics/basic_metrics.py +172 -641
- helm/benchmark/metrics/bbq_metrics.py +3 -4
- helm/benchmark/metrics/bias_metrics.py +6 -6
- helm/benchmark/metrics/classification_metrics.py +11 -8
- helm/benchmark/metrics/cleva_accuracy_metrics.py +8 -5
- helm/benchmark/metrics/cleva_harms_metrics.py +2 -2
- helm/benchmark/metrics/code_metrics.py +4 -3
- helm/benchmark/metrics/code_metrics_helper.py +0 -2
- helm/benchmark/metrics/common_metric_specs.py +167 -0
- helm/benchmark/metrics/decodingtrust_fairness_metrics.py +72 -0
- helm/benchmark/metrics/decodingtrust_ood_knowledge_metrics.py +66 -0
- helm/benchmark/metrics/decodingtrust_privacy_metrics.py +101 -0
- helm/benchmark/metrics/decodingtrust_stereotype_bias_metrics.py +202 -0
- helm/benchmark/metrics/disinformation_metrics.py +6 -112
- helm/benchmark/metrics/dry_run_metrics.py +5 -3
- helm/benchmark/metrics/efficiency_metrics.py +206 -0
- helm/benchmark/metrics/evaluate_instances_metric.py +59 -0
- helm/benchmark/metrics/evaluate_reference_metrics.py +376 -0
- helm/benchmark/metrics/image_generation/aesthetics_metrics.py +54 -0
- helm/benchmark/metrics/image_generation/aesthetics_scorer.py +66 -0
- helm/benchmark/metrics/image_generation/clip_score_metrics.py +73 -0
- helm/benchmark/metrics/image_generation/denoised_runtime_metric.py +42 -0
- helm/benchmark/metrics/image_generation/detection_metrics.py +57 -0
- helm/benchmark/metrics/image_generation/detectors/base_detector.py +8 -0
- helm/benchmark/metrics/image_generation/detectors/vitdet.py +178 -0
- helm/benchmark/metrics/image_generation/efficiency_metrics.py +41 -0
- helm/benchmark/metrics/image_generation/fidelity_metrics.py +168 -0
- helm/benchmark/metrics/image_generation/fractal_dimension/__init__.py +0 -0
- helm/benchmark/metrics/image_generation/fractal_dimension/fractal_dimension_util.py +63 -0
- helm/benchmark/metrics/image_generation/fractal_dimension/test_fractal_dimension_util.py +33 -0
- helm/benchmark/metrics/image_generation/fractal_dimension_metric.py +50 -0
- helm/benchmark/metrics/image_generation/gender_metrics.py +58 -0
- helm/benchmark/metrics/image_generation/image_critique_metrics.py +284 -0
- helm/benchmark/metrics/image_generation/lpips_metrics.py +82 -0
- helm/benchmark/metrics/image_generation/multi_scale_ssim_metrics.py +82 -0
- helm/benchmark/metrics/image_generation/nsfw_detector.py +96 -0
- helm/benchmark/metrics/image_generation/nsfw_metrics.py +103 -0
- helm/benchmark/metrics/image_generation/nudity_metrics.py +38 -0
- helm/benchmark/metrics/image_generation/photorealism_critique_metrics.py +153 -0
- helm/benchmark/metrics/image_generation/psnr_metrics.py +78 -0
- helm/benchmark/metrics/image_generation/q16/__init__.py +0 -0
- helm/benchmark/metrics/image_generation/q16/q16_toxicity_detector.py +90 -0
- helm/benchmark/metrics/image_generation/q16/test_q16.py +18 -0
- helm/benchmark/metrics/image_generation/q16_toxicity_metrics.py +48 -0
- helm/benchmark/metrics/image_generation/skin_tone_metrics.py +164 -0
- helm/benchmark/metrics/image_generation/uiqi_metrics.py +92 -0
- helm/benchmark/metrics/image_generation/watermark/__init__.py +0 -0
- helm/benchmark/metrics/image_generation/watermark/test_watermark_detector.py +16 -0
- helm/benchmark/metrics/image_generation/watermark/watermark_detector.py +87 -0
- helm/benchmark/metrics/image_generation/watermark_metrics.py +48 -0
- helm/benchmark/metrics/instruction_following_critique_metrics.py +3 -1
- helm/benchmark/metrics/language_modeling_metrics.py +99 -0
- helm/benchmark/metrics/machine_translation_metrics.py +5 -5
- helm/benchmark/metrics/metric.py +93 -172
- helm/benchmark/metrics/metric_name.py +0 -1
- helm/benchmark/metrics/metric_service.py +16 -0
- helm/benchmark/metrics/paraphrase_generation_metrics.py +3 -4
- helm/benchmark/metrics/ranking_metrics.py +6 -7
- helm/benchmark/metrics/reference_metric.py +148 -0
- helm/benchmark/metrics/summac/model_summac.py +0 -2
- helm/benchmark/metrics/summarization_metrics.py +8 -8
- helm/benchmark/metrics/test_classification_metrics.py +9 -6
- helm/benchmark/metrics/test_disinformation_metrics.py +78 -0
- helm/benchmark/metrics/test_evaluate_reference_metrics.py +30 -0
- helm/benchmark/metrics/test_metric.py +2 -2
- helm/benchmark/metrics/tokens/auto_token_cost_estimator.py +1 -1
- helm/benchmark/metrics/tokens/gooseai_token_cost_estimator.py +13 -3
- helm/benchmark/metrics/tokens/openai_token_cost_estimator.py +1 -1
- helm/benchmark/metrics/tokens/test_ai21_token_cost_estimator.py +2 -0
- helm/benchmark/metrics/tokens/test_openai_token_cost_estimator.py +9 -2
- helm/benchmark/metrics/toxicity_metrics.py +1 -1
- helm/benchmark/metrics/toxicity_utils.py +23 -0
- helm/benchmark/metrics/unitxt_metrics.py +81 -0
- helm/benchmark/metrics/vision_language/__init__.py +0 -0
- helm/benchmark/metrics/vision_language/emd_utils.py +341 -0
- helm/benchmark/metrics/vision_language/image_metrics.py +450 -0
- helm/benchmark/metrics/vision_language/image_utils.py +100 -0
- helm/benchmark/model_deployment_registry.py +164 -41
- helm/benchmark/model_metadata_registry.py +181 -35
- helm/benchmark/multi_gpu_runner.py +133 -0
- helm/benchmark/presentation/contamination.py +3 -3
- helm/benchmark/presentation/create_plots.py +8 -7
- helm/benchmark/presentation/run_display.py +50 -17
- helm/benchmark/presentation/schema.py +28 -46
- helm/benchmark/presentation/summarize.py +213 -96
- helm/benchmark/presentation/table.py +8 -8
- helm/benchmark/presentation/test_contamination.py +2 -2
- helm/benchmark/presentation/test_run_entry.py +14 -9
- helm/benchmark/presentation/test_summarize.py +5 -0
- helm/benchmark/run.py +66 -54
- helm/benchmark/run_expander.py +342 -31
- helm/benchmark/run_spec.py +93 -0
- helm/benchmark/run_spec_factory.py +162 -0
- helm/benchmark/run_specs/__init__.py +0 -0
- helm/benchmark/{run_specs.py → run_specs/classic_run_specs.py} +217 -1330
- helm/benchmark/run_specs/cleva_run_specs.py +277 -0
- helm/benchmark/run_specs/decodingtrust_run_specs.py +314 -0
- helm/benchmark/run_specs/heim_run_specs.py +623 -0
- helm/benchmark/run_specs/instruction_following_run_specs.py +129 -0
- helm/benchmark/run_specs/lite_run_specs.py +307 -0
- helm/benchmark/run_specs/simple_run_specs.py +104 -0
- helm/benchmark/run_specs/unitxt_run_specs.py +42 -0
- helm/benchmark/run_specs/vlm_run_specs.py +501 -0
- helm/benchmark/runner.py +116 -69
- helm/benchmark/runner_config_registry.py +21 -0
- helm/benchmark/scenarios/bbq_scenario.py +1 -1
- helm/benchmark/scenarios/bold_scenario.py +2 -2
- helm/benchmark/scenarios/cleva_scenario.py +43 -46
- helm/benchmark/scenarios/code_scenario.py +3 -2
- helm/benchmark/scenarios/commonsense_scenario.py +171 -191
- helm/benchmark/scenarios/decodingtrust_adv_demonstration_scenario.py +169 -0
- helm/benchmark/scenarios/decodingtrust_adv_robustness_scenario.py +121 -0
- helm/benchmark/scenarios/decodingtrust_fairness_scenario.py +77 -0
- helm/benchmark/scenarios/decodingtrust_machine_ethics_scenario.py +324 -0
- helm/benchmark/scenarios/decodingtrust_ood_robustness_scenario.py +204 -0
- helm/benchmark/scenarios/decodingtrust_privacy_scenario.py +559 -0
- helm/benchmark/scenarios/decodingtrust_stereotype_bias_scenario.py +67 -0
- helm/benchmark/scenarios/decodingtrust_toxicity_prompts_scenario.py +78 -0
- helm/benchmark/scenarios/dialogue_scenarios.py +0 -1
- helm/benchmark/scenarios/entity_matching_scenario.py +1 -1
- helm/benchmark/scenarios/image_generation/__init__.py +0 -0
- helm/benchmark/scenarios/image_generation/common_syntactic_processes_scenario.py +105 -0
- helm/benchmark/scenarios/image_generation/cub200_scenario.py +95 -0
- helm/benchmark/scenarios/image_generation/daily_dalle_scenario.py +124 -0
- helm/benchmark/scenarios/image_generation/demographic_stereotypes_scenario.py +82 -0
- helm/benchmark/scenarios/image_generation/detection_scenario.py +83 -0
- helm/benchmark/scenarios/image_generation/draw_bench_scenario.py +74 -0
- helm/benchmark/scenarios/image_generation/i2p_scenario.py +57 -0
- helm/benchmark/scenarios/image_generation/landing_page_scenario.py +46 -0
- helm/benchmark/scenarios/image_generation/logos_scenario.py +223 -0
- helm/benchmark/scenarios/image_generation/magazine_cover_scenario.py +91 -0
- helm/benchmark/scenarios/image_generation/mental_disorders_scenario.py +46 -0
- helm/benchmark/scenarios/image_generation/mscoco_scenario.py +91 -0
- helm/benchmark/scenarios/image_generation/paint_skills_scenario.py +72 -0
- helm/benchmark/scenarios/image_generation/parti_prompts_scenario.py +94 -0
- helm/benchmark/scenarios/image_generation/radiology_scenario.py +42 -0
- helm/benchmark/scenarios/image_generation/relational_understanding_scenario.py +52 -0
- helm/benchmark/scenarios/image_generation/time_most_significant_historical_figures_scenario.py +124 -0
- helm/benchmark/scenarios/image_generation/winoground_scenario.py +62 -0
- helm/benchmark/scenarios/imdb_scenario.py +0 -1
- helm/benchmark/scenarios/legalbench_scenario.py +123 -0
- helm/benchmark/scenarios/live_qa_scenario.py +94 -0
- helm/benchmark/scenarios/lm_entry_scenario.py +185 -0
- helm/benchmark/scenarios/lsat_qa_scenario.py +4 -2
- helm/benchmark/scenarios/math_scenario.py +19 -2
- helm/benchmark/scenarios/medication_qa_scenario.py +60 -0
- helm/benchmark/scenarios/numeracy_scenario.py +3 -3
- helm/benchmark/scenarios/opinions_qa_scenario.py +6 -10
- helm/benchmark/scenarios/raft_scenario.py +2 -6
- helm/benchmark/scenarios/scenario.py +14 -2
- helm/benchmark/scenarios/simple_scenarios.py +122 -1
- helm/benchmark/scenarios/test_math_scenario.py +22 -0
- helm/benchmark/scenarios/test_scenario.py +6 -3
- helm/benchmark/scenarios/test_simple_scenarios.py +50 -0
- helm/benchmark/scenarios/thai_exam_scenario.py +135 -0
- helm/benchmark/scenarios/the_pile_scenario.py +6 -7
- helm/benchmark/scenarios/unitxt_scenario.py +56 -0
- helm/benchmark/scenarios/verifiability_judgment_scenario.py +3 -1
- helm/benchmark/scenarios/vicuna_scenario.py +1 -1
- helm/benchmark/scenarios/vision_language/bingo_scenario.py +103 -0
- helm/benchmark/scenarios/vision_language/hateful_memes_scenario.py +92 -0
- helm/benchmark/scenarios/vision_language/heim_human_eval_scenario.py +113 -0
- helm/benchmark/scenarios/vision_language/image2structure/__init__.py +0 -0
- helm/benchmark/scenarios/vision_language/image2structure/chart2csv_scenario.py +55 -0
- helm/benchmark/scenarios/vision_language/image2structure/image2structure_scenario.py +214 -0
- helm/benchmark/scenarios/vision_language/image2structure/latex_scenario.py +25 -0
- helm/benchmark/scenarios/vision_language/image2structure/musicsheet_scenario.py +20 -0
- helm/benchmark/scenarios/vision_language/image2structure/utils_latex.py +347 -0
- helm/benchmark/scenarios/vision_language/image2structure/webpage/__init__.py +0 -0
- helm/benchmark/scenarios/vision_language/image2structure/webpage/driver.py +84 -0
- helm/benchmark/scenarios/vision_language/image2structure/webpage/jekyll_server.py +182 -0
- helm/benchmark/scenarios/vision_language/image2structure/webpage/utils.py +31 -0
- helm/benchmark/scenarios/vision_language/image2structure/webpage_scenario.py +225 -0
- helm/benchmark/scenarios/vision_language/mementos_scenario.py +124 -0
- helm/benchmark/scenarios/vision_language/mme_scenario.py +145 -0
- helm/benchmark/scenarios/vision_language/mmmu_scenario.py +187 -0
- helm/benchmark/scenarios/vision_language/multipanelvqa_scenario.py +169 -0
- helm/benchmark/scenarios/vision_language/pope_scenario.py +104 -0
- helm/benchmark/scenarios/vision_language/seed_bench_scenario.py +129 -0
- helm/benchmark/scenarios/vision_language/unicorn_scenario.py +108 -0
- helm/benchmark/scenarios/vision_language/viz_wiz_scenario.py +107 -0
- helm/benchmark/scenarios/vision_language/vqa_scenario.py +1 -1
- helm/benchmark/scenarios/wmt_14_scenario.py +18 -18
- helm/benchmark/server.py +59 -2
- helm/benchmark/slurm_jobs.py +12 -0
- helm/benchmark/slurm_runner.py +79 -51
- helm/benchmark/static/benchmarking.js +3 -4
- helm/benchmark/static/contamination.yaml +1 -1
- helm/benchmark/static/images/organizations/together.png +0 -0
- helm/benchmark/static/json-urls.js +4 -0
- helm/benchmark/static/{schema.yaml → schema_classic.yaml} +346 -930
- helm/benchmark/static/schema_instruction_following.yaml +210 -0
- helm/benchmark/static/schema_lite.yaml +824 -0
- helm/benchmark/static/schema_mmlu.yaml +1507 -0
- helm/benchmark/static/schema_unitxt.yaml +428 -0
- helm/benchmark/static/schema_vlm.yaml +576 -0
- helm/benchmark/static_build/assets/01-694cb9b7.png +0 -0
- helm/benchmark/static_build/assets/ai21-0eb91ec3.png +0 -0
- helm/benchmark/static_build/assets/aleph-alpha-7ce10034.png +0 -0
- helm/benchmark/static_build/assets/anthropic-70d8bc39.png +0 -0
- helm/benchmark/static_build/assets/bigscience-7f0400c0.png +0 -0
- helm/benchmark/static_build/assets/cohere-3550c6cb.png +0 -0
- helm/benchmark/static_build/assets/crfm-logo-74391ab8.png +0 -0
- helm/benchmark/static_build/assets/eleutherai-b9451114.png +0 -0
- helm/benchmark/static_build/assets/google-06d997ad.png +0 -0
- helm/benchmark/static_build/assets/heim-logo-3e5e3aa4.png +0 -0
- helm/benchmark/static_build/assets/helm-logo-simple-2ed5400b.png +0 -0
- helm/benchmark/static_build/assets/helmhero-28e90f4d.png +0 -0
- helm/benchmark/static_build/assets/index-5088afcb.css +1 -0
- helm/benchmark/static_build/assets/index-d839df55.js +9 -0
- helm/benchmark/static_build/assets/meta-5580e9f1.png +0 -0
- helm/benchmark/static_build/assets/microsoft-f5ee5016.png +0 -0
- helm/benchmark/static_build/assets/mistral-18e1be23.png +0 -0
- helm/benchmark/static_build/assets/nvidia-86fa75c1.png +0 -0
- helm/benchmark/static_build/assets/openai-3f8653e4.png +0 -0
- helm/benchmark/static_build/assets/react-d4a0b69b.js +85 -0
- helm/benchmark/static_build/assets/recharts-6d337683.js +97 -0
- helm/benchmark/static_build/assets/tii-24de195c.png +0 -0
- helm/benchmark/static_build/assets/together-a665a35b.png +0 -0
- helm/benchmark/static_build/assets/tremor-54a99cc4.js +10 -0
- helm/benchmark/static_build/assets/tsinghua-keg-97d4b395.png +0 -0
- helm/benchmark/static_build/assets/vhelm-framework-cde7618a.png +0 -0
- helm/benchmark/static_build/assets/vhelm-model-6d812526.png +0 -0
- helm/benchmark/static_build/assets/yandex-38e09d70.png +0 -0
- helm/benchmark/static_build/config.js +4 -0
- helm/benchmark/static_build/index.html +20 -0
- helm/benchmark/test_data_preprocessor.py +3 -3
- helm/benchmark/test_model_deployment_definition.py +90 -0
- helm/benchmark/test_run_expander.py +1 -1
- helm/benchmark/tokenizer_config_registry.py +10 -14
- helm/benchmark/window_services/ai21_window_service.py +22 -33
- helm/benchmark/window_services/cohere_window_service.py +1 -63
- helm/benchmark/window_services/default_window_service.py +2 -35
- helm/benchmark/window_services/encoder_decoder_window_service.py +0 -11
- helm/benchmark/window_services/ice_window_service.py +0 -34
- helm/benchmark/window_services/image_generation/__init__.py +0 -0
- helm/benchmark/window_services/image_generation/clip_window_service.py +15 -0
- helm/benchmark/window_services/image_generation/lexica_search_window_service.py +9 -0
- helm/benchmark/window_services/image_generation/openai_dalle_window_service.py +9 -0
- helm/benchmark/window_services/image_generation/test_clip_window_service.py +29 -0
- helm/benchmark/window_services/image_generation/test_openai_dalle_window_service.py +30 -0
- helm/benchmark/window_services/local_window_service.py +21 -4
- helm/benchmark/window_services/no_decoding_window_service.py +32 -0
- helm/benchmark/window_services/test_anthropic_window_service.py +2 -1
- helm/benchmark/window_services/test_bloom_window_service.py +2 -1
- helm/benchmark/window_services/test_cohere_window_service.py +2 -1
- helm/benchmark/window_services/test_flan_t5_window_service.py +2 -1
- helm/benchmark/window_services/test_gpt2_window_service.py +2 -2
- helm/benchmark/window_services/test_gpt4_window_service.py +2 -1
- helm/benchmark/window_services/test_gptj_window_service.py +3 -2
- helm/benchmark/window_services/test_gptneox_window_service.py +3 -2
- helm/benchmark/window_services/test_ice_window_service.py +2 -1
- helm/benchmark/window_services/test_openai_window_service.py +2 -1
- helm/benchmark/window_services/test_opt_window_service.py +3 -2
- helm/benchmark/window_services/test_palmyra_window_service.py +2 -1
- helm/benchmark/window_services/test_t0pp_window_service.py +2 -1
- helm/benchmark/window_services/test_t511b_window_service.py +2 -1
- helm/benchmark/window_services/test_ul2_window_service.py +2 -1
- helm/benchmark/window_services/test_utils.py +3 -2
- helm/benchmark/window_services/test_yalm_window_service.py +2 -1
- helm/benchmark/window_services/window_service.py +42 -0
- helm/benchmark/window_services/window_service_factory.py +24 -269
- helm/benchmark/window_services/yalm_window_service.py +0 -27
- helm/clients/__init__.py +0 -0
- helm/{proxy/clients → clients}/ai21_client.py +5 -12
- helm/clients/aleph_alpha_client.py +112 -0
- helm/{proxy/clients → clients}/anthropic_client.py +213 -24
- helm/clients/auto_client.py +215 -0
- helm/clients/bedrock_client.py +128 -0
- helm/clients/bedrock_utils.py +72 -0
- helm/{proxy/clients → clients}/client.py +67 -55
- helm/clients/clip_score_client.py +49 -0
- helm/clients/clip_scorers/__init__.py +0 -0
- helm/clients/clip_scorers/base_clip_scorer.py +18 -0
- helm/clients/clip_scorers/clip_scorer.py +50 -0
- helm/clients/clip_scorers/multilingual_clip_scorer.py +50 -0
- helm/{proxy/clients → clients}/cohere_client.py +6 -17
- helm/clients/gcs_client.py +82 -0
- helm/{proxy/clients → clients}/google_client.py +7 -8
- helm/clients/google_translate_client.py +35 -0
- helm/{proxy/clients → clients}/http_model_client.py +6 -10
- helm/{proxy/clients → clients}/huggingface_client.py +134 -92
- helm/clients/image_generation/__init__.py +0 -0
- helm/clients/image_generation/adobe_vision_client.py +78 -0
- helm/clients/image_generation/aleph_alpha_image_generation_client.py +98 -0
- helm/clients/image_generation/cogview2/__init__.py +0 -0
- helm/clients/image_generation/cogview2/coglm_strategy.py +96 -0
- helm/clients/image_generation/cogview2/coglm_utils.py +82 -0
- helm/clients/image_generation/cogview2/sr_pipeline/__init__.py +15 -0
- helm/clients/image_generation/cogview2/sr_pipeline/direct_sr.py +96 -0
- helm/clients/image_generation/cogview2/sr_pipeline/dsr_model.py +254 -0
- helm/clients/image_generation/cogview2/sr_pipeline/dsr_sampling.py +190 -0
- helm/clients/image_generation/cogview2/sr_pipeline/iterative_sr.py +141 -0
- helm/clients/image_generation/cogview2/sr_pipeline/itersr_model.py +269 -0
- helm/clients/image_generation/cogview2/sr_pipeline/itersr_sampling.py +120 -0
- helm/clients/image_generation/cogview2/sr_pipeline/sr_group.py +42 -0
- helm/clients/image_generation/cogview2_client.py +191 -0
- helm/clients/image_generation/dalle2_client.py +192 -0
- helm/clients/image_generation/dalle3_client.py +108 -0
- helm/clients/image_generation/dalle_mini/__init__.py +3 -0
- helm/clients/image_generation/dalle_mini/data.py +442 -0
- helm/clients/image_generation/dalle_mini/model/__init__.py +5 -0
- helm/clients/image_generation/dalle_mini/model/configuration.py +175 -0
- helm/clients/image_generation/dalle_mini/model/modeling.py +1834 -0
- helm/clients/image_generation/dalle_mini/model/partitions.py +84 -0
- helm/clients/image_generation/dalle_mini/model/processor.py +63 -0
- helm/clients/image_generation/dalle_mini/model/text.py +251 -0
- helm/clients/image_generation/dalle_mini/model/tokenizer.py +9 -0
- helm/clients/image_generation/dalle_mini/model/utils.py +29 -0
- helm/clients/image_generation/dalle_mini/vqgan_jax/__init__.py +1 -0
- helm/clients/image_generation/dalle_mini/vqgan_jax/configuration_vqgan.py +40 -0
- helm/clients/image_generation/dalle_mini/vqgan_jax/convert_pt_model_to_jax.py +107 -0
- helm/clients/image_generation/dalle_mini/vqgan_jax/modeling_flax_vqgan.py +610 -0
- helm/clients/image_generation/dalle_mini_client.py +190 -0
- helm/clients/image_generation/deep_floyd_client.py +78 -0
- helm/clients/image_generation/huggingface_diffusers_client.py +249 -0
- helm/clients/image_generation/image_generation_client_utils.py +9 -0
- helm/clients/image_generation/lexica_client.py +86 -0
- helm/clients/image_generation/mindalle/__init__.py +0 -0
- helm/clients/image_generation/mindalle/models/__init__.py +216 -0
- helm/clients/image_generation/mindalle/models/stage1/__init__.py +0 -0
- helm/clients/image_generation/mindalle/models/stage1/layers.py +312 -0
- helm/clients/image_generation/mindalle/models/stage1/vqgan.py +103 -0
- helm/clients/image_generation/mindalle/models/stage2/__init__.py +0 -0
- helm/clients/image_generation/mindalle/models/stage2/layers.py +144 -0
- helm/clients/image_generation/mindalle/models/stage2/transformer.py +268 -0
- helm/clients/image_generation/mindalle/models/tokenizer.py +30 -0
- helm/clients/image_generation/mindalle/utils/__init__.py +3 -0
- helm/clients/image_generation/mindalle/utils/config.py +129 -0
- helm/clients/image_generation/mindalle/utils/sampling.py +149 -0
- helm/clients/image_generation/mindalle/utils/utils.py +89 -0
- helm/clients/image_generation/mindalle_client.py +115 -0
- helm/clients/image_generation/nudity_check_client.py +64 -0
- helm/clients/image_generation/together_image_generation_client.py +111 -0
- helm/{proxy/clients → clients}/lit_gpt_client.py +7 -5
- helm/{proxy/clients → clients}/megatron_client.py +13 -7
- helm/clients/mistral_client.py +134 -0
- helm/clients/moderation_api_client.py +109 -0
- helm/clients/open_lm_client.py +43 -0
- helm/clients/openai_client.py +302 -0
- helm/{proxy/clients → clients}/palmyra_client.py +15 -12
- helm/{proxy/clients → clients}/perspective_api_client.py +7 -8
- helm/clients/simple_client.py +64 -0
- helm/{proxy/clients → clients}/test_auto_client.py +15 -15
- helm/clients/test_client.py +100 -0
- helm/clients/test_huggingface_client.py +70 -0
- helm/clients/test_simple_client.py +19 -0
- helm/{proxy/clients → clients}/test_together_client.py +23 -12
- helm/{proxy/clients → clients}/together_client.py +18 -71
- helm/clients/vertexai_client.py +391 -0
- helm/clients/vision_language/__init__.py +0 -0
- helm/clients/vision_language/huggingface_vlm_client.py +104 -0
- helm/{proxy/clients → clients}/vision_language/idefics_client.py +59 -52
- helm/clients/vision_language/open_flamingo/__init__.py +2 -0
- helm/clients/vision_language/open_flamingo/src/__init__.py +0 -0
- helm/clients/vision_language/open_flamingo/src/factory.py +147 -0
- helm/clients/vision_language/open_flamingo/src/flamingo.py +337 -0
- helm/clients/vision_language/open_flamingo/src/flamingo_lm.py +155 -0
- helm/clients/vision_language/open_flamingo/src/helpers.py +267 -0
- helm/clients/vision_language/open_flamingo/src/utils.py +47 -0
- helm/clients/vision_language/open_flamingo_client.py +155 -0
- helm/clients/vision_language/qwen_vlm_client.py +171 -0
- helm/clients/vllm_client.py +46 -0
- helm/common/cache.py +24 -179
- helm/common/cache_backend_config.py +47 -0
- helm/common/clip_score_request.py +41 -0
- helm/common/concurrency.py +32 -0
- helm/common/credentials_utils.py +28 -0
- helm/common/file_caches/__init__.py +0 -0
- helm/common/file_caches/file_cache.py +16 -0
- helm/common/file_caches/local_file_cache.py +61 -0
- helm/common/file_caches/test_local_file_cache.py +25 -0
- helm/common/file_upload_request.py +27 -0
- helm/common/general.py +29 -10
- helm/common/image_generation_parameters.py +25 -0
- helm/common/images_utils.py +24 -1
- helm/common/key_value_store.py +113 -0
- helm/common/media_object.py +13 -0
- helm/common/moderations_api_request.py +71 -0
- helm/common/mongo_key_value_store.py +88 -0
- helm/common/multimodal_request_utils.py +31 -0
- helm/common/nudity_check_request.py +29 -0
- helm/common/object_spec.py +2 -2
- helm/common/request.py +36 -27
- helm/common/test_general.py +6 -0
- helm/common/tokenization_request.py +6 -3
- helm/config/__init__.py +0 -0
- helm/config/model_deployments.yaml +1942 -0
- helm/config/model_metadata.yaml +2201 -0
- helm/config/tokenizer_configs.yaml +362 -0
- helm/proxy/accounts.py +31 -4
- helm/proxy/critique/mechanical_turk_critique_importer.py +3 -0
- helm/proxy/critique/model_critique_client.py +13 -5
- helm/proxy/example_queries.py +29 -17
- helm/proxy/retry.py +8 -2
- helm/proxy/server.py +77 -5
- helm/proxy/services/remote_service.py +31 -0
- helm/proxy/services/server_service.py +103 -20
- helm/proxy/services/service.py +34 -2
- helm/proxy/services/test_remote_service.py +7 -6
- helm/proxy/services/test_service.py +27 -18
- helm/proxy/test_accounts.py +32 -0
- helm/proxy/token_counters/auto_token_counter.py +37 -37
- helm/proxy/token_counters/test_auto_token_counter.py +164 -0
- helm/proxy/token_counters/token_counter.py +3 -5
- helm/py.typed +0 -0
- helm/tokenizers/__init__.py +0 -0
- helm/{proxy/tokenizers → tokenizers}/ai21_tokenizer.py +3 -3
- helm/{proxy/tokenizers → tokenizers}/aleph_alpha_tokenizer.py +3 -1
- helm/{proxy/tokenizers → tokenizers}/anthropic_tokenizer.py +17 -11
- helm/tokenizers/auto_tokenizer.py +93 -0
- helm/{proxy/tokenizers → tokenizers}/caching_tokenizer.py +8 -2
- helm/{proxy/tokenizers → tokenizers}/cohere_tokenizer.py +1 -1
- helm/{proxy/tokenizers → tokenizers}/http_model_tokenizer.py +3 -3
- helm/{proxy/tokenizers → tokenizers}/huggingface_tokenizer.py +56 -60
- helm/tokenizers/simple_tokenizer.py +33 -0
- helm/tokenizers/test_anthropic_tokenizer.py +82 -0
- helm/tokenizers/test_huggingface_tokenizer.py +136 -0
- helm/tokenizers/test_simple_tokenizer.py +33 -0
- helm/tokenizers/vertexai_tokenizer.py +97 -0
- helm/{proxy/tokenizers → tokenizers}/yalm_tokenizer.py +5 -3
- helm/tokenizers/yalm_tokenizer_data/__init__.py +0 -0
- helm/tokenizers/yalm_tokenizer_data/voc_100b.sp +0 -0
- helm/{proxy/tokenizers → tokenizers}/yalm_tokenizer_data/yalm_tokenizer.py +1 -1
- crfm_helm-0.3.0.dist-info/RECORD +0 -396
- helm/benchmark/vlm_run_specs.py +0 -71
- helm/benchmark/window_services/anthropic_window_service.py +0 -68
- helm/benchmark/window_services/bloom_window_service.py +0 -35
- helm/benchmark/window_services/flan_t5_window_service.py +0 -29
- helm/benchmark/window_services/gpt2_window_service.py +0 -32
- helm/benchmark/window_services/gptj_window_service.py +0 -38
- helm/benchmark/window_services/gptneox_window_service.py +0 -41
- helm/benchmark/window_services/http_model_window_service.py +0 -28
- helm/benchmark/window_services/huggingface_window_service.py +0 -59
- helm/benchmark/window_services/lit_gpt_window_service.py +0 -27
- helm/benchmark/window_services/llama_window_service.py +0 -28
- helm/benchmark/window_services/luminous_window_service.py +0 -67
- helm/benchmark/window_services/megatron_window_service.py +0 -10
- helm/benchmark/window_services/mt_nlg_window_service.py +0 -27
- helm/benchmark/window_services/openai_window_service.py +0 -13
- helm/benchmark/window_services/opt_window_service.py +0 -35
- helm/benchmark/window_services/palmyra_window_service.py +0 -45
- helm/benchmark/window_services/remote_window_service.py +0 -48
- helm/benchmark/window_services/santacoder_window_service.py +0 -27
- helm/benchmark/window_services/starcoder_window_service.py +0 -27
- helm/benchmark/window_services/t0pp_window_service.py +0 -35
- helm/benchmark/window_services/t511b_window_service.py +0 -30
- helm/benchmark/window_services/test_mt_nlg_window_service.py +0 -48
- helm/benchmark/window_services/ul2_window_service.py +0 -30
- helm/benchmark/window_services/wider_ai21_window_service.py +0 -24
- helm/benchmark/window_services/wider_openai_window_service.py +0 -52
- helm/proxy/clients/aleph_alpha_client.py +0 -99
- helm/proxy/clients/auto_client.py +0 -461
- helm/proxy/clients/goose_ai_client.py +0 -100
- helm/proxy/clients/microsoft_client.py +0 -182
- helm/proxy/clients/openai_client.py +0 -206
- helm/proxy/clients/remote_model_registry.py +0 -28
- helm/proxy/clients/simple_client.py +0 -61
- helm/proxy/clients/test_anthropic_client.py +0 -63
- helm/proxy/clients/test_client.py +0 -31
- helm/proxy/clients/test_huggingface_client.py +0 -87
- helm/proxy/models.py +0 -963
- helm/proxy/test_models.py +0 -27
- helm/proxy/token_counters/ai21_token_counter.py +0 -20
- helm/proxy/token_counters/cohere_token_counter.py +0 -13
- helm/proxy/token_counters/free_token_counter.py +0 -12
- helm/proxy/token_counters/gooseai_token_counter.py +0 -24
- helm/proxy/token_counters/openai_token_counter.py +0 -22
- helm/proxy/token_counters/test_ai21_token_counter.py +0 -86
- helm/proxy/token_counters/test_openai_token_counter.py +0 -79
- helm/proxy/tokenizers/simple_tokenizer.py +0 -32
- helm/proxy/tokenizers/test_huggingface_tokenizer.py +0 -56
- {crfm_helm-0.3.0.dist-info → crfm_helm-0.5.0.dist-info}/LICENSE +0 -0
- {crfm_helm-0.3.0.dist-info → crfm_helm-0.5.0.dist-info}/entry_points.txt +0 -0
- {crfm_helm-0.3.0.dist-info → crfm_helm-0.5.0.dist-info}/top_level.txt +0 -0
- /helm/{proxy/clients → benchmark/annotation}/__init__.py +0 -0
- /helm/{proxy/clients/vision_language → benchmark/annotation/image2structure}/__init__.py +0 -0
- /helm/{proxy/tokenizers → benchmark/metrics/image_generation}/__init__.py +0 -0
- /helm/{proxy/tokenizers/yalm_tokenizer_data → benchmark/metrics/image_generation/detectors}/__init__.py +0 -0
- /helm/{proxy/clients → clients}/ai21_utils.py +0 -0
- /helm/{proxy/clients → clients}/cohere_utils.py +0 -0
- /helm/{proxy/clients → clients}/lit_gpt_generate.py +0 -0
- /helm/{proxy/clients → clients}/toxicity_classifier_client.py +0 -0
- /helm/{proxy/tokenizers → tokenizers}/ice_tokenizer.py +0 -0
- /helm/{proxy/tokenizers → tokenizers}/lit_gpt_tokenizer.py +0 -0
- /helm/{proxy/tokenizers → tokenizers}/test_ice_tokenizer.py +0 -0
- /helm/{proxy/tokenizers → tokenizers}/test_yalm_tokenizer.py +0 -0
- /helm/{proxy/tokenizers → tokenizers}/tiktoken_tokenizer.py +0 -0
- /helm/{proxy/tokenizers → tokenizers}/tokenizer.py +0 -0
- /helm/{proxy/tokenizers → tokenizers}/yalm_tokenizer_data/test_yalm_tokenizer.py +0 -0
crfm_helm-0.3.0.dist-info/RECORD
DELETED
|
@@ -1,396 +0,0 @@
|
|
|
1
|
-
helm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
helm/benchmark/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
-
helm/benchmark/data_preprocessor.py,sha256=aNdM-o2t4qkLIQHiQeWUFg03DjjJ8HTBIphYCK8pXVo,2173
|
|
4
|
-
helm/benchmark/executor.py,sha256=zi3YzO1rFHegwWYZcu7HC6ClqgqjhzSAdVgIOMk20G8,3586
|
|
5
|
-
helm/benchmark/huggingface_registration.py,sha256=PYuPamPXPU00PgCGPH76wlvSd6jQegkFOB61oNBcWus,2644
|
|
6
|
-
helm/benchmark/model_deployment_registry.py,sha256=8nJMaUD_9R-hVDrI8YiAQ1dmFywWYmfESRrjNtQPwkM,3230
|
|
7
|
-
helm/benchmark/model_metadata_registry.py,sha256=73zAGuEPerNTMF_RxW8kjMfc91gREyoZ_GOe307_fMw,2192
|
|
8
|
-
helm/benchmark/run.py,sha256=Ql0JsSmiGLzRXBgb7O7VLz0G_Wy-tLisYUJTDmR8Kvg,12109
|
|
9
|
-
helm/benchmark/run_expander.py,sha256=-3VVv4gVUM9CNM71HRl85vS0Kl44QP79PnVAZ1b6PsI,37884
|
|
10
|
-
helm/benchmark/run_specs.py,sha256=uOc9IIhoy0uXFDPhqjIagXp4E4UsqpQzRwk948dAYqk,97948
|
|
11
|
-
helm/benchmark/runner.py,sha256=mRA5tcKKuvFzXLR51M49rF6pPPG7so3_6U-5HyVSjyg,12653
|
|
12
|
-
helm/benchmark/server.py,sha256=aWlLkaeJV0e2Ge3w8wXRszAYzNXNXzqnnTyoJ91MeyE,3305
|
|
13
|
-
helm/benchmark/slurm_jobs.py,sha256=uN-rdTcjv8Klm5xncovse4VN-RbkbCtUXP8hoA1BL0w,2903
|
|
14
|
-
helm/benchmark/slurm_runner.py,sha256=hNZWhWkJx8PWqGIpXmoJLS3sprZZP6z-mdH99Q2_56A,15320
|
|
15
|
-
helm/benchmark/test_data_preprocessor.py,sha256=xIwFuhb7WpdGLfFq9gfBEzPlsmyIEZMuHW4iPtq2HEY,2180
|
|
16
|
-
helm/benchmark/test_run_expander.py,sha256=nVxlsu5mFC-omMTTSDR0CHAaDDnI1sXbLxjCj4Xuu6I,1161
|
|
17
|
-
helm/benchmark/tokenizer_config_registry.py,sha256=BKDVqRK6fiw6Ob9Cefq4se5JgAd63Ftey7R_TredEA0,1624
|
|
18
|
-
helm/benchmark/vlm_run_specs.py,sha256=2Jzz3fgQNxVjkOP7o7MjHIZVWButLveUotausqiIaYk,2223
|
|
19
|
-
helm/benchmark/adaptation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
20
|
-
helm/benchmark/adaptation/adapter_spec.py,sha256=VDDbnoeevlz72pJ_ZPqNhITPpuxV1cgVlipzLb2wHlA,3026
|
|
21
|
-
helm/benchmark/adaptation/prompt.py,sha256=MATerIUIhFp_BMGvK7bLpNtWH6Oi4kknjBjOkr2bHv4,1948
|
|
22
|
-
helm/benchmark/adaptation/request_state.py,sha256=o3OpZbB0TJFiZ2Nmhvg3vWmByaUSYTffT_WnoNb7w68,2712
|
|
23
|
-
helm/benchmark/adaptation/scenario_state.py,sha256=ZflBuNgvN0JqUhshFcy0kTweO1WJs6j5UCaTxWTMe0o,1747
|
|
24
|
-
helm/benchmark/adaptation/adapters/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
25
|
-
helm/benchmark/adaptation/adapters/adapter.py,sha256=bKJPLT0FHUh2SQ_3S4g32ibwM8KHBfH04RJN8dj5l4Q,2899
|
|
26
|
-
helm/benchmark/adaptation/adapters/adapter_factory.py,sha256=VUBOfOWKC8k0FimJ5ZW8CZZVK0W33eg801wK1ZhYIjg,2627
|
|
27
|
-
helm/benchmark/adaptation/adapters/binary_ranking_adapter.py,sha256=hNw2KnVNnSn1jGM82Rf93enu7bXKhc-JxV8G-oOsHnI,5713
|
|
28
|
-
helm/benchmark/adaptation/adapters/generation_adapter.py,sha256=qn67Xfm-vsjP2BSIDr0Y3sb8dSGBguzY9-MOiscDXXo,1994
|
|
29
|
-
helm/benchmark/adaptation/adapters/in_context_learning_adapter.py,sha256=IyBk314PWm-6GEPq1iinapIOEwzQCX4zkT3C9GoYq5M,14185
|
|
30
|
-
helm/benchmark/adaptation/adapters/language_modeling_adapter.py,sha256=Pw2_PlPFPzi17gXl6lL03T3Y9xYpb2gRMU_pD7bkNDU,14183
|
|
31
|
-
helm/benchmark/adaptation/adapters/multiple_choice_calibrated_adapter.py,sha256=VJ66MfIGQWJg0VXCV0MJEMwF9Jx1DeJ7RxsgYlOTx_4,1889
|
|
32
|
-
helm/benchmark/adaptation/adapters/multiple_choice_joint_adapter.py,sha256=7oRHPXdFLDiN8v6Nkw4FJJqiisJb8ULN_XWOtl3us3Q,3920
|
|
33
|
-
helm/benchmark/adaptation/adapters/multiple_choice_separate_adapter.py,sha256=VUUzM6Vqh9DHHOU3FqJ08rtng1x4yu0AX7SGWMjZj2A,2091
|
|
34
|
-
helm/benchmark/adaptation/adapters/test_adapter.py,sha256=u-c7K6VH6yvymRtPjoWRBIjk0vs41g7IWOfv1w9Sxn0,620
|
|
35
|
-
helm/benchmark/adaptation/adapters/test_generation_adapter.py,sha256=uJAchU2nE_w6QvsZGhM8itllhA5_lN-zrW8RPdHrBkk,11291
|
|
36
|
-
helm/benchmark/adaptation/adapters/test_language_modeling_adapter.py,sha256=-WR150g1n-bSEFMFnhdD4Hk8-DZmAzd7UHFX_EBRZ7M,6268
|
|
37
|
-
helm/benchmark/adaptation/adapters/test_multiple_choice_joint_adapter.py,sha256=gwdhdqQBwWQniZIH9qV9y1zgugjNRhL41EqfQ1X7-FQ,7060
|
|
38
|
-
helm/benchmark/adaptation/adapters/multimodal/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
39
|
-
helm/benchmark/adaptation/adapters/multimodal/generation_multimodal_adapter.py,sha256=3RjCqvbUPJ_f1HAYCBLrfqI49u5wKRjHJznh4BXfe5k,1816
|
|
40
|
-
helm/benchmark/adaptation/adapters/multimodal/in_context_learning_multimodal_adapter.py,sha256=0lZ5eS1jtc18ngQAIIFXWjnmdgNeg4xlGXbd8MlTNk8,6235
|
|
41
|
-
helm/benchmark/adaptation/adapters/multimodal/multimodal_prompt.py,sha256=5jdVVfWf0lBErwzDamIHozZSbf1mEkpmACX8mPlHJc0,1907
|
|
42
|
-
helm/benchmark/adaptation/adapters/multimodal/test_in_context_learning_multimodal_adapter.py,sha256=V-VAs0brUiPDNDSGe9e0CaAPczLlGjdb4fyzXhFnI6Y,9909
|
|
43
|
-
helm/benchmark/adaptation/adapters/multimodal/test_multimodal_prompt.py,sha256=2OZhhOtEZ7RvItHZD4AGsefXvVUwEQZL2T-ESHPsvdI,3482
|
|
44
|
-
helm/benchmark/augmentations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
45
|
-
helm/benchmark/augmentations/cleva_perturbation.py,sha256=W_HXYqkvrYIN8pc-uZTD5wMODfTZKPmdBg8IvjO0cl4,29452
|
|
46
|
-
helm/benchmark/augmentations/contraction_expansion_perturbation.py,sha256=j6KqdLnqBlp8rC-n0KDbxx12E581Q6RoLXdjrutf_F8,4838
|
|
47
|
-
helm/benchmark/augmentations/contrast_sets_perturbation.py,sha256=BzXL5FwGTFlYnHbqJOcNS_Dco_wKoU3CsCELXgBP9Pc,3530
|
|
48
|
-
helm/benchmark/augmentations/correct_to_misspelling.json,sha256=L44RiJXlJCa6zQzTLf0MFHCOhFyRDRKfLQNXH-n3XIs,213429
|
|
49
|
-
helm/benchmark/augmentations/data_augmenter.py,sha256=57LA6h7z1tVMy_xGcW46F1KRi3D4wnv0fi8XeJjsi2c,3849
|
|
50
|
-
helm/benchmark/augmentations/dialect_perturbation.py,sha256=HJXQ87CSGt98QYIeIu24KSPN7NG8CTLxJsqolYeD7So,6309
|
|
51
|
-
helm/benchmark/augmentations/extra_space_perturbation.py,sha256=9_pmthcyFfuYu6GsJB03hKkhvDZqqfH7hOeSNZRohSg,835
|
|
52
|
-
helm/benchmark/augmentations/filler_words_perturbation.py,sha256=HWzGrH405RwxWxtgUs6Tc-yZZwSRqLHM6zOppPquDgI,2914
|
|
53
|
-
helm/benchmark/augmentations/gender_perturbation.py,sha256=Q_Y1POwiCrM_cRNuzaTX7_anjO5U-o9dhT9fLQdvkOQ,9381
|
|
54
|
-
helm/benchmark/augmentations/lowercase_perturbation.py,sha256=gh4h1WVEBIgd4LqZgdHQbYyWd4oMJoV_RiLyJTefxPc,511
|
|
55
|
-
helm/benchmark/augmentations/mild_mix_perturbation.py,sha256=2ItUy3ck6BgcoJuqF6F_zdex4trDrYu96Auz8rt3ytY,1779
|
|
56
|
-
helm/benchmark/augmentations/misspelling_perturbation.py,sha256=uETjdCot323yAeFm9a9DkL5uNa-h50hMm2HOhKYBjaM,2136
|
|
57
|
-
helm/benchmark/augmentations/person_name_perturbation.py,sha256=gn0P6V_tlbC0zg37mUGKfDnPQmH-HQPsyAKxZ-8pa78,14708
|
|
58
|
-
helm/benchmark/augmentations/perturbation.py,sha256=xwOu6aujOIAYINVuvWamh3yYB40-rCy5cnaHuhfSFTc,2744
|
|
59
|
-
helm/benchmark/augmentations/perturbation_description.py,sha256=VU3lo-7QJsHZNHKzQjYRRqxF73xUQ8AhQAaJUJk7x4Y,1185
|
|
60
|
-
helm/benchmark/augmentations/space_perturbation.py,sha256=7OdpoibdizoPDBPpLc1ENyJhhKW8oRNaUeR_j9-PtJ4,927
|
|
61
|
-
helm/benchmark/augmentations/synonym_perturbation.py,sha256=f-t43JhVVX66tx3KqcVqav901wIj1O-XMhhlctqJydg,4143
|
|
62
|
-
helm/benchmark/augmentations/test_perturbation.py,sha256=SNvAdUs2ZHP6OQAeOPMnvJgHldzdB2lVAS25SOU3rsc,11537
|
|
63
|
-
helm/benchmark/augmentations/typos_perturbation.py,sha256=nfF1Zw2REKZEnnyPVFWD87MP8L5ANbaZXeI2n70Sonw,2790
|
|
64
|
-
helm/benchmark/data_overlap/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
65
|
-
helm/benchmark/data_overlap/data_overlap_spec.py,sha256=aj_l1l0qxUbUMrSWr70-Sb1j_JN-7WYop5BXPG_xj44,1998
|
|
66
|
-
helm/benchmark/data_overlap/export_scenario_text.py,sha256=OiFsU_qME2_I87yDSNPfuAVI5Y9MbPEcEliYK6TaAEE,4527
|
|
67
|
-
helm/benchmark/data_overlap/light_scenario.py,sha256=UFUr8plZD32e2TJTjFZLxTwD-ZRb9eYnHk2U3ZD8P40,1074
|
|
68
|
-
helm/benchmark/efficiency_data/inference_denoised_runtimes.json,sha256=ios_dt-_8wtXvkVAx0iI2zwCxqHvk3XKTx31qHPalsI,4203
|
|
69
|
-
helm/benchmark/efficiency_data/inference_idealized_runtimes.json,sha256=5w7reeZc0yc4cjH8kJGxQQSoe8yaRVX2SSlSrx0QWFQ,12348
|
|
70
|
-
helm/benchmark/efficiency_data/training_efficiency.json,sha256=aH2moiBLStOLVi8Ci2KTK5ZkWlTBLK-B3fRfNZwhoSg,9763
|
|
71
|
-
helm/benchmark/metrics/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
72
|
-
helm/benchmark/metrics/basic_metrics.py,sha256=TnDXzb2sAMlWjZqtqECHRd2wzC3EhOzE84SSulWfUqY,43000
|
|
73
|
-
helm/benchmark/metrics/bbq_metrics.py,sha256=H44mwKXLJ0PXo-sVKgRHCEKjZGnCahDD6GOQMWpnbOQ,6061
|
|
74
|
-
helm/benchmark/metrics/bias_metrics.py,sha256=uVJFQvDSzvPR1ELu0FNYyExjRy2ThaJRCw8beEMDqJs,11309
|
|
75
|
-
helm/benchmark/metrics/bias_word_lists.py,sha256=mx5JjW3mHffXIqo4GcQN-zENUEttBqQnEjPTz3J3J_4,13909
|
|
76
|
-
helm/benchmark/metrics/classification_metrics.py,sha256=pgY8BToHw61lfPTswEW2Da8L4rkWJhthMBYVWnngzuw,5442
|
|
77
|
-
helm/benchmark/metrics/cleva_accuracy_metrics.py,sha256=nSrtxGtIXPFcLrz9mNMYRfJqgQMzoCuf4i3TcQx6Rzw,2580
|
|
78
|
-
helm/benchmark/metrics/cleva_harms_metrics.py,sha256=MrsSAvpOuGGFtVL8RfrG5bNbVTr3LmfhuNfnV4PrAuE,11085
|
|
79
|
-
helm/benchmark/metrics/cleva_metrics_helper.py,sha256=8UwiGhekUmp7DxYWU4rxqX2v3ewkg-O5-jOh49iOGmc,304
|
|
80
|
-
helm/benchmark/metrics/code_metrics.py,sha256=uWdigk0QyEsfVHQzq9KxkOc-LROvcqWXeui42Mr0YF4,5119
|
|
81
|
-
helm/benchmark/metrics/code_metrics_helper.py,sha256=byyuI1lJgbIDPVJzywaBsam9zFMPPyn28g1grsK9xyA,22336
|
|
82
|
-
helm/benchmark/metrics/copyright_metrics.py,sha256=X9j3YsfzWEoGpgPpIvCzm18-JggLAW5QFooifE1KqaM,7729
|
|
83
|
-
helm/benchmark/metrics/disinformation_metrics.py,sha256=0Tpdbx_6Ql-ZCaDKbQDSROMSVG574IxADMVJvGu5TU0,10755
|
|
84
|
-
helm/benchmark/metrics/dry_run_metrics.py,sha256=RFUjmHhxyKWm6fSIZMXFGZWsSlREjvy5KDXYLF5Gnx0,3623
|
|
85
|
-
helm/benchmark/metrics/instruction_following_critique_metrics.py,sha256=-cHgmSKy-Z7ZT4ZFguI4EY6OiEp4MltXBq8zTEXBtaY,9757
|
|
86
|
-
helm/benchmark/metrics/machine_translation_metrics.py,sha256=YOsJWuW7felpZc0c2bS5H9cqnJHokhqVXm1cPzMI5I8,3680
|
|
87
|
-
helm/benchmark/metrics/metric.py,sha256=GEa8xt7SSIaoZMs76bImII1HUxs9mhchIiNFaoG8IIk,18767
|
|
88
|
-
helm/benchmark/metrics/metric_name.py,sha256=hk5WQ6uj_9EjgKKFawPenL2-XOMf-aKvNRkOxlu4nCo,1355
|
|
89
|
-
helm/benchmark/metrics/metric_service.py,sha256=W3BqPoWikPQ8eGTUmcDIqMQK1IM1tymrjL741G2BSjY,989
|
|
90
|
-
helm/benchmark/metrics/numeracy_metrics.py,sha256=panMWD3a1NPerg3Ix7l6NhR7jGOIQOQV9i_KysBeDA8,2818
|
|
91
|
-
helm/benchmark/metrics/paraphrase_generation_metrics.py,sha256=EbdVAJkK9ueA6k4rEdB34jbE_xeh-o164sPiWieLAYo,1885
|
|
92
|
-
helm/benchmark/metrics/ranking_metrics.py,sha256=EZUEbpID-cUO8JI2JzuLzCQ1Brwd5Ty5rzb7XZyGH90,17399
|
|
93
|
-
helm/benchmark/metrics/statistic.py,sha256=FuxNxMtAfiCkOxBS9KHlhEyxe61e0YXt2emvsufgPZQ,3424
|
|
94
|
-
helm/benchmark/metrics/summarization_critique_metrics.py,sha256=Lf7PDuce62HDzyofsyxaOvH0QvzcaS-vJvDWtIs8xKk,4694
|
|
95
|
-
helm/benchmark/metrics/summarization_metrics.py,sha256=8uZ-OGpFIro0U7YHya_c1dv9DFWlkCYhz6lJYd9mVBM,16398
|
|
96
|
-
helm/benchmark/metrics/test_bias_metrics.py,sha256=N22a5UKqSd7TfYBrZS6ciFSOIc1s85pYMwk7m9ufpG0,6274
|
|
97
|
-
helm/benchmark/metrics/test_classification_metrics.py,sha256=usW5ciUYu2ZUUqVjFk4NfZTGNIoBArwia_-8uGOvFpw,5475
|
|
98
|
-
helm/benchmark/metrics/test_metric.py,sha256=S7LGHNCHuhMk582eHylw1tOasUBEf_7F0T4u3tey7b4,757
|
|
99
|
-
helm/benchmark/metrics/test_numeracy_metrics.py,sha256=ls1ZIHDePKpHMoqAbf4HmJ1SIBjLFuLIzGbfg6OiZvM,4162
|
|
100
|
-
helm/benchmark/metrics/test_statistic.py,sha256=AejuYLSeUwEOqpEMRKZFjnxu4HKUraeExU8TPmZEqW4,1229
|
|
101
|
-
helm/benchmark/metrics/toxicity_metrics.py,sha256=6OsuOYX57m6Lvnpe6iYmJAjTGofQ73LBbyCtFCQ2Cbs,4033
|
|
102
|
-
helm/benchmark/metrics/summac/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
103
|
-
helm/benchmark/metrics/summac/model_summac.py,sha256=HNWB5-C0Xnqml4TnXyPZdVegNu4hHJsY2IkzX3rm5Rg,17414
|
|
104
|
-
helm/benchmark/metrics/summac/utils_misc.py,sha256=7_Q1c72cKt8PWtxn8u4R8nB53HK6_JF2nP8bBXYNk-A,1485
|
|
105
|
-
helm/benchmark/metrics/tokens/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
106
|
-
helm/benchmark/metrics/tokens/ai21_token_cost_estimator.py,sha256=WeNP4yiM4TVrD9Kid-uVRmWIVDqETnBsMycZmIBiTZ0,665
|
|
107
|
-
helm/benchmark/metrics/tokens/auto_token_cost_estimator.py,sha256=4BOfjqvYHhkU_ZmDWHMEXJWsrKmCYwXB0anoxQo3bSU,1982
|
|
108
|
-
helm/benchmark/metrics/tokens/cohere_token_cost_estimator.py,sha256=5igmDhWu7H8-qiJnAQqCTQd1WXRewMrpdJdo4qhvSWc,523
|
|
109
|
-
helm/benchmark/metrics/tokens/free_token_cost_estimator.py,sha256=G_6UK6Js_NZ_eqY0ZQnrC9QJVMERGhV1f6v7xq2lM-Y,461
|
|
110
|
-
helm/benchmark/metrics/tokens/gooseai_token_cost_estimator.py,sha256=qMfWdOdjv6XVJKp6w4zUbc1cSHyxj9cJpir02dPJH1w,1145
|
|
111
|
-
helm/benchmark/metrics/tokens/openai_token_cost_estimator.py,sha256=fNNiqltzDTZAqn4tJynC-IqLg1a1mp3D8pTX847UkZM,1387
|
|
112
|
-
helm/benchmark/metrics/tokens/test_ai21_token_cost_estimator.py,sha256=cwNhLb24EyE3y2PqYWQt6IuRakMALaYunu4pU2fEfss,978
|
|
113
|
-
helm/benchmark/metrics/tokens/test_openai_token_cost_estimator.py,sha256=6BpOJ7gHMqGGfZFWMW9GfzyNPtRYvtapA0VnsgetDUo,2400
|
|
114
|
-
helm/benchmark/metrics/tokens/token_cost_estimator.py,sha256=fTGUfhHV6yMwpTkCEMTGMxKO8jskqJz4sAtwXT6M_C8,425
|
|
115
|
-
helm/benchmark/presentation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
116
|
-
helm/benchmark/presentation/contamination.py,sha256=5wLwq266sCxT62MdzAXT9V-au6b07HaL44DLj_2qiSk,2788
|
|
117
|
-
helm/benchmark/presentation/create_plots.py,sha256=31keYiMlJcGecwir6dXSRvhlFSlLz8xb2pBNecmdnYs,28657
|
|
118
|
-
helm/benchmark/presentation/run_display.py,sha256=oglbxacY64XRLQUSSrp4leR-nkSW-GAVF3Cv6YlEAi8,10629
|
|
119
|
-
helm/benchmark/presentation/run_entry.py,sha256=J1QgLOP99N7N4bs7nzXWxyU3pOd-a1j8xwL9ag1nP_Y,1158
|
|
120
|
-
helm/benchmark/presentation/schema.py,sha256=XJqjkkHaIeEGdoFwPtN9GamcXFtqaZG0mF4O7DfBV7I,9296
|
|
121
|
-
helm/benchmark/presentation/summarize.py,sha256=BIh1ydZhDbe8e_n6WI6zMrppt9fzrr5tH8pQ69XlJUc,61984
|
|
122
|
-
helm/benchmark/presentation/table.py,sha256=VzVMwsgP3kItAM6FPRUaTphzJ-ZjriiuFbWlO1rJUMU,2879
|
|
123
|
-
helm/benchmark/presentation/test_contamination.py,sha256=8mnzUzxUW9pXUOuLpU4BBBg0V7Mn1d1s4AQgwy6_kl4,459
|
|
124
|
-
helm/benchmark/presentation/test_create_plots.py,sha256=5PPPegMTdBZurxyyUxI4rN13AVsjV3eQrwFqlobJ8UA,1286
|
|
125
|
-
helm/benchmark/presentation/test_run_entry.py,sha256=3DgIo9H9s-3zaUxGnAGItUKAM2GvGFPXh-_lxn6A_A4,671
|
|
126
|
-
helm/benchmark/presentation/test_summarize.py,sha256=pbYUlzYOju0pkFjMsT_nM04oXhPXLfJIpTvPzZow3bg,1367
|
|
127
|
-
helm/benchmark/scenarios/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
128
|
-
helm/benchmark/scenarios/anthropic_hh_rlhf_scenario.py,sha256=Wyt7J5BAvAqC5JTqCW4fh7ex9-itX11P_9rLTocqvtk,4973
|
|
129
|
-
helm/benchmark/scenarios/babi_qa_scenario.py,sha256=S1tPQY2x1I3hQL1JQ6wvUwvKyiSe7SqpRSW6N3_T0mo,5043
|
|
130
|
-
helm/benchmark/scenarios/bbq_scenario.py,sha256=AMUeFLaO2jiB-FnBbe_a5sZ8OXBuG7_3lgld3dn_jtE,9581
|
|
131
|
-
helm/benchmark/scenarios/big_bench_scenario.py,sha256=bSk8Ia4u_6OqMjiyadpYQAWN-8GFWqvd3Ft3JiVGpi8,8081
|
|
132
|
-
helm/benchmark/scenarios/blimp_scenario.py,sha256=o1MDcHT14KFDET4K9otx8pDiIgXrhsD19pvO0mR2ADU,6260
|
|
133
|
-
helm/benchmark/scenarios/bold_scenario.py,sha256=-Gg9C7lY8VFXU-sv5RmNOUZ3NXOJqvZtWsZC2iBEAlo,4110
|
|
134
|
-
helm/benchmark/scenarios/boolq_scenario.py,sha256=rvSp5SwXMCVzBo5BFxfhj1Xv06_ksqKrtTQR7nPiS-o,8013
|
|
135
|
-
helm/benchmark/scenarios/civil_comments_scenario.py,sha256=VO5G-cQ9qctmBN0O76uSewnO_mFslMo5mbR2ZTrjuds,4851
|
|
136
|
-
helm/benchmark/scenarios/cleva_scenario.py,sha256=eNnAVmzAzTwTIrWG-O52084k9OGAKhg3wVIbcDok9xo,58540
|
|
137
|
-
helm/benchmark/scenarios/code_scenario.py,sha256=dYaygIZnoUcDnjvz243ddiO8kOrb0V5VHaVOJgiwocY,12202
|
|
138
|
-
helm/benchmark/scenarios/code_scenario_apps_pinned_file_order.py,sha256=KC-5MQ-d8Nn46aDN4FaPxmd6yk1DtVUmVR-CIZsNCp4,1738
|
|
139
|
-
helm/benchmark/scenarios/code_scenario_helper.py,sha256=TnXAlY-wdAFwIDylFItf0z7HOu93WD6dNThwzZYe330,5904
|
|
140
|
-
helm/benchmark/scenarios/commonsense_scenario.py,sha256=TacucpkudU9BLg6g01JoHjGgh__KSEknyigZpBlx7JM,10727
|
|
141
|
-
helm/benchmark/scenarios/copyright_scenario.py,sha256=qw-ijottZ28DjMqMWSZzL9_FuRDAHf0YmGV27YstmVI,3673
|
|
142
|
-
helm/benchmark/scenarios/covid_dialog_scenario.py,sha256=LqNtfb9XQestluN0Bz7yi-Zo0VRkLjl4F9IOYzhPw3I,3971
|
|
143
|
-
helm/benchmark/scenarios/custom_mcqa_scenario.py,sha256=aZkt1Ums-kIVpLfd4Pfhe7Rf_fZLxjO2ANLL2aN2qVM,1915
|
|
144
|
-
helm/benchmark/scenarios/dialogue_scenarios.py,sha256=MyF8CWkd_L42_gGLqG19YjCvpSpChCHeTj4jMUn_IkI,5630
|
|
145
|
-
helm/benchmark/scenarios/disinformation_scenario.py,sha256=kQi0MVVoSDhx2vOTnUaCIttPXMf8zz7Eld2FD_77tnA,8504
|
|
146
|
-
helm/benchmark/scenarios/dyck_language_scenario.py,sha256=vMxND9wPJenrGlCLhSw5UxOw3TV2Jq8cTmIXGpzEWaA,9318
|
|
147
|
-
helm/benchmark/scenarios/entity_data_imputation_scenario.py,sha256=n2mnkmSeTznEy7S-GVumqpD9bt27yctbuEmtgQrG-Y0,6399
|
|
148
|
-
helm/benchmark/scenarios/entity_matching_scenario.py,sha256=Vl1zWDCCxARMLSGFlQg01rYRgUg2DB_kYGg5c_X899E,7038
|
|
149
|
-
helm/benchmark/scenarios/entity_matching_scenario_fixed_random_state.py,sha256=TklbX7Kx4y-estV-YHUbI5O08q2qCZRrOmX9D3gZS9c,2193
|
|
150
|
-
helm/benchmark/scenarios/grammar.py,sha256=Pb9vEP_0Ki87UdQCj1ym7QWJ24M4DRP6TXB5d3GnhLs,5597
|
|
151
|
-
helm/benchmark/scenarios/grammar_scenario.py,sha256=bl-Cm9caDs077zSu38mzaS9maZ2gM-QazgjOEMFvxYg,1454
|
|
152
|
-
helm/benchmark/scenarios/gsm_scenario.py,sha256=9fV2SEw3ocKNAD-TrDZZTpq4l7mbttQQWbO0YNz4e6k,2613
|
|
153
|
-
helm/benchmark/scenarios/ice_scenario.py,sha256=vvk11cFPGUhg_CcGh3wEfVsGzrvMFgkByN-xcF-OOjI,16473
|
|
154
|
-
helm/benchmark/scenarios/ice_scenario_pinned_file_order.py,sha256=fuirubIdi-rkJMfSd7YoDdBX2q0f5K7GGTN4XVapAUY,1613
|
|
155
|
-
helm/benchmark/scenarios/imdb_scenario.py,sha256=-bfjm_43j0lsfGskz2THNeKABCld90rFTZ5yWt8FTHE,6175
|
|
156
|
-
helm/benchmark/scenarios/imdb_scenario_pinned_file_order.py,sha256=fjW0Gkzg2Y3IAbtYJ3KC7MueWd9U8h0tlcBCqxYmRrM,1621
|
|
157
|
-
helm/benchmark/scenarios/interactive_qa_mmlu_scenario.py,sha256=PuwcuHnx3nCuRYEEzEQ6aRI9i7QAHtfg4DmLAG4M6AM,2205
|
|
158
|
-
helm/benchmark/scenarios/koala_scenario.py,sha256=ihx39W1C9KyOh5MkdMqw1twUwzA8S5QPsBKeQRZcZGM,1365
|
|
159
|
-
helm/benchmark/scenarios/legal_summarization_scenario.py,sha256=DTYYsf-74NFjHvrNa5ZWSgMywq9ss16r5eFZI2-xZJk,8644
|
|
160
|
-
helm/benchmark/scenarios/legal_support_scenario.py,sha256=hu8SlDGrU6oUTQjnrLEagjFNniW96wMahKjnrtuyjzo,3925
|
|
161
|
-
helm/benchmark/scenarios/lex_glue_scenario.py,sha256=vsy8Y03hoCwTJFgBdQf0koxlHDRFm2V9wT04n2K1tlk,10268
|
|
162
|
-
helm/benchmark/scenarios/lextreme_scenario.py,sha256=HEpXLdLLywo6yfXaGF3zRgx1PiGPE2ILnpKYs9Dmsow,20396
|
|
163
|
-
helm/benchmark/scenarios/lsat_qa_scenario.py,sha256=5ocAoqR9G7FkIz_XABi0kusmLQXi_nBsuSyDCZrgJ-U,6073
|
|
164
|
-
helm/benchmark/scenarios/math_scenario.py,sha256=nleTdwfbtjv7HltXAPcpjlRnAv8iiQQjoeKtL8Zr8vk,13843
|
|
165
|
-
helm/benchmark/scenarios/me_q_sum_scenario.py,sha256=WLfED6DiIOUPd4PowydPmrQ4v26OsjG4iHumq7ka9do,4001
|
|
166
|
-
helm/benchmark/scenarios/med_dialog_scenario.py,sha256=f7hTcEpxGfoxJ-WXNrSRrgVfbyuYpB624HbyRuMP-KI,7295
|
|
167
|
-
helm/benchmark/scenarios/med_mcqa_scenario.py,sha256=JdVQuzKM4TRyWT6c1zpsMvNk1RYHnKdy_fRM6W7PCLI,5035
|
|
168
|
-
helm/benchmark/scenarios/med_paragraph_simplification_scenario.py,sha256=e9WRx41XKJI06l3ZGkZe_LKNx-qd4hoWopfDncrr3KE,7591
|
|
169
|
-
helm/benchmark/scenarios/med_qa_scenario.py,sha256=R0iDMzu3U0TnYEOiyjnlOWHGFwhvOJBVwJ5-Hos2eP8,4417
|
|
170
|
-
helm/benchmark/scenarios/mmlu_scenario.py,sha256=wZjoGjaZNERyqSDHgIsv8fIANyUUQZ1ExQAa4cPzmM8,3790
|
|
171
|
-
helm/benchmark/scenarios/msmarco_scenario.py,sha256=5DTWSDuinXVomlUTYfwOijXLifCSeG4be9Tvb7SANQM,34026
|
|
172
|
-
helm/benchmark/scenarios/narrativeqa_scenario.py,sha256=FIzd4CTS6ZTOI_TJ8aPlkXYNfqbTIs13ZUqAt7ie8U4,5608
|
|
173
|
-
helm/benchmark/scenarios/natural_qa_scenario.py,sha256=khKCR8xVhRqJtZoAfGQ9_CV6REkfrYn5ahLpci6rUzk,12540
|
|
174
|
-
helm/benchmark/scenarios/newsqa_scenario.py,sha256=g7bFXWCTvRjofmmUJhx3jmCOvcVwi_P9LSVrNofvMLg,7260
|
|
175
|
-
helm/benchmark/scenarios/numeracy_scenario.py,sha256=cyRvUuNlCAVZRuRFYcerCGIZ6CA4_joXN3NvWkJ6VAM,30828
|
|
176
|
-
helm/benchmark/scenarios/open_assistant_scenario.py,sha256=PH8F8zqYXXakr1xttBtFmENGMGciIpyijK4RCkJol_0,5495
|
|
177
|
-
helm/benchmark/scenarios/opinions_qa_scenario.py,sha256=OyJozmvbowPqN0t1FHSR0QU675qX8359YDmsipagN-M,7358
|
|
178
|
-
helm/benchmark/scenarios/pubmed_qa_scenario.py,sha256=zVL1gb3eVz-LbK2hfdnRR9ItaMSPlAGJorByWLt-4wk,7506
|
|
179
|
-
helm/benchmark/scenarios/quac_scenario.py,sha256=SRAhMp6TAsmTRq6VRONLl3SEayFIe23He_mBhzkZ7qM,6628
|
|
180
|
-
helm/benchmark/scenarios/raft_scenario.py,sha256=H3gST4nbMy7UI0gffyhxXlRTIXfSgznQfNT_dPa2UGo,4537
|
|
181
|
-
helm/benchmark/scenarios/real_toxicity_prompts_scenario.py,sha256=GkgJo_13MWQQQTZbhlknvTR6ZrYr7NEn1WdMZrPs4y4,2400
|
|
182
|
-
helm/benchmark/scenarios/scenario.py,sha256=0WoPHN1nKrxDKNUYj5DATC18zsZ82D6cWXuUcKVf3Uc,7732
|
|
183
|
-
helm/benchmark/scenarios/self_instruct_scenario.py,sha256=jZ2MksT4N_4g_sp5egw7ycrsM-Ya786_RFmiYYdMvG8,2285
|
|
184
|
-
helm/benchmark/scenarios/simple_scenarios.py,sha256=TbdQoeIxQAfcUOrFEGgnFrnSswzIuLPcek5RRV54GTs,1965
|
|
185
|
-
helm/benchmark/scenarios/summarization_scenario.py,sha256=MlNMgsY369DC04nhMUdG2o9Ydi6yze1fGOjC0bK-UwQ,6847
|
|
186
|
-
helm/benchmark/scenarios/synthetic_efficiency_scenario.py,sha256=pzifpsJJbucmTjujNqQnwQa4Y7wpQjkS6QjNXOrgTAQ,3096
|
|
187
|
-
helm/benchmark/scenarios/synthetic_reasoning_natural_scenario.py,sha256=1b3e3WpFMNBV3li17-0Ug6QCSKO4qRFaWDF23bYNsvQ,16326
|
|
188
|
-
helm/benchmark/scenarios/synthetic_reasoning_scenario.py,sha256=k8IGK6VABOr6wuha4HynP47peoAkmIViAVhScOtCANo,8345
|
|
189
|
-
helm/benchmark/scenarios/test_grammar.py,sha256=sPlA36sHpThbXgnGlXyOuqHfDPe2epIafmzIeL0nkoU,1364
|
|
190
|
-
helm/benchmark/scenarios/test_scenario.py,sha256=OBcsrF7yCAbd3LNYo2pwFExZmixtdAyWaKRax5ngxyU,1870
|
|
191
|
-
helm/benchmark/scenarios/the_pile_scenario.py,sha256=MIz7vMa8u6aKcCSD63d51trQPpJwCwcU2lQ5w1cgmuY,5021
|
|
192
|
-
helm/benchmark/scenarios/truthful_qa_scenario.py,sha256=iqL-tuqUQZjF9-DKAnI6wV-oLGC_I3aFuofdtJYHt8E,6035
|
|
193
|
-
helm/benchmark/scenarios/twitter_aae_scenario.py,sha256=CRlPxVfkg3HPZV-lUMyCUSFOiAqg5IIPt-dq3qR9LU4,2096
|
|
194
|
-
helm/benchmark/scenarios/verifiability_judgment_scenario.py,sha256=0buyJWLhy6edykqEiLrz0pZz-lA5u1UpqYny5aPuDO4,6011
|
|
195
|
-
helm/benchmark/scenarios/vicuna_scenario.py,sha256=5z82_vz3I5pbWctDzC4kKHmtattkalSWQFURB1APYwg,1659
|
|
196
|
-
helm/benchmark/scenarios/wikifact_scenario.py,sha256=cOVKgDisBdjPcmVMCLhTekdgX3hpDJUT-aKbvRSaMoM,5791
|
|
197
|
-
helm/benchmark/scenarios/wikitext_103_scenario.py,sha256=PAPkmZdC4aIBQ1k29dDvTFBEFaPV1ZR1Ifif4FHoZqs,3087
|
|
198
|
-
helm/benchmark/scenarios/wmt_14_scenario.py,sha256=H_KZVe8s5opDH67ken39r6lD7KWUkHFit6HWmp9uOlE,4374
|
|
199
|
-
helm/benchmark/scenarios/vision_language/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
200
|
-
helm/benchmark/scenarios/vision_language/vqa_scenario.py,sha256=w2acgyq0kFhh3iGkyCcHKAqWcEZvNEukCd0Nh5ay8TE,5111
|
|
201
|
-
helm/benchmark/static/benchmarking.css,sha256=7PsUCff8YcoVxyWuALItfB4TZL55T7MbVQpoc9nZznc,2104
|
|
202
|
-
helm/benchmark/static/benchmarking.js,sha256=PDiaC43G82EbOeZKskQkM3ko4tBSYMEHiOAEzzWB4WI,54533
|
|
203
|
-
helm/benchmark/static/config.js,sha256=kIfkgr6gaMdFOAdqB35EvuBohq0DWYSQZbe_pTK09VM,103
|
|
204
|
-
helm/benchmark/static/contamination.yaml,sha256=8kGr_ZfADp7cp7QvJSjF4slrnAcMy6Jh-OdwhrQt4Fc,3158
|
|
205
|
-
helm/benchmark/static/general.js,sha256=qcsntanG5UMWK2vznSVAVFy9zd3BMc8DFfNa7KKezew,3053
|
|
206
|
-
helm/benchmark/static/index.html,sha256=xIJGjMg0qn9eemfdBiNbTI0jzPfBD5x0v8HJF-dMqBc,3561
|
|
207
|
-
helm/benchmark/static/info-icon.png,sha256=P-PW3Ek3NGiRAW5BXOjJRPBfMVqprjAqtQheGWu7zNI,3428
|
|
208
|
-
helm/benchmark/static/json-urls.js,sha256=QnBGT85G8xAClva_mIXYXQ_eoHn-pN-LDJbN65mcTpY,1907
|
|
209
|
-
helm/benchmark/static/plot-captions.js,sha256=bTR8gYx-QqF_RJyKX-L-eQP7hSEtawfJSoADCvgjKag,3011
|
|
210
|
-
helm/benchmark/static/schema.yaml,sha256=emMAIHBBW2V0pRqk0MuGDzfATzEjsIi5wE20cBHqCm4,139389
|
|
211
|
-
helm/benchmark/static/utils.js,sha256=bgN0PT53Dregc-nLmEmAEmg2psufWpS8jTf74WoypHw,7681
|
|
212
|
-
helm/benchmark/static/images/crfm-logo.png,sha256=dDkauL_wJR_Luu7L7pltphS3a9HSLjDkpVLa6C9vcA4,62712
|
|
213
|
-
helm/benchmark/static/images/helm-logo-simple.png,sha256=LtVAC4OgcWgMAob53rTrf7cRDu-O0z85ZOGGj9wR9hw,86133
|
|
214
|
-
helm/benchmark/static/images/helm-logo.png,sha256=GTqbrxJr0oQXbBRq-8v6afY5zB5x0M6PhEbKRIX9qIE,280667
|
|
215
|
-
helm/benchmark/static/images/language-model-helm.png,sha256=mG0-bkdziXeiF0wOGd67y2jnYmVKJYqhD2N5Q8VIF8Q,26563
|
|
216
|
-
helm/benchmark/static/images/scenarios-by-metrics.png,sha256=F7g9mvIYopm-n7sDGg-7I0XCyZvloKsi2wIq1i6da_Q,51331
|
|
217
|
-
helm/benchmark/static/images/taxonomy-scenarios.png,sha256=2MiuCLaxnuHvwsWWJHnZFc-rvoQIi_tNIjDatY7I-Dg,100766
|
|
218
|
-
helm/benchmark/static/images/organizations/ai21.png,sha256=Drkew6Vlwi2_4_S8hjagK2x8smOwLKTNiXIT3rDiurs,10208
|
|
219
|
-
helm/benchmark/static/images/organizations/anthropic.png,sha256=cNi8OdIshIIb8PdodcX8mAj-khaUD0O6nhah-_6nYfs,8017
|
|
220
|
-
helm/benchmark/static/images/organizations/bigscience.png,sha256=fwQAwN1x2Fr_ztD_HZdcOkdFcyxuDjtS3B5-VuRNkuc,19036
|
|
221
|
-
helm/benchmark/static/images/organizations/cohere.png,sha256=7cr4LI8WK9yPryQboyWK_T5baSND-d-tVrlPNflLQMg,8757
|
|
222
|
-
helm/benchmark/static/images/organizations/eleutherai.png,sha256=uUURFF8YWY85mwGoKVEjArO5DUBCy4es5naCXsBzn6c,4526
|
|
223
|
-
helm/benchmark/static/images/organizations/google.png,sha256=BtmXrVQZHr3WH5c8c23ent2FO8aPWeNwO8czl22lDCo,4914
|
|
224
|
-
helm/benchmark/static/images/organizations/meta.png,sha256=VYDp8arkAe2eYRJhAOcIAsZY1qY0hqyOEQDgVMbX9M8,4646
|
|
225
|
-
helm/benchmark/static/images/organizations/microsoft.png,sha256=9e5QFl23yTbnAk8u7lZKaQOf4oPHbr_aiQda5n4MZqE,50850
|
|
226
|
-
helm/benchmark/static/images/organizations/nvidia.png,sha256=hvp1wZMwYxkfrVMvJs73PX71JwY5L8ZvxIH_fL4n6Po,27945
|
|
227
|
-
helm/benchmark/static/images/organizations/openai.png,sha256=P4ZT5ISIlt6Dl0mOp7juSM4Y7dfyRNPqdc0PJuwNoqg,16877
|
|
228
|
-
helm/benchmark/static/images/organizations/together.png,sha256=2Vjbdm0ptogad7eh6DY0UtoVekmdOCRD5rSHBV4DVBM,16610
|
|
229
|
-
helm/benchmark/static/images/organizations/tsinghua-keg.png,sha256=l9SzlZCsLF18BY876wYJcVgiQbgvwte7uoILPDcVwHk,7776
|
|
230
|
-
helm/benchmark/static/images/organizations/yandex.png,sha256=OOCdcKubAP4x7h4VW7z5a-AHPWBiSDTjsIJea6ZiovA,27964
|
|
231
|
-
helm/benchmark/window_services/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
232
|
-
helm/benchmark/window_services/ai21_window_service.py,sha256=aV8uHeAc5_DmbBnh4tgLEgcC_QxdkPotl8Asyr2K1KA,12826
|
|
233
|
-
helm/benchmark/window_services/anthropic_window_service.py,sha256=BKJ70yXlwKDTqwj2YUn0oq7LCUwSWPW-TZFafXep97M,2200
|
|
234
|
-
helm/benchmark/window_services/bloom_window_service.py,sha256=o7MVedt6khdoj8zikLDuVraEzuoBZk7j4Fzjsas0sD4,1023
|
|
235
|
-
helm/benchmark/window_services/cohere_window_service.py,sha256=dp4KTmbwxdHwxy7Eogfr_p0_F5gayFR86PNhUHaqb1M,7091
|
|
236
|
-
helm/benchmark/window_services/default_window_service.py,sha256=_RkwrS5tDwhVaxFPJCUB_hvjdF_9aJfnEve41dMVnLM,1066
|
|
237
|
-
helm/benchmark/window_services/encoder_decoder_window_service.py,sha256=Dg_rD0RtKIALtpvT4Wi4Am3zgFcIvgxfzdglw5fbbTU,2478
|
|
238
|
-
helm/benchmark/window_services/flan_t5_window_service.py,sha256=39IZX89_tay3bpSGVoWDoekmhW-RUNATQuT-bNyFRTs,915
|
|
239
|
-
helm/benchmark/window_services/gpt2_window_service.py,sha256=d-ys9FHoVI1u1GZOH734JPAOc8W6QZb1N3ZjooKmwz8,990
|
|
240
|
-
helm/benchmark/window_services/gptj_window_service.py,sha256=DTCwWigm1Lfq4-XnfuBqnTj9mymdSAn3HwoUrL5tmII,1180
|
|
241
|
-
helm/benchmark/window_services/gptneox_window_service.py,sha256=C9c45zWlro1SskgQBbrAHBIgfYkfgfKviUPaIgT-8jg,1257
|
|
242
|
-
helm/benchmark/window_services/http_model_window_service.py,sha256=IWIBPA9FRPeHwhZQ32BcskvmuJednKlwsUhMZ32mavU,760
|
|
243
|
-
helm/benchmark/window_services/huggingface_window_service.py,sha256=1765Nz5GinXd5ZOvwmzDBVwOgmIoBDp75gr4MoDmjTw,2250
|
|
244
|
-
helm/benchmark/window_services/ice_window_service.py,sha256=5z52rP-xAF_jckIPoogyoNFW6FQXqaq3SHybCaBuRn0,2005
|
|
245
|
-
helm/benchmark/window_services/lit_gpt_window_service.py,sha256=Pf7vbE7x9_ifVVdm5WKuso73Xraor-bExnpvRAQezFA,670
|
|
246
|
-
helm/benchmark/window_services/llama_window_service.py,sha256=78rtagKCC9056YTaE66nft9cqIvZhZZnMEGS1BplSX8,1331
|
|
247
|
-
helm/benchmark/window_services/local_window_service.py,sha256=9nGiWMvmmqmuky3fe7rAAae9vGQYiD1HlSCtSUXk37c,4547
|
|
248
|
-
helm/benchmark/window_services/luminous_window_service.py,sha256=0w-nyfXXDwnIDBzU3Y84LZPnQyJGiSbvf5Y_MQh-hCg,1791
|
|
249
|
-
helm/benchmark/window_services/megatron_window_service.py,sha256=ZXnhrhnwpBLQ8PHGMO-9XGNQTocrmdG4EhrTfVblEIM,381
|
|
250
|
-
helm/benchmark/window_services/mt_nlg_window_service.py,sha256=7zvEEZhqfdefUUFiDaqbJqrBu3Pt7BBuT_Si-4swV5s,838
|
|
251
|
-
helm/benchmark/window_services/openai_window_service.py,sha256=Oguy_ewlL2Uydq-B1QrqqHWKTenL4mtwtY24RNqhFCM,466
|
|
252
|
-
helm/benchmark/window_services/opt_window_service.py,sha256=ilj1G_pslwYeRZ2fhRMXsg2WjQ4rCfTUwuSmjItH-t4,1050
|
|
253
|
-
helm/benchmark/window_services/palmyra_window_service.py,sha256=cnu0j-jrCpw81xtkBFoWQAs5vWs9Fbh2i8A8fSypnWQ,1142
|
|
254
|
-
helm/benchmark/window_services/remote_window_service.py,sha256=TU0pGOXMRRO5GG1MCYrhPhIQD41gQStttRkyHc-p8Dg,1658
|
|
255
|
-
helm/benchmark/window_services/santacoder_window_service.py,sha256=sfbuAAdhEkQkFON_bHxDI9Ek3jZiwCF6upa41bsjUO4,674
|
|
256
|
-
helm/benchmark/window_services/starcoder_window_service.py,sha256=NHutXRYK2MlzNeQsDdG-M5kJqOwi_PcKOga1LyKKATM,672
|
|
257
|
-
helm/benchmark/window_services/t0pp_window_service.py,sha256=oa1vJRiyFPbkTb8eYnfjZNyKFJSvceipOq0U3Ys5e04,1196
|
|
258
|
-
helm/benchmark/window_services/t511b_window_service.py,sha256=8CvkSfuG_Bg17gAEre_bmM4tUwoi9fAWpPxx6qCJwAE,1005
|
|
259
|
-
helm/benchmark/window_services/test_ai21_window_service.py,sha256=HkpNSaJAClZfaa-bQZ2BrRm1UB_u4sLAGSBlGQqRUD4,8221
|
|
260
|
-
helm/benchmark/window_services/test_anthropic_window_service.py,sha256=Zo3IHsKtE2yf3E29_FgBd_dNbwtgTO6LPArzXYEwI-8,4092
|
|
261
|
-
helm/benchmark/window_services/test_bloom_window_service.py,sha256=fG1oJdfErc0m-r-x7WalQ4mW49R76Wt2F_bUuYDSEb0,4184
|
|
262
|
-
helm/benchmark/window_services/test_cohere_window_service.py,sha256=j36eIUywlVqDyDnDlgKA4HgT8YE-ItmvOqCgaVk3csM,3240
|
|
263
|
-
helm/benchmark/window_services/test_cohere_window_service_utils.py,sha256=sf25f9MeXzoqsbDzZ7d7le13hm8RkDe54nhLtKF2pqo,158150
|
|
264
|
-
helm/benchmark/window_services/test_flan_t5_window_service.py,sha256=xv_EXbiRklveJPQtThYCSYF7qBYwjL7K4wH3Xu5z2Fg,591
|
|
265
|
-
helm/benchmark/window_services/test_gpt2_window_service.py,sha256=3k25pLa_z__g4yoQL40DEXj-T4dGtrgif13N2NXs59U,2568
|
|
266
|
-
helm/benchmark/window_services/test_gpt4_window_service.py,sha256=IR8JGLViwiFDmHOLgBfnPGeAJlV6IyRKt1BHOQ4P4X0,948
|
|
267
|
-
helm/benchmark/window_services/test_gptj_window_service.py,sha256=sxsTpozKv9N-wZXtGl1prkQr9Md_q-tnCjO9zt226Co,2267
|
|
268
|
-
helm/benchmark/window_services/test_gptneox_window_service.py,sha256=VwawHQnvrUKUr9Tl0eKjNLtZLEmpJPGxAUsAYMY1hlg,4103
|
|
269
|
-
helm/benchmark/window_services/test_ice_window_service.py,sha256=hSJ52MQ2Edh6gTvgzCHFMvlZuidRhZF_t2E-RR4H_6A,23475
|
|
270
|
-
helm/benchmark/window_services/test_mt_nlg_window_service.py,sha256=2PtD1orlVYYNa_JOV0_3bQPct3zvUx0YWzTnwwKZ74I,2212
|
|
271
|
-
helm/benchmark/window_services/test_openai_window_service.py,sha256=q4ou-AK7-NvUkwAQP4ZuldrAgoGeDnfqM8Syj-7KZfA,2208
|
|
272
|
-
helm/benchmark/window_services/test_opt_window_service.py,sha256=Fn_-q-yfh8wHhIdJ4ysTDmRkbz5S8I806NWLwRlTcW4,4108
|
|
273
|
-
helm/benchmark/window_services/test_palmyra_window_service.py,sha256=WYSpFyr8Ll0-umMnqvUbIz69Vs4urqH4regmeC4sed0,4108
|
|
274
|
-
helm/benchmark/window_services/test_t0pp_window_service.py,sha256=O99CgeJWEqfh5t6__jr_RrcYUvm2JplDbD3MpN9Ay4I,3894
|
|
275
|
-
helm/benchmark/window_services/test_t511b_window_service.py,sha256=YtwycL2-oPLkWkZduSkm7AWGWzXJQC9A3sLjo7dy1-w,3897
|
|
276
|
-
helm/benchmark/window_services/test_ul2_window_service.py,sha256=otiqcOPPFDgPzB2avNOvdmJwVUZH443J2KiQQ787xcI,3957
|
|
277
|
-
helm/benchmark/window_services/test_utils.py,sha256=TMmPTkJ4vlFKv4vzSO35B6-0gnXbQ0nvNZJR6CZN6qo,3227
|
|
278
|
-
helm/benchmark/window_services/test_yalm_window_service.py,sha256=NDvZyDkgO-eYjt1oEieAJiNFFgt9qqXAa38CqWaWq4c,4197
|
|
279
|
-
helm/benchmark/window_services/tokenizer_service.py,sha256=dPsEhA1I4SUvsR0UBdzJ2wsFahw8GuF6qhE8CxiPZRY,1051
|
|
280
|
-
helm/benchmark/window_services/ul2_window_service.py,sha256=R_VEzOb59zQE9mmbTLunQeIvLAtK3-97h-B2_oc0Uxs,1021
|
|
281
|
-
helm/benchmark/window_services/wider_ai21_window_service.py,sha256=o52sBY0OgHEiPrMv5rve8FzE4uXy_QuDFdjTgqQpZM8,727
|
|
282
|
-
helm/benchmark/window_services/wider_openai_window_service.py,sha256=F5Uox-MROlmvwLN5tPa40oe1ozU12jIicBhvV36xhsc,1471
|
|
283
|
-
helm/benchmark/window_services/window_service.py,sha256=YmMyFRBkQ1sH2bGPEuUBC7x4nt6n8wKRVWyENlr6B28,3361
|
|
284
|
-
helm/benchmark/window_services/window_service_factory.py,sha256=Wrv7C_lICND8nwKAq1v6JWNkhV59tvpyrHocBUdBUko,14794
|
|
285
|
-
helm/benchmark/window_services/yalm_window_service.py,sha256=tPOAiUsz3Z6aAU-nBq81lLDtYttZopRGJEcLNfCVBak,1813
|
|
286
|
-
helm/common/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
287
|
-
helm/common/authentication.py,sha256=RlMx29_TSrfU7ujE7dJkxmFub5EqLj2NswV5lAVFFDk,179
|
|
288
|
-
helm/common/cache.py,sha256=sDMK5z_R_FvRXpIunyv5L7imqpqbId2AuUO2ncKZMUE,12973
|
|
289
|
-
helm/common/codec.py,sha256=gTh6AwIQ0Bbul_QSnIO7eItwMZmYtnkIrG1jkc4GOL4,7100
|
|
290
|
-
helm/common/critique_request.py,sha256=Exu8Ans05zCU5d5-AglEbG40mBwKYED2Z3WqY_XjXBY,2772
|
|
291
|
-
helm/common/general.py,sha256=zGdo660mOkGVFDv9sY_O137sC6v3A-yiGK97_xsgm8Q,11403
|
|
292
|
-
helm/common/gpu_utils.py,sha256=pmLq6ipYNLEm28VxxSNeZuVt-gAw-WnYmBvxP1P1p6M,480
|
|
293
|
-
helm/common/hierarchical_logger.py,sha256=EnKLnfbQftca08EJfjGEQb4tcnCKbx-JtwLnoCnhMQs,2908
|
|
294
|
-
helm/common/images_utils.py,sha256=Jp6nlqYfrBvtwuWdWThQvuSHWWw1qM2WQH7KJfxQ0VI,1514
|
|
295
|
-
helm/common/media_object.py,sha256=nAl4phYCAl9TL1q61TlW4zwInDcdgwzYr2X4JZfFJSU,4709
|
|
296
|
-
helm/common/object_spec.py,sha256=tyPfEisDRq6dq2mfuRoSnFfTqyxROa_3Bos8CNjVwJk,4290
|
|
297
|
-
helm/common/optional_dependencies.py,sha256=Qam3QCHff8tuXbS-fCw-MVe-pK18gSvHw-uQoXXxT7M,616
|
|
298
|
-
helm/common/perspective_api_request.py,sha256=WAVwtajNVmi5XJNsPcorGEAVrqkpPSk-Kd3b0hJghbA,2427
|
|
299
|
-
helm/common/request.py,sha256=Qf2MdWBp-a0oVriKk1dVy9AiP9trcWyO4y_dxjZTmEY,7268
|
|
300
|
-
helm/common/test_cache.py,sha256=XqboYHQAkFWIHPsuIjuageRSLeN7QoATKF7wwxggPqE,7054
|
|
301
|
-
helm/common/test_codec.py,sha256=igL--k-2DwAy0eoMr8D9Xs8MOjBoT0LutbMPzDlTNkM,5885
|
|
302
|
-
helm/common/test_general.py,sha256=zOxSwWNgWnWHsXKcG4NZ50GkWicn4uZ4jPVypSwFaQE,1672
|
|
303
|
-
helm/common/test_media_object.py,sha256=AAm9DD7MC-ZvTwiqXA-e52U6L4S1noxItW8f7ARi6DY,1650
|
|
304
|
-
helm/common/tokenization_request.py,sha256=DS-s6enWjGk9qymcEYFSTTNlxNnB6VoJclW5B6Y6Hzo,3407
|
|
305
|
-
helm/proxy/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
306
|
-
helm/proxy/accounts.py,sha256=AZ0hCCD3ygSXtgZtnFJFJE1jOSRh5gMtQSM8TeJzqn0,13533
|
|
307
|
-
helm/proxy/cli.py,sha256=l8F7UYqrIOoBD9ZCIxJFA4fhxlzhae0-2Nn8A7FMkzk,8244
|
|
308
|
-
helm/proxy/example_queries.py,sha256=p1wH-tp1pRUslkAwaJYrrG5aDfmFWK3KYn4M6WQfPqQ,4120
|
|
309
|
-
helm/proxy/models.py,sha256=d8xCbT-2_AHpxYSJlszAQ35Jh_bcMs8nZIyjBNQb7Gk,31257
|
|
310
|
-
helm/proxy/query.py,sha256=eftbiUICMh8QIHVs-7cLtv_rDXKeKdRPmwjLMu0TDxQ,645
|
|
311
|
-
helm/proxy/retry.py,sha256=iu0d2Pzg1YOdY6VvmujC5qM4HFPJOSEtOJ82Scki32c,3243
|
|
312
|
-
helm/proxy/server.py,sha256=E6eGvNUQ3JP9ekSb0xPUrFS8pDnssCaO174VL96MQrI,7786
|
|
313
|
-
helm/proxy/test_models.py,sha256=hWeDcBw1GkPvyJUd-ABxRVe1FhSUfz8bzyrKYdsqmyY,726
|
|
314
|
-
helm/proxy/test_retry.py,sha256=8h398auzjW9VnlTJWllxR-bdpub-XFp8EN8LWDEnEHM,1049
|
|
315
|
-
helm/proxy/clients/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
316
|
-
helm/proxy/clients/ai21_client.py,sha256=0FmySyVSZsG3W8wYdSYoNTGHeTPtXGX3O2Bu6kOtN5E,5962
|
|
317
|
-
helm/proxy/clients/ai21_utils.py,sha256=mlg3h615kyckccGZv9rqsP4Y60O3XpwyE-UURRMrxII,471
|
|
318
|
-
helm/proxy/clients/aleph_alpha_client.py,sha256=Z87SCS8zahVAkRwkBiJY4bbZSAr1OshiRN53CgYSme4,4214
|
|
319
|
-
helm/proxy/clients/anthropic_client.py,sha256=AdhezmHhUMVCXnPi4SjfUBCjS3pmJol2MYRpBAl94J0,23898
|
|
320
|
-
helm/proxy/clients/auto_client.py,sha256=RSuVenztW1c_0ggbb5t5uN2CUXCO7ZDQ-LDpg-yvHEY,21021
|
|
321
|
-
helm/proxy/clients/client.py,sha256=Ke5Lb1tiWnqtMNffncj9pqf9aEQOrIuqq2n6bvoDiKc,7754
|
|
322
|
-
helm/proxy/clients/cohere_client.py,sha256=5gTz0iOvxPaFZAryxATBLGtmnnaHCnNYMadMR-ET0d0,7867
|
|
323
|
-
helm/proxy/clients/cohere_utils.py,sha256=aYmj60m0e9RF9BIdxp1vmA-uZv17TEALw0dbgTUSpCc,504
|
|
324
|
-
helm/proxy/clients/google_client.py,sha256=GkKG1qJsTESEIjIUeoJqKSxBNFBYMdB3Q8nzPuC4Kyw,3003
|
|
325
|
-
helm/proxy/clients/goose_ai_client.py,sha256=iBnPV-J72rLiy8mK9AipwKGNcGWuPWP9WbU9KjK5_C8,3914
|
|
326
|
-
helm/proxy/clients/http_model_client.py,sha256=-0ODVlBMJkwv0AST4ayDB4rpmLCljIGaYWIiKoVEGow,2931
|
|
327
|
-
helm/proxy/clients/huggingface_client.py,sha256=omg2KVA0yja0WIpRcRamARnFASK9oHYRR7CNjBewmo0,11192
|
|
328
|
-
helm/proxy/clients/lit_gpt_client.py,sha256=ntSm_HIj4Ygq-5iFLw0SIN1pJ82FW5wS7SYYqCQ-4Xo,6171
|
|
329
|
-
helm/proxy/clients/lit_gpt_generate.py,sha256=8DdBE9ReQ00NbV3KMFYc--PlO9X-HMOR0Rhm5CADWEA,3103
|
|
330
|
-
helm/proxy/clients/megatron_client.py,sha256=zOPxdkZ4KMKeKy3XuCDAvd6kWhg2oTx-kpWKE_zgLSM,3870
|
|
331
|
-
helm/proxy/clients/microsoft_client.py,sha256=vN96_BGOvuKgK15pMCF3ejNeygNiNxWUlSOqASfPne0,7943
|
|
332
|
-
helm/proxy/clients/openai_client.py,sha256=gMWT6UShPHOr7Vcq2lZKIdriiazpHMODT2TVVVHDGh0,9847
|
|
333
|
-
helm/proxy/clients/palmyra_client.py,sha256=CfTebjpC3134cQmEAkJH6SBsJH0HGkdlsQl16tbbAjA,6412
|
|
334
|
-
helm/proxy/clients/perspective_api_client.py,sha256=wwfD62GdxKsULZNXHuzx-_JUde96MFIBwZw5QGrVzc0,5880
|
|
335
|
-
helm/proxy/clients/remote_model_registry.py,sha256=z8dWxbPmjmIyBnw--NVzqeIXUj5d_w5qolJD__r3mPw,962
|
|
336
|
-
helm/proxy/clients/simple_client.py,sha256=-ru2ZfdUHhi1ZJpHKt-9YBJoKefNm1uPtltKje_AJFs,2221
|
|
337
|
-
helm/proxy/clients/test_anthropic_client.py,sha256=Kb3PxAZBUeM0escyBh68VfqF6IbGe7SAFqFdC-6TA3Q,2887
|
|
338
|
-
helm/proxy/clients/test_auto_client.py,sha256=EP2ZINxsUsTvgRU-TxDHGnmJJI--MuHpD-sW-v-YvUk,3481
|
|
339
|
-
helm/proxy/clients/test_client.py,sha256=bvkFob_Yoy8bALrVeQ0h757g9RU687JYI0g3AISPFQ8,1268
|
|
340
|
-
helm/proxy/clients/test_huggingface_client.py,sha256=-WRW5z6sgeFsdvd3AdV4PeLBUL_TB0b1hvIqG0Y8xCc,3744
|
|
341
|
-
helm/proxy/clients/test_together_client.py,sha256=nTeL7kofrZ-1GUKXRHLDzn1PdnpcGGA2RgdLiOWGFhA,3381
|
|
342
|
-
helm/proxy/clients/together_client.py,sha256=UurRkVCNUs3lntOAtSoUqhDOugwcGz_DPOGVuQxeDV0,15484
|
|
343
|
-
helm/proxy/clients/toxicity_classifier_client.py,sha256=AI_FizxMurubTIyeceRdkixSnhWQbcD-oEEONj5ve7o,464
|
|
344
|
-
helm/proxy/clients/vision_language/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
345
|
-
helm/proxy/clients/vision_language/idefics_client.py,sha256=8XBVG1fVXu_RE6KdYgWgWgzSV-tZS-D-a7KoSRCX2Jo,7133
|
|
346
|
-
helm/proxy/critique/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
347
|
-
helm/proxy/critique/critique_client.py,sha256=ATZuXw77lejwtpgLg3Soy3VDyv8D8xetl0o4guxDM2M,1764
|
|
348
|
-
helm/proxy/critique/mechanical_turk_critique_client.py,sha256=OcppmFOMweBSfVTiLIICIwjvPpHHTkdu9fFUTaubitQ,574
|
|
349
|
-
helm/proxy/critique/mechanical_turk_critique_exporter.py,sha256=taULrc_cIP0O9c5UpGz3l9DmWQadTVzN_v-qzTgMoyo,8470
|
|
350
|
-
helm/proxy/critique/mechanical_turk_critique_importer.py,sha256=fhMf4O9O712GEQD2lLv7HQDtN2BARhOCrnDmlMYbwmw,5535
|
|
351
|
-
helm/proxy/critique/mechanical_turk_utils.py,sha256=mKpUv4zz3s5ptzDY7UrwuI7Cr5HmNgSjPC10BnN9AL4,1766
|
|
352
|
-
helm/proxy/critique/model_critique_client.py,sha256=Dy7n8RY7LGd_fyHiNuNublr_pE6u5eeir1YaJrhdkvQ,10810
|
|
353
|
-
helm/proxy/critique/scale_critique_client.py,sha256=B4povtceyfal95eE3N7em9cC_B5Vy4jMrHXcsXc_5m4,15889
|
|
354
|
-
helm/proxy/critique/surge_ai_critique_client.py,sha256=HnzgAoF4Du9Me0GS_lbNaozZslS4a2OZx735gh-coo0,8357
|
|
355
|
-
helm/proxy/services/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
356
|
-
helm/proxy/services/remote_service.py,sha256=YudZE8RWX4cB0YqYCC8yUPLrT_nfZmaSpD1tubhkT-Q,7395
|
|
357
|
-
helm/proxy/services/server_service.py,sha256=D-no8WSFJO_uAZu94ikdrPgltbnXdjJS0F1mFc3YWDo,7583
|
|
358
|
-
helm/proxy/services/service.py,sha256=s30R8o1SygZp81vRQsFn-9sDp5aoe8QP3CJv-TWFEHw,4730
|
|
359
|
-
helm/proxy/services/test_remote_service.py,sha256=u9Dt8LLY5H67rPLK_WNeQMRxqIxsz1axz3lRHt-9yNw,6425
|
|
360
|
-
helm/proxy/services/test_service.py,sha256=9SgIf9iW7zhQ55KqnDBuZQH2ECnBti8eK2Zps-JNlzw,8751
|
|
361
|
-
helm/proxy/token_counters/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
362
|
-
helm/proxy/token_counters/ai21_token_counter.py,sha256=Y0LmjyLarUIlshQIhcsvD-nUJQ1KmEAW-jJuinYAJrQ,962
|
|
363
|
-
helm/proxy/token_counters/auto_token_counter.py,sha256=r1lR--_-mc8p8U4hnvL7oqw-fYcIFr-_t_LckOaBTIA,1847
|
|
364
|
-
helm/proxy/token_counters/cohere_token_counter.py,sha256=DHzZ0V3CnUvWvTdgCBjC-SEBbYxu_A7kfXsRdaFr0ro,488
|
|
365
|
-
helm/proxy/token_counters/free_token_counter.py,sha256=DVdKgaQDxd42A8D9elcSunmtxAAtzUr1sEPRLJQ4ZSk,399
|
|
366
|
-
helm/proxy/token_counters/gooseai_token_counter.py,sha256=cY5-3MJcTf0Wzpk5c3-8C8rXkEmdr4yBPv60SuBFtPI,1071
|
|
367
|
-
helm/proxy/token_counters/openai_token_counter.py,sha256=gPo_VrkEH07xmprzdfIhmJ_1iPAxX2hBCFSDYCXBn-Y,1060
|
|
368
|
-
helm/proxy/token_counters/test_ai21_token_counter.py,sha256=42J1fCi20kQUwAD18bIa6h9TaP7KZnlgF-mLbvKURro,5508
|
|
369
|
-
helm/proxy/token_counters/test_openai_token_counter.py,sha256=PJW77e_n2hRmkdU_nDWC0TZ-kL8RCpW3UsE5idwI4Lo,5062
|
|
370
|
-
helm/proxy/token_counters/token_counter.py,sha256=x8KyTR82EedgCQUuneQiVq9AiU1B3_CHPmKPNumClHc,429
|
|
371
|
-
helm/proxy/tokenizers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
372
|
-
helm/proxy/tokenizers/ai21_tokenizer.py,sha256=snBAumRIGwhTFm3oeyVexpla7g6paeTIIIMr51f-S44,2238
|
|
373
|
-
helm/proxy/tokenizers/aleph_alpha_tokenizer.py,sha256=pEQKdX0hTbmPpq0RLnxQoJ_fH2zaRFgtqj85jTLXHhw,3683
|
|
374
|
-
helm/proxy/tokenizers/anthropic_tokenizer.py,sha256=eaUumCgxmF4N0kloVvYjSWWXVHeYMST-h6W_XESyGlM,1767
|
|
375
|
-
helm/proxy/tokenizers/caching_tokenizer.py,sha256=71W2T9wHEgVLI6cBfJ_Bo9g3GwUa-ujCd3PrQdMkoTE,7812
|
|
376
|
-
helm/proxy/tokenizers/cohere_tokenizer.py,sha256=9mRLdwJhy_JgUW-y6-CFc_iez2raky3S7UqPJ0dcCbE,3745
|
|
377
|
-
helm/proxy/tokenizers/http_model_tokenizer.py,sha256=nfIANZt_0UCh6SM7VZI72wmBov80PkE38v5kgeVPD70,3062
|
|
378
|
-
helm/proxy/tokenizers/huggingface_tokenizer.py,sha256=aGw-1UAhROZV_5OhtvzfXwd8S_8HSBrVeeOAdbUvaCE,7448
|
|
379
|
-
helm/proxy/tokenizers/ice_tokenizer.py,sha256=4ZTIRpmt2cqwcxnmrDpCRhiJ0BI3ELE-GHoBuHWgrDA,1200
|
|
380
|
-
helm/proxy/tokenizers/lit_gpt_tokenizer.py,sha256=LMrpaje64UmnDKoYjPG_RQeXVA4xQUwW5t48IJIeLaQ,1660
|
|
381
|
-
helm/proxy/tokenizers/simple_tokenizer.py,sha256=GjQz0D1IQ3reXO5e6fkYkn7a9b_vmmIKch2wT13qljE,1134
|
|
382
|
-
helm/proxy/tokenizers/test_huggingface_tokenizer.py,sha256=aDcDuqg5yvkf33TdzvOpQTqkRJwU0prutddauZTCIE4,2521
|
|
383
|
-
helm/proxy/tokenizers/test_ice_tokenizer.py,sha256=-xi_f8TBSkAYr5CcA56HDq7rZ9HAGd99J7twNfkLzFU,2619
|
|
384
|
-
helm/proxy/tokenizers/test_yalm_tokenizer.py,sha256=qWpKnUuAlePd6t-UJB_mAiBwtAacnC8caKXLJ_GdTkk,2477
|
|
385
|
-
helm/proxy/tokenizers/tiktoken_tokenizer.py,sha256=FU2g_FF0pVoyspYhHcz3SyCBGNbsTby-nWVrj0Cq4_c,1265
|
|
386
|
-
helm/proxy/tokenizers/tokenizer.py,sha256=1zi9fhgrs2znINKDnoEhW-6UatsVj30hRjQbTDbOdZg,1583
|
|
387
|
-
helm/proxy/tokenizers/yalm_tokenizer.py,sha256=uN7ZLiqG2uCmL1iWy6Y_Je6XuATyvqupWPjJDLnjdNk,1411
|
|
388
|
-
helm/proxy/tokenizers/yalm_tokenizer_data/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
389
|
-
helm/proxy/tokenizers/yalm_tokenizer_data/test_yalm_tokenizer.py,sha256=W9p5QNn1GSm-y85yVEQe_82zn5CVK_vR6jvhk7JTs_k,869
|
|
390
|
-
helm/proxy/tokenizers/yalm_tokenizer_data/yalm_tokenizer.py,sha256=wXP-LmFLUjRfCExkNHbwVUINE8qFPwvv9h7Sf_pVNbw,6395
|
|
391
|
-
crfm_helm-0.3.0.dist-info/LICENSE,sha256=bJiay7Nn5SHQ2n_4ZIT3AE0W1RGq4O7pxOApgBsaT64,11349
|
|
392
|
-
crfm_helm-0.3.0.dist-info/METADATA,sha256=J42CcYhRw9LJbHnC-pR4_V-KbGcEkZz6Fjl_Awtmvbw,13308
|
|
393
|
-
crfm_helm-0.3.0.dist-info/WHEEL,sha256=Xo9-1PvkuimrydujYJAjF7pCkriuXBpUPEjma1nZyJ0,92
|
|
394
|
-
crfm_helm-0.3.0.dist-info/entry_points.txt,sha256=AvH9soAH3uey9xffisWewd0yrmPWGASC036jHd1SFyg,300
|
|
395
|
-
crfm_helm-0.3.0.dist-info/top_level.txt,sha256=s9yl-XmuTId6n_W_xRjCS99MHTwPXOlkKxmTr8xZUNY,5
|
|
396
|
-
crfm_helm-0.3.0.dist-info/RECORD,,
|
helm/benchmark/vlm_run_specs.py
DELETED
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
from typing import List, Optional
|
|
2
|
-
|
|
3
|
-
from .adaptation.adapter_spec import AdapterSpec
|
|
4
|
-
from .adaptation.adapters.adapter_factory import ADAPT_GENERATION_MULTIMODAL
|
|
5
|
-
from .metrics.metric import MetricSpec
|
|
6
|
-
from .run_specs import run_spec_function, get_exact_match_metric_specs
|
|
7
|
-
from .runner import RunSpec
|
|
8
|
-
from .scenarios.scenario import ScenarioSpec
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
############################################################
|
|
12
|
-
# Prototypical adapter specs for VLM evaluation
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
def get_vlm_generation_adapter_spec(
|
|
16
|
-
instructions: str = "",
|
|
17
|
-
input_prefix: str = "",
|
|
18
|
-
input_suffix: str = "",
|
|
19
|
-
output_prefix: str = "",
|
|
20
|
-
output_suffix: str = "",
|
|
21
|
-
max_train_instances: int = 0,
|
|
22
|
-
max_tokens: int = 100,
|
|
23
|
-
stop_sequences: Optional[List[str]] = None,
|
|
24
|
-
) -> AdapterSpec:
|
|
25
|
-
return AdapterSpec(
|
|
26
|
-
method=ADAPT_GENERATION_MULTIMODAL,
|
|
27
|
-
global_prefix="",
|
|
28
|
-
instructions=instructions,
|
|
29
|
-
input_prefix=input_prefix,
|
|
30
|
-
input_suffix=input_suffix,
|
|
31
|
-
output_prefix=output_prefix,
|
|
32
|
-
output_suffix=output_suffix,
|
|
33
|
-
instance_prefix="\n",
|
|
34
|
-
max_train_instances=max_train_instances,
|
|
35
|
-
num_outputs=1,
|
|
36
|
-
max_tokens=max_tokens,
|
|
37
|
-
stop_sequences=stop_sequences if stop_sequences is not None else [],
|
|
38
|
-
random=None,
|
|
39
|
-
)
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
############################################################
|
|
43
|
-
# VHELM run specs
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
@run_spec_function("vqa")
|
|
47
|
-
def get_vqa_spec() -> RunSpec:
|
|
48
|
-
scenario_spec = ScenarioSpec(
|
|
49
|
-
class_name="helm.benchmark.scenarios.vision_language.vqa_scenario.VQAScenario", args={}
|
|
50
|
-
)
|
|
51
|
-
|
|
52
|
-
# TODO: finalize the adapter spec parameters once we add more models
|
|
53
|
-
adapter_spec: AdapterSpec = get_vlm_generation_adapter_spec(
|
|
54
|
-
input_prefix="User: ",
|
|
55
|
-
input_suffix="<end_of_utterance>",
|
|
56
|
-
output_prefix="\nAssistant: ",
|
|
57
|
-
output_suffix="<end_of_utterance>",
|
|
58
|
-
max_train_instances=3,
|
|
59
|
-
stop_sequences=["<end_of_utterance>"],
|
|
60
|
-
)
|
|
61
|
-
|
|
62
|
-
metric_specs: List[MetricSpec] = get_exact_match_metric_specs()
|
|
63
|
-
|
|
64
|
-
run_spec_name: str = "vqa"
|
|
65
|
-
return RunSpec(
|
|
66
|
-
name=run_spec_name,
|
|
67
|
-
scenario_spec=scenario_spec,
|
|
68
|
-
adapter_spec=adapter_spec,
|
|
69
|
-
metric_specs=metric_specs,
|
|
70
|
-
groups=[run_spec_name],
|
|
71
|
-
)
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
from .gpt2_window_service import GPT2WindowService
|
|
2
|
-
from .tokenizer_service import TokenizerService
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
class LegacyAnthropicWindowService(GPT2WindowService):
|
|
6
|
-
"""
|
|
7
|
-
This is the window service for the legacy Anthropic client.
|
|
8
|
-
Please consider using the new Anthropic client with the AnthropicWindowService.
|
|
9
|
-
Anthropic has their own tokenizer based on the GPT-2 tokenizer.
|
|
10
|
-
This tokenizer is not publicly available, so approximate with the GPT-2 tokenizer.
|
|
11
|
-
"""
|
|
12
|
-
|
|
13
|
-
def __init__(self, service: TokenizerService):
|
|
14
|
-
super().__init__(service)
|
|
15
|
-
|
|
16
|
-
@property
|
|
17
|
-
def max_sequence_length(self) -> int:
|
|
18
|
-
"""Return the max sequence length of the Anthropic model."""
|
|
19
|
-
return 8192
|
|
20
|
-
|
|
21
|
-
@property
|
|
22
|
-
def max_request_length(self) -> int:
|
|
23
|
-
"""
|
|
24
|
-
Return the max request length of the Anthropic model.
|
|
25
|
-
Anthropic does not include the start of sequence token.
|
|
26
|
-
"""
|
|
27
|
-
return self.max_sequence_length
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
class AnthropicWindowService(GPT2WindowService):
|
|
31
|
-
"""
|
|
32
|
-
Anthropic has their own tokenizer.
|
|
33
|
-
"""
|
|
34
|
-
|
|
35
|
-
def __init__(self, service: TokenizerService):
|
|
36
|
-
super().__init__(service)
|
|
37
|
-
|
|
38
|
-
@property
|
|
39
|
-
def max_sequence_length(self) -> int:
|
|
40
|
-
"""
|
|
41
|
-
Return the max sequence length of the Anthropic model.
|
|
42
|
-
While the limits seems to be 8192, we limit to 8000
|
|
43
|
-
according to Anthropic's recommendations.
|
|
44
|
-
See: https://console.anthropic.com/docs/prompt-design
|
|
45
|
-
"""
|
|
46
|
-
return 8000
|
|
47
|
-
|
|
48
|
-
@property
|
|
49
|
-
def max_sequence_and_generated_tokens_length(self) -> int:
|
|
50
|
-
"""
|
|
51
|
-
Return the max prompt length + max token length.
|
|
52
|
-
Anthropic is one of the rare models that has a limit on this.
|
|
53
|
-
The official limit seems to be 9192,but using scripts/compute_request_limits.py
|
|
54
|
-
we found that the limit is actually 9016.
|
|
55
|
-
"""
|
|
56
|
-
return 9016
|
|
57
|
-
|
|
58
|
-
@property
|
|
59
|
-
def max_request_length(self) -> int:
|
|
60
|
-
"""
|
|
61
|
-
Return the max request length of the Anthropic model.
|
|
62
|
-
Anthropic does not include the start of sequence token.
|
|
63
|
-
"""
|
|
64
|
-
return self.max_sequence_length
|
|
65
|
-
|
|
66
|
-
@property
|
|
67
|
-
def tokenizer_name(self) -> str:
|
|
68
|
-
return "anthropic/claude"
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
from .local_window_service import LocalWindowService
|
|
2
|
-
from .tokenizer_service import TokenizerService
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
class BloomWindowService(LocalWindowService):
|
|
6
|
-
def __init__(self, service: TokenizerService):
|
|
7
|
-
super().__init__(service)
|
|
8
|
-
|
|
9
|
-
@property
|
|
10
|
-
def max_sequence_length(self) -> int:
|
|
11
|
-
"""
|
|
12
|
-
The model was trained with a sequence length of 2,048.
|
|
13
|
-
Source: https://huggingface.co/bigscience/bloom
|
|
14
|
-
"""
|
|
15
|
-
return 2048
|
|
16
|
-
|
|
17
|
-
@property
|
|
18
|
-
def max_request_length(self) -> int:
|
|
19
|
-
"""Return the max request length."""
|
|
20
|
-
return self.max_sequence_length + 1
|
|
21
|
-
|
|
22
|
-
@property
|
|
23
|
-
def end_of_text_token(self) -> str:
|
|
24
|
-
"""The end of text token."""
|
|
25
|
-
return "</s>"
|
|
26
|
-
|
|
27
|
-
@property
|
|
28
|
-
def prefix_token(self) -> str:
|
|
29
|
-
"""The prefix token is the same as the end of text token."""
|
|
30
|
-
return self.end_of_text_token
|
|
31
|
-
|
|
32
|
-
@property
|
|
33
|
-
def tokenizer_name(self) -> str:
|
|
34
|
-
"""Name of the tokenizer to use when sending a request."""
|
|
35
|
-
return "bigscience/bloom"
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
from .encoder_decoder_window_service import EncoderDecoderWindowService
|
|
2
|
-
from .tokenizer_service import TokenizerService
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
class FlanT5WindowService(EncoderDecoderWindowService):
|
|
6
|
-
def __init__(self, service: TokenizerService):
|
|
7
|
-
super().__init__(service)
|
|
8
|
-
|
|
9
|
-
@property
|
|
10
|
-
def max_sequence_length(self) -> int:
|
|
11
|
-
"""Return the max sequence length."""
|
|
12
|
-
# We subtract 1 to account for <extra_id_0> that gets appended to prompts.
|
|
13
|
-
return 512 - 1
|
|
14
|
-
|
|
15
|
-
@property
|
|
16
|
-
def end_of_text_token(self) -> str:
|
|
17
|
-
"""The end of text token."""
|
|
18
|
-
return "</s>"
|
|
19
|
-
|
|
20
|
-
@property
|
|
21
|
-
def tokenizer_name(self) -> str:
|
|
22
|
-
"""Name of the tokenizer to use when sending a request."""
|
|
23
|
-
return "google/flan-t5-xxl"
|
|
24
|
-
|
|
25
|
-
@property
|
|
26
|
-
def prefix_token(self) -> str:
|
|
27
|
-
"""The prefix token is the same as the end of text token."""
|
|
28
|
-
# echo=True is not supported
|
|
29
|
-
return ""
|