mirror of
https://github.com/InternLM/InternBootcamp.git
synced 2026-04-28 17:29:37 +00:00
feat(run_eval): add checkpoint resume functionality and update example documentation;
- update new bootcamp benchmark dataset
This commit is contained in:
parent
125a7818e0
commit
1a8477c8d8
166 changed files with 8877 additions and 5047 deletions
|
|
@ -22,7 +22,8 @@ python examples/unittests/run_eval.py \
|
|||
--timeout 6000 \
|
||||
--api_mode completion \
|
||||
--max_retries 16 \
|
||||
--max_retrying_delay 60
|
||||
--max_retrying_delay 60 \
|
||||
--resume
|
||||
```
|
||||
|
||||
---
|
||||
|
|
@ -46,7 +47,8 @@ Here are the main parameters supported by the script and their meanings:
|
|||
| `--sys_prompt` | str | `"You are an expert reasoner..."` | System prompt content; only effective when `api_mode` is `chat_completion`. |
|
||||
| `--max_retries` | int | `16` | Number of retries per failed request. |
|
||||
| `--max_retrying_delay` | int | `60` | Maximum delay between retries in seconds. |
|
||||
|
||||
| `--resume` | bool | `true` | Resume from previous run. |
|
||||
| `--check_model_url` | bool | `true` | Check if the model service URL is available before starting the evaluation. |
|
||||
##### Parameter Relationships
|
||||
- `--sys_prompt` is only effective if `--api_mode` is set to `chat_completion`.
|
||||
- `--template` is only effective if `--api_mode` is set to `completion`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue