### What this PR does / why we need it?
Update the format of the accuracy report
### Does this PR introduce _any_ user-facing change?
### How was this patch tested?
- vLLM version: v0.10.2
- vLLM main:
c60e6137f0
Signed-off-by: hfadzxy <starmoon_zhang@163.com>
34 lines
1.4 KiB
Markdown
34 lines
1.4 KiB
Markdown
# {{ model_name }}
|
|
|
|
- **vLLM Version**: vLLM: {{ vllm_version }} ([{{ vllm_commit[:7] }}](https://github.com/vllm-project/vllm/commit/{{ vllm_commit }})), **vLLM Ascend Version**: {{ vllm_ascend_version }} ([{{ vllm_ascend_commit[:7] }}](https://github.com/vllm-project/vllm-ascend/commit/{{ vllm_ascend_commit }}))
|
|
- **Software Environment**: **CANN**: {{ cann_version }}, **PyTorch**: {{ torch_version }}, **torch-npu**: {{ torch_npu_version }}
|
|
- **Hardware Environment**: {{ hardware }}
|
|
- **Parallel mode**: {{ parallel_mode }}
|
|
- **Execution mode**: {{ execution_model }}
|
|
|
|
**Command**:
|
|
|
|
```bash
|
|
export MODEL_ARGS={{ model_args }}
|
|
lm_eval --model {{ model_type }} --model_args $MODEL_ARGS --tasks {{ datasets }} \
|
|
{% if apply_chat_template is defined and (apply_chat_template|string|lower in ["true", "1"]) -%}
|
|
--apply_chat_template \
|
|
{%- endif %}
|
|
{% if fewshot_as_multiturn is defined and (fewshot_as_multiturn|string|lower in ["true", "1"]) -%}
|
|
--fewshot_as_multiturn \
|
|
{%- endif %}
|
|
{% if num_fewshot is defined and num_fewshot != "N/A" -%}
|
|
--num_fewshot {{ num_fewshot }} \
|
|
{%- endif %}
|
|
{% if limit is defined and limit != "N/A" -%}
|
|
--limit {{ limit }} \
|
|
{%- endif %}
|
|
--batch_size {{ batch_size }}
|
|
```
|
|
|
|
| Task | Metric | Value | Stderr |
|
|
|-----------------------|-------------|----------:|-------:|
|
|
{% for row in rows -%}
|
|
| {{ row.task }} | {{ row.metric }} | {{ row.value }} | ± {{ "%.4f" | format(row.stderr | float) }} |
|
|
{% endfor %}
|