"vscode:/vscode.git/clone" did not exist on "4410b783404f85e01ae644a204d1b9d2370f6ee6"
Unverified Commit bb5b46d7 authored by Yu Shi Jie's avatar Yu Shi Jie Committed by GitHub
Browse files

Merge branch 'EleutherAI:main' into mmlu-pro

parents 1e4e058c 6f7b4a05
include: _paloma_template
task: paloma_m2d2_wikipedia_unsplit
task_alias: M2D2 Wikipedia
dataset_name: m2d2_wikipedia_unsplit
include: _paloma_template
task: paloma_manosphere_meta_sep
task_alias: Manosphere
dataset_name: manosphere_meta_sep
include: _paloma_template
task: paloma_mc4
task_alias: mC4
dataset_name: mc4
include: _paloma_template
task: paloma_ptb
task_alias: PTB
dataset_name: ptb
include: _paloma_template
task: paloma_redpajama
task_alias: RedPajama
dataset_name: redpajama
include: _paloma_template
task: paloma_twitterAAE_HELM_fixed
task_alias: Twitter AAE
dataset_name: twitterAAE_HELM_fixed
def doc_to_target(doc):
return str(doc["text"])
include: _paloma_template
task: paloma_wikitext_103
task_alias: Wikitext-103
dataset_name: wikitext_103
...@@ -19,3 +19,5 @@ metric_list: ...@@ -19,3 +19,5 @@ metric_list:
higher_is_better: true higher_is_better: true
metadata: metadata:
version: 1.0 version: 1.0
dataset_kwargs:
trust_remote_code: true
...@@ -70,6 +70,11 @@ def main(): ...@@ -70,6 +70,11 @@ def main():
if docs is not None: if docs is not None:
iters.append(docs) iters.append(docs)
if len(iters) == 0:
raise ValueError(
f"Passed --sets '{args.sets}' but this task has no splits which match. Please specify a different --sets value."
)
docs = join_iters(iters) docs = join_iters(iters)
with open( with open(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment