GenomeQA
收藏资源简介:
GenomeQA是由香港科技大学·广州等机构联合构建的基因组序列理解基准数据集,包含5,200条样本,覆盖增强子/启动子识别、剪接位点鉴定等6类任务。数据源自ENCODE、NCBI等权威数据库,序列长度6-1,000bp,通过标准化处理确保质量。该数据集用于评估通用大语言模型对原始DNA序列的推理能力,填补了基因组分析与自然语言处理交叉领域的评估空白。
GenomeQA is a benchmark dataset for genomic sequence understanding jointly developed by The Hong Kong University of Science and Technology (Guangzhou) and other institutions. It comprises 5,200 samples spanning six task categories, including enhancer/promoter identification, splice site identification, and other relevant tasks. The dataset’s data originates from authoritative databases such as ENCODE and NCBI, with sequence lengths ranging from 6 to 1,000 bp, and undergoes standardized processing to guarantee data quality. This dataset is intended to evaluate the reasoning abilities of general large language models (LLMs) on raw DNA sequences, filling the evaluation gap in the interdisciplinary field of genomic analysis and natural language processing.
GenomeQA数据集概述
数据集基本信息
- 数据集名称: GenomeQA
- 最后更新日期: 2025年12月30日
数据集简介
GenomeQA是一个基准测试,旨在为通用大语言模型在基于序列的基因组推理任务上提供一个受控的评估环境。
数据集内容与结构
数据集完整包含在项目的benchmark/文件夹中,无需外部下载。
项目结构:
GenomeQA/ ├── benchmark/ # 基准测试数据文件 │ ├── binary/ # 二元选择题 │ └── mcq/ # 多项选择题 ├── scripts/ # 用于批量处理的Shell脚本 ├── run.py # 主推理脚本 ├── random_baseline.py # 随机基线生成器 ├── calc_metrics.py # 指标计算脚本 ├── collect_res.py # 结果收集脚本 ├── requirements.txt # Python依赖项 └── README.md # 说明文件
数据文件格式
基准测试数据文件位于benchmark/{question_type}/{task}.jsonl路径下,其中question_type为问题类型(binary或mcq)。
使用方式
运行推理
使用scripts/文件夹中的run_xx.sh脚本在基准测试数据上运行推理,例如:
bash
bash scripts/run_Llama4.sh
运行随机基线
生成随机基线预测: bash python random_baseline.py
该脚本将:
- 从
benchmark/{question_type}/{task}.jsonl读取所有基准测试文件 - 为每个样本生成随机预测
- 将结果保存到
output/random/{question_type}/{task}/{task}_{id}.jsonl
收集结果
计算评估指标并汇总所有模型在所有任务上的结果: bash bash scripts/calc_and_collect.sh
该脚本将:
- 计算所有模型和任务的指标
- 收集每种问题类型(binary和mcq)的结果
- 生成CSV摘要文件
注意: 需要根据您的设置修改脚本中的model_list和output_root变量。

- 1GenomeQA: Benchmarking General Large Language Models for Genome Sequence Understanding香港科技大学·广州; 香港大学; 北京大学 · 2026年



