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
change
sglang
Commits
64456cf0
Unverified
Commit
64456cf0
authored
Dec 19, 2024
by
Yineng Zhang
Committed by
GitHub
Dec 19, 2024
Browse files
docs: update README (#2516)
parent
bb4a9220
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
python/sglang/README.md
python/sglang/README.md
+1
-0
python/sglang/llama3_eval.py
python/sglang/llama3_eval.py
+2
-2
No files found.
python/sglang/README.md
View file @
64456cf0
...
...
@@ -11,4 +11,5 @@
-
`check_env.py`
: Check the environment variables.
-
`global_config.py`
: The global configs and constants.
-
`launch_server.py`
: The entry point for launching the local server.
-
`llama3_eval.py`
: Llama 3.1 evaluation with meta-llama dataset.
-
`utils.py`
: Common utilities.
python/sglang/llama3_eval.py
View file @
64456cf0
...
...
@@ -71,7 +71,7 @@ TASK_TO_MAX_TOKENS = {
TASK_TO_EVAL_SET
=
{
"mmlu"
:
"evals__mmlu__details"
,
"mmlu_
0_sh
ot"
:
"evals__mmlu__0_shot__cot__details"
,
"mmlu_
c
ot"
:
"evals__mmlu__0_shot__cot__details"
,
"mmlu_pro"
:
"evals__mmlu_pro__details"
,
"gsm8k"
:
"evals__gsm8k__details"
,
}
...
...
@@ -297,7 +297,7 @@ if __name__ == "__main__":
"--task"
,
type
=
str
,
required
=
True
,
help
=
"Task (e.g., mmlu, mmlu_
0_sh
ot, mmlu_pro, gsm8k)"
,
help
=
"Task (e.g., mmlu, mmlu_
c
ot, mmlu_pro, gsm8k)"
,
)
parser
.
add_argument
(
"--num-examples"
,
type
=
int
,
default
=
None
,
help
=
"Number of examples to process"
...
...
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