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
OpenDAS
opencompass
Commits
3e771757
Unverified
Commit
3e771757
authored
Dec 12, 2023
by
bittersweet1999
Committed by
GitHub
Dec 12, 2023
Browse files
[Fix] Hotfix for Subjective Evaluation (#686)
parent
465308e4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
configs/subjective_score.py
configs/subjective_score.py
+2
-1
opencompass/partitioners/sub_naive.py
opencompass/partitioners/sub_naive.py
+6
-5
No files found.
configs/subjective_score.py
View file @
3e771757
...
@@ -85,6 +85,7 @@ eval = dict(
...
@@ -85,6 +85,7 @@ eval = dict(
max_num_workers
=
256
,
max_num_workers
=
256
,
task
=
dict
(
task
=
dict
(
type
=
SubjectiveEvalTask
,
type
=
SubjectiveEvalTask
,
judge_cfg
=
judge_model
)),
)),
)
)
work_dir
=
'./creation/'
work_dir
=
'./creation/'
...
...
opencompass/partitioners/sub_naive.py
View file @
3e771757
...
@@ -102,8 +102,9 @@ class SubjectiveNaivePartitioner(NaivePartitioner):
...
@@ -102,8 +102,9 @@ class SubjectiveNaivePartitioner(NaivePartitioner):
else
:
else
:
models
=
self
.
get_model_combinations
(
models
,
base_models
,
models
=
self
.
get_model_combinations
(
models
,
base_models
,
compare_models
)
compare_models
)
return
super
().
partition
(
models
=
models
,
model_dataset_combinations
=
[{
'models'
:
models
,
'datasets'
:
datasets
}]
datasets
=
datasets
,
return
super
().
partition
(
model_dataset_combinations
=
model_dataset_combinations
,
work_dir
=
work_dir
,
work_dir
=
work_dir
,
out_dir
=
out_dir
,
out_dir
=
out_dir
,
add_cfg
=
add_cfg
)
add_cfg
=
add_cfg
)
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