paper-with-me

Papers

Evaluating Instruction-Tuned Large Language Models on Code Comprehension and Generation

2023-08-02 · Zhiqiang Yuan, Junwei Liu, Qiancheng Zi, Mingwei Liu, Xin Peng, Yiling Lou

In this work, we evaluate 10 open-source instructed LLMs on four representative code comprehension and generation tasks. We have the following main findings. First, for the zero-shot setting, instructed LLMs are very competitive on code comprehension and generation tasks and sometimes even better than small SOTA models specifically fine-tuned on each downstream task. We also find that larger instructed LLMs are not always better on code-related tasks. Second, for the few-shot setting, we find that adding demonstration examples substantially helps instructed LLMs perform better on most code comprehension and generation tasks; however, the examples would sometimes induce unstable or even worse performance. Furthermore, we find widely-used BM25-based shot selection strategy significantly outperforms the basic random selection or fixed selection only on generation problems. Third, for the fine-tuning setting, we find that fine-tuning could further improve the model performance on downstream code comprehension and generation tasks compared to the zero-shot/one-shot performance. In addition, after being fine-tuned on the same downstream task dataset, instructed LLMs outperform both the small SOTA models and similar-scaled LLMs without instruction tuning. Based on our findings, we further present practical implications on model and usage recommendation, performance and cost trade-offs, and future direction.

📄 PDF Abstract BibTeX arXiv:2308.01240

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Instruction-Tuned Video-Audio Models Elucidate Functional Specialization in the Brain

2025-06-09 · Subba Reddy Oota, Khushbu Pahwa, Prachi Jindal, Satya Sai Srinath Namburi 외

Recent voxel-wise multimodal brain encoding studies have shown that multimodal large language models (MLLMs) exhibit a higher degree of brain alignment compared to unimodal models in both unimodal and multimodal stimulus…

Disentanglement

Evaluating the Zero-shot Robustness of Instruction-tuned Language Models

2023-06-20 · Jiuding Sun, Chantal Shaib, Byron C. Wallace

Instruction fine-tuning has recently emerged as a promising approach for improving the zero-shot capabilities of Large Language Models (LLMs) on new tasks. This technique has shown particular strength in improving the pe…

Scaling Reasoning, Losing Control: Evaluating Instruction Following in Large Reasoning Models

2025-05-20 · Tingchen Fu, Jiawei Gu, Yafu Li, Xiaoye Qu 외

Instruction-following is essential for aligning large language models (LLMs) with user intent. While recent reasoning-oriented models exhibit impressive performance on complex mathematical problems, their ability to adhe…

Instruction FollowingMathematical Reasoning

Evaluating the Instruction-following Abilities of Language Models using Knowledge Tasks

2024-10-16 · Rudra Murthy, Prince Kumar, Praveen Venkateswaran, Danish Contractor

In this work, we focus our attention on developing a benchmark for instruction-following where it is easy to verify both task performance as well as instruction-following capabilities. We adapt existing knowledge benchma…

Instruction FollowingMultiple-choice

Evaluating the Robustness to Instructions of Large Language Models

2023-08-28 · Yuansheng Ni, Sichao Jiang, Xinyu Wu, Hui Shen 외

Recently, Instruction fine-tuning has risen to prominence as a potential method for enhancing the zero-shot capabilities of Large Language Models (LLMs) on novel tasks. This technique has shown an exceptional ability to …

Instruction FollowingRelation Extraction