TY - GEN
T1 - Quantity Affects Quality
T2 - 36th Conference on Computational Linguistics and Speech Processing, ROCLING 2024
AU - Shao, Hsuan Lei
AU - Wang, Wei Hsin
AU - Huang, Sieh Chuen
N1 - Publisher Copyright:
© ROCLING 2024.All rights reserved.
PY - 2024
Y1 - 2024
N2 - This paper discovered the potential of instruction fine-tuning to significantly performance of large language models (LLMs) on legal multiple-choice questions (MCQs) abilities. By manipulating the volume of training data, we aim to demonstrate a strong correlation between the quantity of data used in fine-tuning can lift LLM’s quality, paving the way for LLMs in specific task (ex: legal knowledge). We compared Breeze-7B (based on Mistral-7B) and its fine-tuned version. Adding more MCQs data can enhance their abilities, there are two models: the first is adding 5,000 new samples(bz5k), and the second is 70,000(bz70k). We compare these with the general baseline model, GPT-3.5, GPT-4o, and one traditional Mandarin LLM(TAME). Then, the MCQs dataset of the MMLU, TMMLU, and the 2023 Taiwanese Bar Examination be evaluated. We find that fine-tuning LLMs might degrade its original capabilities little. However, surpassing a specific data volume can markedly enhances the model’s effectiveness. This balance ensures that while the LLM’s proficiency in specialized legal domains is enhanced. Practically speaking, we developed a legal MCQ-specific LLM that demonstrated the benefits of model customization. For specialized applications, smaller-scale, personalized LLMs can be developed with reduced training costs, making advanced legal tools more accessible and adaptable to specific knowledge areas or unique legal frameworks. This approach also addresses concerns about digital sovereignty by aligning the model’s functionalities with jurisdiction-specific legal regulations.
AB - This paper discovered the potential of instruction fine-tuning to significantly performance of large language models (LLMs) on legal multiple-choice questions (MCQs) abilities. By manipulating the volume of training data, we aim to demonstrate a strong correlation between the quantity of data used in fine-tuning can lift LLM’s quality, paving the way for LLMs in specific task (ex: legal knowledge). We compared Breeze-7B (based on Mistral-7B) and its fine-tuned version. Adding more MCQs data can enhance their abilities, there are two models: the first is adding 5,000 new samples(bz5k), and the second is 70,000(bz70k). We compare these with the general baseline model, GPT-3.5, GPT-4o, and one traditional Mandarin LLM(TAME). Then, the MCQs dataset of the MMLU, TMMLU, and the 2023 Taiwanese Bar Examination be evaluated. We find that fine-tuning LLMs might degrade its original capabilities little. However, surpassing a specific data volume can markedly enhances the model’s effectiveness. This balance ensures that while the LLM’s proficiency in specialized legal domains is enhanced. Practically speaking, we developed a legal MCQ-specific LLM that demonstrated the benefits of model customization. For specialized applications, smaller-scale, personalized LLMs can be developed with reduced training costs, making advanced legal tools more accessible and adaptable to specific knowledge areas or unique legal frameworks. This approach also addresses concerns about digital sovereignty by aligning the model’s functionalities with jurisdiction-specific legal regulations.
UR - https://www.scopus.com/pages/publications/105039889767
UR - https://www.scopus.com/pages/publications/105039889767#tab=citedBy
M3 - Conference contribution
AN - SCOPUS:105039889767
T3 - Proceedings of the 36th Conference on Computational Linguistics and Speech Processing, ROCLING 2024
SP - 11
EP - 18
BT - Proceedings of the 36th Conference on Computational Linguistics and Speech Processing, ROCLING 2024
A2 - Tseng, Shu-Chuan
A2 - Tsao, Yu
A2 - Huang, Hen-Hsen
A2 - Fan, Yao-Chung
A2 - Chang, Chia-Hui
PB - The Association for Computational Linguistics and Chinese Language Processing (ACLCLP)
Y2 - 4 November 2024 through 5 November 2024
ER -