Repository navigation
Description
操作系统及版本
Alibaba Cloud Linux 3.2104 U10 (OpenAnolis Edition)
安装工具的python环境
在anaconda/miniconda创建的python虚拟环境
python版本
3.10
AISBench工具版本
3.1.20260728
AISBench执行命令
ais_bench --models vllm_api_general_chat --datasets ifbench_0_shot_gen_str --debug
模型配置文件或自定义配置文件内容
ais_bench/benchmark/configs/models/vllm_api/vllm_api_general_chat.py:
path="xxx/model/MiniMax-M2.5/",
model="MiniMax-M2.5",
max_out_len=2048,
batch_size=8,
generation_kwargs=dict(
temperature=0.03,
),
pred_postprocessor=dict(type=extract_non_reasoning_content_raw),
使能环境变量 NLTK_DATA 指向 nltk_data 目录
export NLTK_DATA=xxx/nltk_data
预期行为
评测正常,成功输出精度信息
实际行为
infer阶段正常,eval阶段nltk包无法正确加载,程序异常终止未输出精度信息
[2026-08-05 15:13:23,701] [ais_bench] [INFO] Starting evaluation tasks...
[2026-08-05 15:13:23,704] [ais_bench] [INFO] Partitioned into 1 tasks.
[2026-08-05 15:13:23,717] [ais_bench] [INFO] Launch TasksMonitor, PID: 1929228, Refresh interval: 0.5, Run in background: True
[2026-08-05 15:13:34,077] [ais_bench] [INFO] Debug mode, print progress directly
[2026-08-05 15:13:34,223] [ais_bench] [INFO] [ifbench][load] Loading IFBench dataset from: xxx/benchmark/ais_bench/benchmark/datasets/utils/../../../../ais_bench/datasets/ifbench/data/train-00000-of-00001.parquet
[2026-08-05 15:13:34,280] [ais_bench] [INFO] [ifbench][load] IFBench dataset loaded: 300 samples
[2026-08-05 15:13:34,496] [ais_bench] [INFO] Running 1-th replica of evaluation
[2026-08-05 15:13:34,496] [ais_bench] [INFO] [ifbench][score] ========== Score Start, total samples: 300 ==========
[nltk_data] Error loading stopwords: <urlopen error [Errno 101]
[nltk_data] Network is unreachable>
[nltk_data] Error loading stopwords: <urlopen error [Errno 101]
[nltk_data] Network is unreachable>
^CTraceback (most recent call last):
File "xxx/benchmark/ais_bench/benchmark/datasets/ifbench/instructions_util.py", line 11, in _ensure_nltk_data
nltk.data.find(f'tokenizers/{data_name}')
File "/root/miniconda3/envs/aisbench_py310/lib/python3.10/site-packages/nltk/data.py", line 738, in find
raise LookupError(resource_not_found)
LookupError:
Resource 'stopwords' not found.
Please use the NLTK Downloader to obtain the resource:
import nltk
nltk.download('stopwords')
For more information see: https://www.nltk.org/data.html
Attempted to load 'tokenizers/stopwords'
Searched in:
- 'xxx/nltk_data'
- '/root/nltk_data'
- '/root/miniconda3/envs/aisbench_py310/nltk_data'
- '/root/miniconda3/envs/aisbench_py310/share/nltk_data'
- '/root/miniconda3/envs/aisbench_py310/lib/nltk_data'
- '/usr/share/nltk_data'
- '/usr/local/share/nltk_data'
- '/usr/lib/nltk_data'
- '/usr/local/lib/nltk_data'
前置检查
- 我已读懂主页文档的快速入门,无法解决问题
- 我已检索过FAQ,无重复问题
- 我已搜索过现有Issue,无重复问题
- 我已更新到最新版本,问题仍存在
Activity
github-actions commentedon Aug 6, 2026
🌟欢迎给AISBench benchmark测评工具提issue,您可以先尝试以下途径寻求issue的解决方法:
github-actions commentedon Aug 6, 2026
🤖 基于AI机器人的issue内容完整性检查结果:
问题内容检查结果
检查状态
PASS
详细检查
改进建议
所有内容已完备!
补充说明
该Issue内容非常详细和完整,提供了所有必需的信息,包括清晰的复现步骤、配置信息和详细的错误日志(实际行为部分),对于问题的诊断非常有帮助。
👉 如果想重新检查,在评论区@issue_checker即可。
【强烈推荐❤️🔥】确保issue描述完整后,可以试着将issue交给
回答,deepwiki包含了和工具相关的所有知识库
liuyang-2026 commentedon Aug 14, 2026
问题已修复