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
90b56db5
Commit
90b56db5
authored
Mar 01, 2021
by
Muennighoff
Browse files
Cleanups
parent
001c0a05
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
lm_eval/tasks/ethics.py
lm_eval/tasks/ethics.py
+0
-3
No files found.
lm_eval/tasks/ethics.py
View file @
90b56db5
...
...
@@ -256,9 +256,6 @@ class EthicsUtilitarianism(Ethics):
requests_b
=
[
rf
.
loglikelihood
(
ctx
[
1
],
f
"
{
str
(
i
)
}
"
)[
0
]
for
i
in
range
(
1
,
11
)]
requests_a
.
extend
(
requests_b
)
print
(
ctx
[
0
])
print
(
ctx
[
1
])
return
requests_a
def
process_results
(
self
,
doc
,
results
):
...
...
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