Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
lm-evaluation-harness
Commits
6031d7d7
Commit
6031d7d7
authored
May 13, 2024
by
JessicaOjo
Browse files
remove test limit
parent
2a285714
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
12 deletions
+12
-12
lm_eval/tasks/afrimgsm/gpt_direct.sh
lm_eval/tasks/afrimgsm/gpt_direct.sh
+12
-11
lm_eval/tasks/afrixnli/en_direct.sh
lm_eval/tasks/afrixnli/en_direct.sh
+0
-1
No files found.
lm_eval/tasks/afrimgsm/gpt_direct.sh
View file @
6031d7d7
...
@@ -9,17 +9,18 @@ task=afrimgsm_direct_eng,afrimgsm_direct_fra,afrimgsm_direct_swa #afrimgsm_direc
...
@@ -9,17 +9,18 @@ task=afrimgsm_direct_eng,afrimgsm_direct_fra,afrimgsm_direct_swa #afrimgsm_direc
for
model
in
"
${
models
[@]
}
"
for
model
in
"
${
models
[@]
}
"
do
do
echo
"Evaluating model:
$model
"
echo
"Evaluating model:
$model
"
for
fewshot
in
0 2 4 6 8
#
for fewshot in 0 2 4 6 8
do
#
do
export
OUTPUT_DIR
=
results/
$fewshot
export
OUTPUT_DIR
=
results/
$fewshot
mkdir
-p
"
$OUTPUT_DIR
"
mkdir
-p
"
$OUTPUT_DIR
"
lm_eval
--model
openai-chat-completions
\
lm_eval
--model
openai-chat-completions
\
--model_args
model
=
"
${
model
}
"
\
--model_args
model
=
"
${
model
}
"
\
--tasks
$task
\
--tasks
$task
\
--output_path
"
$OUTPUT_DIR
"
\
--output_path
"
$OUTPUT_DIR
"
\
--num_fewshot
$fewshot
\
--num_fewshot
0
\
--verbosity
DEBUG
--limit
5
\
done
--verbosity
DEBUG
# done
done
done
\ No newline at end of file
lm_eval/tasks/afrixnli/en_direct.sh
View file @
6031d7d7
...
@@ -33,7 +33,6 @@ do
...
@@ -33,7 +33,6 @@ do
--batch_size
16
\
--batch_size
16
\
--output_path
"
$OUTPUT_DIR
"
\
--output_path
"
$OUTPUT_DIR
"
\
--num_fewshot
$fewshot
\
--num_fewshot
$fewshot
\
--limit
1
\
--verbosity
DEBUG
--verbosity
DEBUG
done
done
done
done
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment