eval-framework 0.5.1__tar.gz → 0.5.2__tar.gz
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.
- {eval_framework-0.5.1 → eval_framework-0.5.2}/PKG-INFO +2 -2
- {eval_framework-0.5.1 → eval_framework-0.5.2}/pyproject.toml +3 -3
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/evaluation_generator.py +1 -1
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/llm/huggingface.py +2 -2
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/llm/vllm.py +2 -2
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/llm/vllm_local_server.py +5 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/registry.py +12 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/LICENSE +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/README.md +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/__init__.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/base_config.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/context/__init__.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/context/determined.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/context/eval.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/context/local.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/exceptions.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/external/drop_process_results.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/external/ifeval_impl/README.md +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/external/ifeval_impl/instructions.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/external/ifeval_impl/instructions_registry.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/external/ifeval_impl/instructions_util.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/external/ifeval_impl/utils.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/llm/__init__.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/llm/aleph_alpha.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/llm/base.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/llm/mistral.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/llm/models.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/llm/openai.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/logger.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/main.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/__init__.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/aggregators/__init__.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/aggregators/aggregators.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/base.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/completion/__init__.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/completion/accuracy_completion.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/completion/aidanbench.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/completion/bleu.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/completion/chrf.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/completion/code_assertion.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/completion/code_execution_pass_at_one.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/completion/concordance_index.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/completion/csv_format.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/completion/cwe_accuracy.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/completion/drop_completion.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/completion/exponential_similarity.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/completion/f1.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/completion/format_checker.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/completion/grid_difference.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/completion/ifeval.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/completion/json_format.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/completion/language_checker.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/completion/length_control.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/completion/math_minerva_completion.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/completion/math_reasoning_completion.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/completion/minerva_math_utils.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/completion/multipl_e_assertion.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/completion/niah_accuracy.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/completion/placeholder_checker.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/completion/repetition.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/completion/rouge_1.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/completion/rouge_2.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/completion/rouge_geometric_mean.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/completion/rouge_l.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/completion/struct_eval_metrics.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/completion/ter.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/completion/text_counter.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/efficiency/__init__.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/efficiency/bytes_per_sequence_position.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/llm/__init__.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/llm/base.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/llm/graders/chatbot_style_grader.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/llm/graders/coherence_grader.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/llm/graders/comparison_grader.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/llm/graders/conciseness_grader.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/llm/graders/contains_names_grader.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/llm/graders/format_correctness_grader.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/llm/graders/instruction_grader.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/llm/graders/language.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/llm/graders/long_context_grader.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/llm/graders/models.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/llm/graders/refusal_grader.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/llm/graders/sql_quality_grader.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/llm/graders/summary_world_knowledge_grader.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/llm/llm_judge_chatbot_style.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/llm/llm_judge_coherence.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/llm/llm_judge_completion_accuracy.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/llm/llm_judge_conciseness.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/llm/llm_judge_contains_names.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/llm/llm_judge_format_correctness.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/llm/llm_judge_instruction.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/llm/llm_judge_mtbench_pair.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/llm/llm_judge_mtbench_single.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/llm/llm_judge_refusal.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/llm/llm_judge_sql.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/llm/llm_judge_world_knowledge.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/llm/utils.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/loglikelihood/__init__.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/loglikelihood/accuracy_loglikelihood.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/loglikelihood/base.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/loglikelihood/bits_per_byte.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/loglikelihood/confidence_weighted_accuracy.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/loglikelihood/dcs.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/loglikelihood/probability_mass.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/loglikelihood/ternary.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/py.typed +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/response_generator.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/result_processors/__init__.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/result_processors/base.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/result_processors/hf_uploader.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/result_processors/result_processor.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/result_processors/wandb_uploader.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/run.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/run_direct.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/shared/types.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/suite.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/Dockerfile_codebench +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/__init__.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/base.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/__init__.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/aidanbench.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/arc.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/arc_de.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/arc_fi.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/balancedcopa.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/belebele.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/bigcodebench.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/casehold.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/chembench.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/copa.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/csqa.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/drop.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/duc.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/flores200.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/flores_plus.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/global_mmlu.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/goldenswag.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/gpqa.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/gsm8k.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/hellaswag.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/hellaswag_de.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/humaneval.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/ifeval.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/include.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/infinitebench.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/lab_bench.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/math_reasoning.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/mbpp.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/medqa.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/mmlu.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/mmlu_de.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/mmlu_pro.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/mmmlu.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/multipl_e.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/naturalqs_open.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/openbookqa.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/opengptx_eu20.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/pawsx.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/piqa.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/quality.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/sciq.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/social_iqa.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/sphyr.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/squad.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/struct_eval.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/tablebench.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/triviaqa.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/truthfulqa.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/winogender.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/winogrande.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/winox.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/wmt.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/zero_scrolls.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/dataset_revisions.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/eval_config.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/perturbation.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/task-dataset-revisions.json +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/task_loader.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/task_names.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/task_style.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/utils.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/utils/constants.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/utils/file_ops.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/utils/generate_task_docs.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/utils/helpers.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/utils/logging.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/utils/packaging.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/utils/tqdm_handler.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/template_formatting/README.md +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/template_formatting/__init__.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/template_formatting/formatter.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/template_formatting/mistral_formatter.py +0 -0
- {eval_framework-0.5.1 → eval_framework-0.5.2}/src/template_formatting/py.typed +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: eval-framework
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.2
|
|
4
4
|
Summary: Evaluation Framework
|
|
5
5
|
Author: Aleph Alpha Research
|
|
6
6
|
License: Apache License
|
|
@@ -252,7 +252,7 @@ Requires-Dist: jinja2>=3.1.6,<4 ; extra == 'optional'
|
|
|
252
252
|
Requires-Dist: transformers>=4.45.2,<5 ; extra == 'transformers'
|
|
253
253
|
Requires-Dist: torch>=2.5,<3 ; extra == 'transformers'
|
|
254
254
|
Requires-Dist: accelerate>=1.14.0,<2 ; extra == 'transformers'
|
|
255
|
-
Requires-Dist: vllm>=0.
|
|
255
|
+
Requires-Dist: vllm>=0.22,<0.23 ; extra == 'vllm'
|
|
256
256
|
Requires-Dist: torch>=2.5,<3 ; extra == 'vllm'
|
|
257
257
|
Requires-Python: >=3.12, <3.13
|
|
258
258
|
Project-URL: repository, https://github.com/Aleph-Alpha-Research/eval-framework
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "eval-framework"
|
|
3
|
-
version = "0.5.
|
|
3
|
+
version = "0.5.2"
|
|
4
4
|
description = "Evaluation Framework"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
license = { file = "LICENSE" }
|
|
@@ -66,7 +66,7 @@ transformers = [
|
|
|
66
66
|
]
|
|
67
67
|
accelerate = ["accelerate"]
|
|
68
68
|
vllm = [
|
|
69
|
-
"vllm>=0.
|
|
69
|
+
"vllm>=0.22,<0.23",
|
|
70
70
|
"torch>=2.5,<3"
|
|
71
71
|
]
|
|
72
72
|
mistral = [
|
|
@@ -92,7 +92,7 @@ eval_framework = "eval_framework.run:run"
|
|
|
92
92
|
[dependency-groups]
|
|
93
93
|
dev = [
|
|
94
94
|
"mypy>=2.1.0,<3",
|
|
95
|
-
"pytest>=9.1.
|
|
95
|
+
"pytest>=9.1.1,<10",
|
|
96
96
|
"pytest-mock>=3.15.1",
|
|
97
97
|
"pytest-xdist>=3.8.0,<4",
|
|
98
98
|
"pytest-sugar>1.1,<2",
|
|
@@ -47,7 +47,7 @@ class EvaluationGenerator:
|
|
|
47
47
|
else:
|
|
48
48
|
raise NotImplementedError
|
|
49
49
|
|
|
50
|
-
self.task_name = eval_.
|
|
50
|
+
self.task_name = eval_.display_name()
|
|
51
51
|
|
|
52
52
|
def _run_metric_calculators(self, responses: list[Completion | Loglikelihood]) -> list[Result]:
|
|
53
53
|
results: list[Result] = self.result_processor.load_metrics_results()
|
|
@@ -6,7 +6,7 @@ import warnings
|
|
|
6
6
|
from collections.abc import Callable, Sequence
|
|
7
7
|
from functools import partial
|
|
8
8
|
from pathlib import Path
|
|
9
|
-
from typing import Any
|
|
9
|
+
from typing import Any, cast
|
|
10
10
|
|
|
11
11
|
import torch
|
|
12
12
|
from tokenizers import Tokenizer
|
|
@@ -133,7 +133,7 @@ class BaseHFLLM(BaseLLM):
|
|
|
133
133
|
|
|
134
134
|
def __del__(self) -> None:
|
|
135
135
|
if hasattr(self, "model"):
|
|
136
|
-
num_gpus = len(self.model.hf_device_map)
|
|
136
|
+
num_gpus = len(cast(dict[str, Any], self.model.hf_device_map))
|
|
137
137
|
del self.model
|
|
138
138
|
if num_gpus > 1 and torch.distributed.is_initialized():
|
|
139
139
|
torch.distributed.destroy_process_group()
|
|
@@ -13,9 +13,9 @@ from typing import Any, Literal, Protocol, cast, override
|
|
|
13
13
|
import torch
|
|
14
14
|
from vllm import LLM, SamplingParams
|
|
15
15
|
from vllm.distributed.parallel_state import cleanup_dist_env_and_memory
|
|
16
|
-
from vllm.inputs
|
|
16
|
+
from vllm.inputs import TokensPrompt
|
|
17
17
|
from vllm.outputs import RequestOutput
|
|
18
|
-
from vllm.
|
|
18
|
+
from vllm.tokenizers import get_tokenizer
|
|
19
19
|
|
|
20
20
|
from eval_framework.llm.base import BaseLLM
|
|
21
21
|
from eval_framework.shared.types import (
|
|
@@ -107,6 +107,7 @@ class VLLMLocalServerModel(BaseLLM):
|
|
|
107
107
|
max_model_len: int | None = None,
|
|
108
108
|
gpu_memory_utilization: float | None = None,
|
|
109
109
|
enforce_eager: bool | None = None,
|
|
110
|
+
attention_backend: str | None = "TRITON_ATTN",
|
|
110
111
|
# Escape hatch:
|
|
111
112
|
vllm_command: str | None = None,
|
|
112
113
|
vllm_extra_args: list[str] | None = None,
|
|
@@ -136,6 +137,10 @@ class VLLMLocalServerModel(BaseLLM):
|
|
|
136
137
|
# vLLM exposes this as a boolean flag; passing a value breaks CLI parsing.
|
|
137
138
|
if enforce_eager:
|
|
138
139
|
cmd += ["--enforce-eager"]
|
|
140
|
+
if attention_backend is not None:
|
|
141
|
+
# Force a specific attention backend. vLLM otherwise auto-selects FlashInfer,
|
|
142
|
+
# which requires nvcc at runtime (absent in CI), causing the server to fail to start.
|
|
143
|
+
cmd += ["--attention-backend", str(attention_backend)]
|
|
139
144
|
|
|
140
145
|
if vllm_extra_args:
|
|
141
146
|
cmd += list(vllm_extra_args)
|
|
@@ -53,6 +53,10 @@ class EvalFactory(ABC):
|
|
|
53
53
|
def metrics(self) -> list[type["BaseMetric"]]:
|
|
54
54
|
"""The eval's metrics"""
|
|
55
55
|
|
|
56
|
+
@abstractmethod
|
|
57
|
+
def display_name(self) -> str:
|
|
58
|
+
"""Human-readable display name. Is allowed to have special characters and whitespaces."""
|
|
59
|
+
|
|
56
60
|
@abstractmethod
|
|
57
61
|
def create(
|
|
58
62
|
self, num_fewshot: int, custom_subjects: list[str] | None, custom_hf_revision: str | None
|
|
@@ -126,6 +130,10 @@ class _Lazy(EvalFactory):
|
|
|
126
130
|
"""The eval's metrics"""
|
|
127
131
|
return self.task_class().get_metrics()
|
|
128
132
|
|
|
133
|
+
def display_name(self) -> str:
|
|
134
|
+
"""The eval's human-readable display name (the task's ``NAME``)."""
|
|
135
|
+
return self.task_class().NAME
|
|
136
|
+
|
|
129
137
|
|
|
130
138
|
class _Eager(EvalFactory):
|
|
131
139
|
"""Wraps an already-imported task class."""
|
|
@@ -167,6 +175,10 @@ class _Eager(EvalFactory):
|
|
|
167
175
|
"""The eval's metrics"""
|
|
168
176
|
return self.task_class().get_metrics()
|
|
169
177
|
|
|
178
|
+
def display_name(self) -> str:
|
|
179
|
+
"""The eval's human-readable display name (the task's ``NAME``)."""
|
|
180
|
+
return self.task_class().NAME
|
|
181
|
+
|
|
170
182
|
|
|
171
183
|
class Registry:
|
|
172
184
|
"""A registry for tasks with support for lazy loading.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/external/drop_process_results.py
RENAMED
|
File without changes
|
{eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/external/ifeval_impl/README.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/external/ifeval_impl/utils.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/aggregators/__init__.py
RENAMED
|
File without changes
|
{eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/aggregators/aggregators.py
RENAMED
|
File without changes
|
|
File without changes
|
{eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/completion/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/completion/aidanbench.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/completion/csv_format.py
RENAMED
|
File without changes
|
{eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/completion/cwe_accuracy.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/completion/ifeval.py
RENAMED
|
File without changes
|
{eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/completion/json_format.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/completion/niah_accuracy.py
RENAMED
|
File without changes
|
|
File without changes
|
{eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/completion/repetition.py
RENAMED
|
File without changes
|
{eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/completion/rouge_1.py
RENAMED
|
File without changes
|
{eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/completion/rouge_2.py
RENAMED
|
File without changes
|
|
File without changes
|
{eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/completion/rouge_l.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/completion/text_counter.py
RENAMED
|
File without changes
|
{eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/efficiency/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/llm/graders/language.py
RENAMED
|
File without changes
|
|
File without changes
|
{eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/llm/graders/models.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/llm/llm_judge_coherence.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/llm/llm_judge_refusal.py
RENAMED
|
File without changes
|
{eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/llm/llm_judge_sql.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/loglikelihood/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/loglikelihood/base.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/loglikelihood/dcs.py
RENAMED
|
File without changes
|
|
File without changes
|
{eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/metrics/loglikelihood/ternary.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/result_processors/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/result_processors/hf_uploader.py
RENAMED
|
File without changes
|
|
File without changes
|
{eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/result_processors/wandb_uploader.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/__init__.py
RENAMED
|
File without changes
|
{eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/aidanbench.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/balancedcopa.py
RENAMED
|
File without changes
|
{eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/belebele.py
RENAMED
|
File without changes
|
{eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/bigcodebench.py
RENAMED
|
File without changes
|
{eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/casehold.py
RENAMED
|
File without changes
|
{eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/chembench.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/flores200.py
RENAMED
|
File without changes
|
{eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/flores_plus.py
RENAMED
|
File without changes
|
{eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/global_mmlu.py
RENAMED
|
File without changes
|
{eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/goldenswag.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/hellaswag.py
RENAMED
|
File without changes
|
{eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/hellaswag_de.py
RENAMED
|
File without changes
|
{eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/humaneval.py
RENAMED
|
File without changes
|
|
File without changes
|
{eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/include.py
RENAMED
|
File without changes
|
{eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/infinitebench.py
RENAMED
|
File without changes
|
{eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/lab_bench.py
RENAMED
|
File without changes
|
{eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/math_reasoning.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/mmlu_de.py
RENAMED
|
File without changes
|
{eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/mmlu_pro.py
RENAMED
|
File without changes
|
|
File without changes
|
{eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/multipl_e.py
RENAMED
|
File without changes
|
{eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/naturalqs_open.py
RENAMED
|
File without changes
|
{eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/openbookqa.py
RENAMED
|
File without changes
|
{eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/opengptx_eu20.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/quality.py
RENAMED
|
File without changes
|
|
File without changes
|
{eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/social_iqa.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/struct_eval.py
RENAMED
|
File without changes
|
{eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/tablebench.py
RENAMED
|
File without changes
|
{eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/triviaqa.py
RENAMED
|
File without changes
|
{eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/truthfulqa.py
RENAMED
|
File without changes
|
{eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/winogender.py
RENAMED
|
File without changes
|
{eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/winogrande.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/benchmarks/zero_scrolls.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/tasks/task-dataset-revisions.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{eval_framework-0.5.1 → eval_framework-0.5.2}/src/eval_framework/utils/generate_task_docs.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|