LLaMA-Gene:基于指令微调的通用基因任务大型语言模型
LLaMA-Gene: A General-purpose Gene Task Large Language Model Based on Instruction Fine-tuning
AI总结:
针对基因大型语言模型需兼顾自然语言与基因序列的问题,本文通过扩展LLaMA词汇表并结合指令微调构建混合模型,其在基因分类等任务上性能达SOTA,为通用基因任务模型提供了可行方案。
摘要:
构建类似ChatGPT的通用任务模型是基因大型语言模型的重要研究方向。指令微调是构建ChatGPT的关键组件,但现有指令主要基于自然语言。自然语言与基因序列在分词和编码上存在显著差异,因此构建能同时处理自然语言和基因序列的多语言模型对解决该问题至关重要。本文扩展了LLaMA大型语言模型的能力以涵盖基因语言,包括使用字节对编码(BPE)方法扩展词汇表(专门针对DNA和蛋白质序列定制),并在这些序列上进一步预训练;随后将各类下游基因任务数据转换为统一格式进行指令微调,并在该数据上进一步微调模型。研究表明,经指令微调的基因与自然语言混合模型在基因分类和基因序列互作等任务中取得了与当前最先进(SOTA)水平相当的结果,为构建通用基因任务大型语言模型提供了可行方向。
英文摘要:
Building a general-purpose task model similar to ChatGPT has been an important research direction for gene large language models. Instruction fine-tuning is a key component in building ChatGPT, but existing instructions are primarily based on natural language. Natural language and gene sequences have significant differences in tokenization and encoding. Therefore, constructing a multilingual model that can handle both natural language and gene sequences is crucial for solving this problem.In this paper, we expand the capabilities of the LLaMA large language model to include gene language. This involves expanding the vocabulary using the Byte Pair Encoding (BPE) method, specifically tailored for DNA and protein sequences, and conducting further pre-training on these sequences. We then convert various downstream gene task data into a unified format for instruction fine-tuning and further fine-tune the model on this data.Our study demonstrates that a mixed model of gene and natural language, fine-tuned with instructions, achieves results comparable to the current state-of-the-art (SOTA) in tasks such as gene classification and gene sequence interaction. This provides a promising direction for building a unified large language model for gene tasks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。