mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-09 03:19:20 +00:00
move folder
This commit is contained in:
parent
6234dd97d5
commit
041634192a
9 changed files with 18 additions and 6 deletions
|
|
@ -42,12 +42,21 @@ class EvaluationClient(Evals):
|
|||
async def run_main(host: str, port: int):
|
||||
client = EvaluationClient(f"http://{host}:{port}")
|
||||
|
||||
# CustomDataset
|
||||
# response = await client.run_evals(
|
||||
# "Llama3.1-8B-Instruct",
|
||||
# "mmlu-simple-eval-en",
|
||||
# "mmlu",
|
||||
# )
|
||||
# cprint(f"evaluate response={response}", "green")
|
||||
|
||||
# Eleuther Eval
|
||||
response = await client.run_evals(
|
||||
"Llama3.1-8B-Instruct",
|
||||
"mmlu-simple-eval-en",
|
||||
"PLACEHOLDER_DATASET_NAME",
|
||||
"mmlu",
|
||||
)
|
||||
cprint(f"evaluate response={response}", "green")
|
||||
cprint(response.metrics["metrics_table"], "red")
|
||||
|
||||
|
||||
def main(host: str, port: int):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue