File tree Expand file tree Collapse file tree 6 files changed +9
-3
lines changed Expand file tree Collapse file tree 6 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 66
77import click
88import typer
9+ from typing_extensions import Annotated
10+
911from skythought .evals .common .entities import (
1012 Backend ,
1113 BackendParameters ,
2123from skythought .evals .util .cli_util import get_deterministic_hash , parse_multi_args
2224from skythought .evals .util .common import set_seed
2325from skythought .evals .util .results import SummaryResults
24- from typing_extensions import Annotated
2526
2627logging .basicConfig (level = logging .INFO )
2728logger = logging .getLogger (__name__ )
Original file line number Diff line number Diff line change 1313import pandas as pd
1414import ray
1515from openai import OpenAI
16+ from tqdm import tqdm
17+ from vllm import LLM
18+
1619from skythought .evals .batch import Pipeline , init_engine_from_config
1720from skythought .evals .batch .env_config import EnvConfig
1821from skythought .evals .batch .workload import EvalWorkload
3235from skythought .evals .util .metrics import pass_at_k
3336from skythought .evals .util .response import Response , SingleParsedResponse
3437from skythought .evals .util .results import SummaryResults , save_summary
35- from tqdm import tqdm
36- from vllm import LLM
3738
3839logger = logging .getLogger (__name__ )
3940module_dir = os .path .dirname (os .path .abspath (__file__ ))
Original file line number Diff line number Diff line change 44from multiprocessing import Manager
55
66import numpy as np
7+
78from skythought .evals .util .common import has_code
89
910from ..apps .apps_util import run_test as apps_run_test
Original file line number Diff line number Diff line change 22from typing import Dict
33
44from datasets import Dataset as HFDataset
5+
56from skythought .evals .util .common import has_code
67
78from ..base import TaskHandler
Original file line number Diff line number Diff line change 11from typing import Any , Dict
22
33from datasets import load_dataset
4+
45from skythought .evals .util .common import TimeoutException , timeout
56from skythought .evals .util .math_parsing_util import (
67 extract_answer ,
Original file line number Diff line number Diff line change 33from multiprocessing import Manager
44
55import numpy as np
6+
67from skythought .evals .util .common import has_code
78
89from ..base import TaskHandler
You can’t perform that action at this time.
0 commit comments