paper-with-me

홈 › Papers

At Which Training Stage Does Code Data Help LLMs Reasoning?

2023-09-28 · Yingwei Ma, Yue Liu, Yue Yu, Yuanliang Zhang, Yu Jiang, Changjian Wang, Shanshan Li

Large Language Models (LLMs) have exhibited remarkable reasoning capabilities and become the foundation of language technologies. Inspired by the great success of code data in training LLMs, we naturally wonder at which training stage introducing code data can really help LLMs reasoning. To this end, this paper systematically explores the impact of code data on LLMs at different stages. Concretely, we introduce the code data at the pre-training stage, instruction-tuning stage, and both of them, respectively. Then, the reasoning capability of LLMs is comprehensively and fairly evaluated via six reasoning tasks in five domains. We critically analyze the experimental results and provide conclusions with insights. First, pre-training LLMs with the mixture of code and text can significantly enhance LLMs' general reasoning capability almost without negative transfer on other tasks. Besides, at the instruction-tuning stage, code data endows LLMs the task-specific reasoning capability. Moreover, the dynamic mixing strategy of code and text data assists LLMs to learn reasoning capability step-by-step during training. These insights deepen the understanding of LLMs regarding reasoning ability for their application, such as scientific question answering, legal support, etc. The source code and model parameters are released at the link:~\url{https://github.com/yingweima2022/CodeLLM}.

📄 PDF Abstract BibTeX arXiv:2309.16298

Code (1)

yingweima2022/codellm 공식 구현 mindspore

Tasks

Question Answering

Similar Papers 제목 키워드 기반

Variational autoencoders in the presence of low-dimensional data: landscape and implicit bias

2021-12-13 · ICLR 2022 4 · Frederic Koehler, Viraj Mehta, Chenghui Zhou, Andrej Risteski

Variational Autoencoders are one of the most commonly used generative models, particularly for image data. A prominent difficulty in training VAEs is data that is supported on a lower-dimensional manifold. Recent work by…

Integrating Knowledge into End-to-End Speech Recognition from External Text-Only Data

2019-12-04 · Ye Bai, Jiangyan Yi, Jian-Hua Tao, Zhengqi Wen 외

Attention-based encoder-decoder (AED) models have achieved promising performance in speech recognition. However, because of the end-to-end training, an AED model is usually trained with speech-text paired data. It is cha…

Language ModellingSentenceSequence-To-Sequence Speech Recognitionspeech-recognition+1

Word2Pix: Word to Pixel Cross Attention Transformer in Visual Grounding

2021-07-31 · Heng Zhao, Joey Tianyi Zhou, Yew-Soon Ong

Current one-stage methods for visual grounding encode the language query as one holistic sentence embedding before fusion with visual feature. Such a formulation does not treat each word of a query sentence on par when m…

DecoderSentenceSentence EmbeddingSentence-Embedding+1

OSIS: Efficient One-stage Network for 3D Instance Segmentation

2023-03-13 · Chuan Tang, Xi Yang

Current 3D instance segmentation models generally use multi-stage methods to extract instance objects, including clustering, feature extraction, and post-processing processes. However, these multi-stage approaches rely o…

3D Instance SegmentationClusteringDecoderInstance Segmentation+2

Azimuth: Systematic Error Analysis for Text Classification

2022-12-16 · Gabrielle Gauthier-Melançon, Orlando Marquez Ayala, Lindsay Brin, Chris Tyler 외

We present Azimuth, an open-source and easy-to-use tool to perform error analysis for text classification. Compared to other stages of the ML development cycle, such as model training and hyper-parameter tuning, the proc…

Classificationtext-classificationText Classification