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
6d355b85
"vscode:/vscode.git/clone" did not exist on "0055c9d7b90ccdb5ff437110549c463b832c6d1d"
Unverified
Commit
6d355b85
authored
Jun 14, 2023
by
Lintang Sutawika
Committed by
GitHub
Jun 14, 2023
Browse files
Fixed typo on num_fewshot
parent
01cfb2ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lm_eval/api/task.py
lm_eval/api/task.py
+1
-1
No files found.
lm_eval/api/task.py
View file @
6d355b85
...
...
@@ -419,7 +419,7 @@ class Task(abc.ABC):
if
num_fewshot
==
0
:
labeled_examples
=
""
else
:
labeled_examples
=
self
.
sampler
.
get_context
(
doc
,
self
.
_config
.
num_fewshot
)
labeled_examples
=
self
.
sampler
.
get_context
(
doc
,
num_fewshot
)
# for sets with no training docs, draw from other set *but ensure no overlap with current doc*
# if self.has_training_docs():
...
...
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