diff --git a/docs/en/EvalByLMDeploy.md b/docs/en/EvalByLMDeploy.md index 610f7565..fc0a8c38 100644 --- a/docs/en/EvalByLMDeploy.md +++ b/docs/en/EvalByLMDeploy.md @@ -23,5 +23,5 @@ lmdeploy serve api_server OpenGVLab/InternVL2-8B --model-name InternVL2-8B ## Step 2: Evaluation ```bash -python run.py --data MMStar --model lmdeploy --verbose --api_nproc 64 +python run.py --data MMStar --model lmdeploy --verbose --api-nproc 64 ``` diff --git a/docs/en/Quickstart.md b/docs/en/Quickstart.md index 90501254..a68a1a32 100644 --- a/docs/en/Quickstart.md +++ b/docs/en/Quickstart.md @@ -66,7 +66,7 @@ We use `run.py` for evaluation. To use the script, you can use `$VLMEvalKit/run. - `--data (list[str])`: Set the dataset names that are supported in VLMEvalKit (names can be found in the codebase README). - `--model (list[str])`: Set the VLM names that are supported in VLMEvalKit (defined in `supported_VLM` in `vlmeval/config.py`). - `--mode (str, default to 'all', choices are ['all', 'infer'])`: When `mode` set to "all", will perform both inference and evaluation; when set to "infer", will only perform the inference. -- `--api_nproc (int, default to 4)`: The number of threads for OpenAI API calling. +- `--api-nproc (int, default to 4)`: The number of threads for OpenAI API calling. - `--work-dir (str, default to '.')`: The directory to save evaluation results. **Command for Evaluating Image Benchmarks ** diff --git a/docs/zh-CN/EvalByLMDeploy.md b/docs/zh-CN/EvalByLMDeploy.md index 2fca1487..cdb46c70 100644 --- a/docs/zh-CN/EvalByLMDeploy.md +++ b/docs/zh-CN/EvalByLMDeploy.md @@ -24,5 +24,5 @@ lmdeploy serve api_server OpenGVLab/InternVL2-8B --model-name InternVL2-8B ## 第2步 评测 ```bash -python run.py --data MMStar --model InternVL2-8B --verbose --api_nproc 64 +python run.py --data MMStar --model InternVL2-8B --verbose --api-nproc 64 ``` diff --git a/docs/zh-CN/Quickstart.md b/docs/zh-CN/Quickstart.md index 17c7bea0..f2bb5151 100644 --- a/docs/zh-CN/Quickstart.md +++ b/docs/zh-CN/Quickstart.md @@ -65,7 +65,7 @@ pip install -e . - `--data (list[str])`: 设置在 VLMEvalKit 中支持的数据集名称(可以在代码库首页的 README 中找到支持的数据集列表) - `--model (list[str])`: 设置在 VLMEvalKit 中支持的 VLM 名称(在 `vlmeval/config.py` 中的 `supported_VLM` 中定义) - `--mode (str, 默认值为 'all', 可选值为 ['all', 'infer'])`:当 mode 设置为 "all" 时,将执行推理和评估;当设置为 "infer" 时,只执行推理 -- `--api_nproc (int, 默认值为 4)`: 调用 API 的线程数 +- `--api-nproc (int, 默认值为 4)`: 调用 API 的线程数 - `--work-dir (str, default to '.')`: 存放测试结果的目录 **用于评测图像多模态评测集的命令**