ChipNeMo:面向芯片设计的领域适配大语言模型
ChipNeMo: Domain-Adapted LLMs for Chip Design
AI总结:
本文提出 ChipNeMo,通过领域自适应分词、持续预训练、指令对齐和检索模型适配芯片设计,并在三类工程任务上验证其优于 LLaMA2、部分用例超过 GPT-4。
摘要:
ChipNeMo 旨在探索大语言模型(LLM)在工业芯片设计中的应用。我们没有直接部署现成的商业或开源 LLM,而是采用以下领域适配技术:领域自适应分词、领域自适应持续预训练、使用领域特定指令进行模型对齐,以及领域适配的检索模型。我们在三个选定的芯片设计 LLM 应用上评估这些方法:工程助理聊天机器人、EDA 脚本生成,以及缺陷摘要与分析。评估表明,与基础 LLaMA2 模型相比,对语言模型进行领域自适应预训练能够在领域相关下游任务上取得更优性能,且不会降低通用能力。特别是,我们的最大模型 ChipNeMo-70B 在工程助理聊天机器人和 EDA 脚本生成这两个用例上优于能力很强的 GPT-4,同时在缺陷摘要与分析方面表现出具有竞争力的性能。这些结果凸显了领域特定定制在提升大语言模型于专业应用中有效性方面的潜力。
英文摘要:
ChipNeMo aims to explore the applications of large language models (LLMs) for industrial chip design. Instead of directly deploying off-the-shelf commercial or open-source LLMs, we instead adopt the following domain adaptation techniques: domain-adaptive tokenization, domain-adaptive continued pretraining, model alignment with domain-specific instructions, and domain-adapted retrieval models. We evaluate these methods on three selected LLM applications for chip design: an engineering assistant chatbot, EDA script generation, and bug summarization and analysis. Our evaluations demonstrate that domain-adaptive pretraining of language models, can lead to superior performance in domain related downstream tasks compared to their base LLaMA2 counterparts, without degradations in generic capabilities. In particular, our largest model, ChipNeMo-70B, outperforms the highly capable GPT-4 on two of our use cases, namely engineering assistant chatbot and EDA scripts generation, while exhibiting competitive performance on bug summarization and analysis. These results underscore the potential of domain-specific customization for enhancing the effectiveness of large language models in specialized applications.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。