mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-08 19:10:56 +00:00
evals new rebase
This commit is contained in:
parent
89d24a07f0
commit
31c046dcdf
28 changed files with 1141 additions and 87 deletions
23
llama_stack/distribution/registry/datasets/__init__.py
Normal file
23
llama_stack/distribution/registry/datasets/__init__.py
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This source code is licensed under the terms described in the LICENSE file in
|
||||
# the root directory of this source tree.
|
||||
|
||||
# TODO: make these import config based
|
||||
from .dataset import CustomDataset, HFDataset
|
||||
from .dataset_registry import DatasetRegistry
|
||||
|
||||
DATASETS_REGISTRY = {
|
||||
"mmlu-simple-eval-en": CustomDataset(
|
||||
name="mmlu_eval",
|
||||
url="https://openaipublic.blob.core.windows.net/simple-evals/mmlu.csv",
|
||||
),
|
||||
"hellaswag": HFDataset(
|
||||
name="hellaswag",
|
||||
url="hf://hellaswag?split=validation&trust_remote_code=True",
|
||||
),
|
||||
}
|
||||
|
||||
for k, v in DATASETS_REGISTRY.items():
|
||||
DatasetRegistry.register(k, v)
|
||||
Loading…
Add table
Add a link
Reference in a new issue