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
6df124d4
Unverified
Commit
6df124d4
authored
Aug 25, 2023
by
cdpath
Committed by
GitHub
Aug 25, 2023
Browse files
[Docs] update descriptions for tools (#270)
parent
fda42fd5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
tools/case_analyzer.py
tools/case_analyzer.py
+1
-1
tools/prediction_merger.py
tools/prediction_merger.py
+2
-1
tools/prompt_viewer.py
tools/prompt_viewer.py
+2
-1
No files found.
tools/case_analyzer.py
View file @
6df124d4
...
...
@@ -13,7 +13,7 @@ from opencompass.utils import build_dataset_from_cfg, get_infer_output_path
def
parse_args
():
parser
=
argparse
.
ArgumentParser
(
description
=
'Run
an evaluation task
'
)
parser
=
argparse
.
ArgumentParser
(
description
=
'Run
case analyzer
'
)
parser
.
add_argument
(
'config'
,
help
=
'Train config file path'
)
parser
.
add_argument
(
'-f'
,
...
...
tools/prediction_merger.py
View file @
6df124d4
...
...
@@ -10,7 +10,8 @@ from opencompass.utils import build_dataset_from_cfg, get_infer_output_path
def
parse_args
():
parser
=
argparse
.
ArgumentParser
(
description
=
'Run an evaluation task'
)
parser
=
argparse
.
ArgumentParser
(
description
=
'Merge patitioned predictions'
)
parser
.
add_argument
(
'config'
,
help
=
'Train config file path'
)
parser
.
add_argument
(
'-w'
,
'--work-dir'
,
...
...
tools/prompt_viewer.py
View file @
6df124d4
...
...
@@ -13,7 +13,8 @@ from opencompass.utils import (Menu, build_dataset_from_cfg,
def
parse_args
():
parser
=
argparse
.
ArgumentParser
(
description
=
'Run an evaluation task'
)
parser
=
argparse
.
ArgumentParser
(
description
=
'View generated prompts based on datasets (and models)'
)
parser
.
add_argument
(
'config'
,
help
=
'Train config file path'
)
parser
.
add_argument
(
'-n'
,
'--non-interactive'
,
action
=
'store_true'
)
parser
.
add_argument
(
'-a'
,
'--all'
,
action
=
'store_true'
)
...
...
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