TableLlama:迈向面向表格的开放大型通用模型
TableLlama: Towards Open Large Generalist Models for Tables
AI总结:
本文构建包含真实表格与任务的 TableInstruct,并用 LongLoRA 微调 Llama 2(7B)得到开源表格通用模型 TableLlama,在域内和域外任务上验证其性能与泛化能力。
摘要:
半结构化表格无处不在。已有多种任务旨在自动解释、增强和查询表格。当前方法通常需要在表格上进行预训练或采用特殊模型架构设计,局限于特定表格类型,或对表格和任务作出简化假设。本文朝着将开源大型语言模型(LLM)发展为适用于多种基于表格任务的通用模型迈出第一步。为此,我们构建了 TableInstruct,这是一个包含多种真实表格和任务的新数据集,用于对 LLM 进行指令微调和评估。我们进一步开发了首个面向表格的开源通用模型 TableLlama,通过使用 LongLoRA 微调 Llama 2(7B)来应对长上下文挑战。我们在域内设置和域外设置下均进行了实验。在 8 项域内任务中的 7 项上,TableLlama 取得了与各任务 SOTA 相当或更优的性能,尽管后者通常具有任务特定设计。在 6 个域外数据集上,与基础模型相比,它取得了 5 至 44 个绝对点的提升,表明在 TableInstruct 上训练增强了模型的泛化能力。我们开源了数据集和训练后的模型,以推动未来关于开发面向表格的开放通用模型的工作。
英文摘要:
Semi-structured tables are ubiquitous. There has been a variety of tasks that aim to automatically interpret, augment, and query tables. Current methods often require pretraining on tables or special model architecture design, are restricted to specific table types, or have simplifying assumptions about tables and tasks. This paper makes the first step towards developing open-source large language models (LLMs) as generalists for a diversity of table-based tasks. Towards that end, we construct TableInstruct, a new dataset with a variety of realistic tables and tasks, for instruction tuning and evaluating LLMs. We further develop the first open-source generalist model for tables, TableLlama, by fine-tuning Llama 2 (7B) with LongLoRA to address the long context challenge. We experiment under both in-domain setting and out-of-domain setting. On 7 out of 8 in-domain tasks, TableLlama achieves comparable or better performance than the SOTA for each task, despite the latter often has task-specific design. On 6 out-of-domain datasets, it achieves 5-44 absolute point gains compared with the base model, showing that training on TableInstruct enhances the model's generalizability. We open-source our dataset and trained model to boost future work on developing open generalist models for tables.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。