arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2312.01678cs.AIcs.CLcs.DBcs.LG
收藏

Jellyfish:一种用于数据预处理的大语言模型

Jellyfish: A Large Language Model for Data Preprocessing

Osaka University(大阪大学);NEC Corporation(日本电气股份有限公司);Nagoya University(名古屋大学)

Haochen Zhang, Yuyang Dong, Chuan Xiao, Masafumi Oyamada

AI总结:

针对现有依赖GPT API的大语言模型数据预处理方案存在数据泄露风险的问题,研究通过定制化指令微调技术训练本地7B-13B参数的Jellyfish系列模型,性能媲美GPT-3.5/4且泛化性、推理能力更优,兼顾数据安全与定制化需求。

摘要:

本文探讨了大语言模型(LLM)在数据预处理(DP)中的应用,数据预处理是数据挖掘流程中将原始数据转换为便于处理的干净格式的关键步骤。尽管LLM的应用激发了人们设计通用DP解决方案的兴趣,但该领域近期的相关工作通常依赖GPT API,不可避免地引发了数据泄露担忧。与这些方法不同,我们将经过指令微调的本地LLM(70亿至130亿参数模型)作为通用DP任务求解器,可在本地单台低成本GPU上运行,既保障数据安全,又支持进一步定制。我们选取了覆盖四类代表性DP任务的数据集集合,并采用专为DP定制的数据配置、知识注入和推理数据蒸馏技术构建指令微调数据。通过对Mistral-7B、Llama 3-8B和OpenOrca-Platypus2-13B进行微调,我们的模型即Jellyfish-7B/8B/13B,性能与GPT-3.5/4模型相当,对未见过的任务具备强泛化能力,且几乎不会损害基础模型的NLP任务能力。同时,Jellyfish的推理能力相比GPT-3.5有所提升。我们的模型可在以下地址获取:https://huggingface.co/NECOUDBFM/Jellyfish ;我们的指令数据集可在以下地址获取:https://huggingface.co/datasets/NECOUDBFM/Jellyfish-Instruct 。

英文摘要:

This paper explores the utilization of LLMs for data preprocessing (DP), a crucial step in the data mining pipeline that transforms raw data into a clean format conducive to easy processing. Whereas the use of LLMs has sparked interest in devising universal solutions to DP, recent initiatives in this domain typically rely on GPT APIs, raising inevitable data breach concerns. Unlike these approaches, we consider instruction-tuning local LLMs (7 -- 13B models) as universal DP task solvers that operate on a local, single, and low-priced GPU, ensuring data security and enabling further customization. We select a collection of datasets across four representative DP tasks and construct instruction tuning data using data configuration, knowledge injection, and reasoning data distillation techniques tailored to DP. By tuning Mistral-7B, Llama 3-8B, and OpenOrca-Platypus2-13B, our models, namely, Jellyfish-7B/8B/13B, deliver competitiveness compared to GPT-3.5/4 models and strong generalizability to unseen tasks while barely compromising the base models' abilities in NLP tasks. Meanwhile, Jellyfish offers enhanced reasoning capabilities compared to GPT-3.5. Our models are available at: https://huggingface.co/NECOUDBFM/Jellyfish . Our instruction dataset is available at: https://huggingface.co/datasets/NECOUDBFM/Jellyfish-Instruct .

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑