paper-with-me

홈 › Papers

Multi-Task Instruction Tuning of LLaMa for Specific Scenarios: A Preliminary Study on Writing Assistance

2023-05-22 · Yue Zhang, Leyang Cui, Deng Cai, Xinting Huang, Tao Fang, Wei Bi

Proprietary Large Language Models (LLMs), such as ChatGPT, have garnered significant attention due to their exceptional capabilities in handling a diverse range of tasks. Recent studies demonstrate that open-sourced smaller foundational models, such as 7B-size LLaMA, can also display remarkable proficiency in tackling diverse tasks when fine-tuned using instruction-driven data. In this work, we investigate a practical problem setting where the primary focus is on one or a few particular tasks rather than general-purpose instruction following, and explore whether LLMs can be beneficial and further improved for such targeted scenarios. We choose the writing-assistant scenario as the testbed, which includes seven writing tasks. We collect training data for these tasks, reframe them in an instruction-following format, and subsequently refine the LLM, specifically LLaMA, via instruction tuning. Experimental results show that fine-tuning LLaMA on writing instruction data significantly improves its ability on writing tasks. We also conduct more experiments and analyses to offer insights for future work on effectively fine-tuning LLaMA for specific scenarios. Finally, we initiate a discussion regarding the necessity of employing LLMs for only one targeted task, taking into account the efforts required for tuning and the resources consumed during deployment.

📄 PDF Abstract BibTeX arXiv:2305.13225

Code (0)

등록된 구현이 없습니다.

Tasks

Instruction Following

Methods 이 논문이 사용한 방법론

Multi-Head Attention 설명 없음
Attention 설명 없음
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
Dropout Dropout is a regularization technique for neural networks that drops a unit (along with connections) at training time with a specified probability $p$ (a common value is…
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.

Similar Papers 제목 키워드 기반

SOCIALITE-LLAMA: An Instruction-Tuned Model for Social Scientific Tasks

2024-02-03 · Gourab Dey, Adithya V Ganesan, Yash Kumar Lal, Manal Shah 외

Social science NLP tasks, such as emotion or humor detection, are required to capture the semantics along with the implicit pragmatics from text, often with limited amounts of training data. Instruction tuning has been s…

Humor DetectionReading Comprehension

ChartLlama: A Multimodal LLM for Chart Understanding and Generation

2023-11-27 · Yucheng Han, Chi Zhang, Xin Chen, Xu Yang 외

Multi-modal large language models have demonstrated impressive performances on most vision-language tasks. However, the model generally lacks the understanding capabilities for specific domain data, particularly when it …

Chart UnderstandingLanguage ModellingLarge Language Model

BioInstruct: Instruction Tuning of Large Language Models for Biomedical Natural Language Processing

2023-10-30 · Hieu Tran, Zhichao Yang, Zonghai Yao, Hong Yu

To enhance the performance of large language models (LLMs) in biomedical natural language processing (BioNLP) by introducing a domain-specific instruction dataset and examining its impact when combined with multi-task le…

Language ModellingMulti-Task Learningparameter-efficient fine-tuningQuestion Answering+1

LLaMA-Excitor: General Instruction Tuning via Indirect Feature Interaction

2024-04-01 · CVPR 2024 1 · Bo Zou, Chao Yang, Yu Qiao, Chengbin Quan 외

Existing methods to fine-tune LLMs, like Adapter, Prefix-tuning, and LoRA, which introduce extra modules or additional input sequences to inject new skills or knowledge, may compromise the innate abilities of LLMs. In th…

Image CaptioningInstruction FollowingMMLU

LLaMA-Adapter: Efficient Fine-tuning of Language Models with Zero-init Attention

2023-03-28 · Renrui Zhang, Jiaming Han, Chris Liu, Peng Gao 외

We present LLaMA-Adapter, a lightweight adaption method to efficiently fine-tune LLaMA into an instruction-following model. Using 52K self-instruct demonstrations, LLaMA-Adapter only introduces 1.2M learnable parameters …

Instruction FollowingLanguage ModellingMultimodal Deep LearningMusic Question Answering+1