paper-with-me

홈 › Papers

Need a Small Specialized Language Model? Plan Early!

2024-02-02 · David Grangier, Angelos Katharopoulos, Pierre Ablin, Awni Hannun

Large language models are versatile tools but are not suitable for small inference budgets. Small models have more efficient inference, but their lower capacity means that their performance can be good only if one limits their scope to a specialized domain. This paper explores how to get good specialized small language models using a large, generic, pretraining set and a limited amount of specialized data. We consider two scenarios, depending on whether (i) one can afford pretraining a model for each specialization task, or (ii) one wants to cheaply adapt a single pretrained model for each task. In the first scenario, we propose an effective solution based on importance sampling: we resample the pretraining set to imitate the specialization data and train a small model on it. In the second scenario, we propose a novel architecture, projected networks (PN). PN is a large network whose parameters can be linearly projected into a small network for specialization. For both scenarios, we demonstrate the empirical effectiveness of our solutions across various domains, training set sizes, and training budgets.

📄 PDF Abstract BibTeX arXiv:2402.01093

Code (0)

등록된 구현이 없습니다.

Tasks

Language ModelingLanguage Modellingmodel

Methods 이 논문이 사용한 방법론

SET Dynamic Sparse Training method where weight mask is updated randomly periodically

Similar Papers 제목 키워드 기반

Towards Secure and Private Language Models for Nuclear Power Plants

2025-06-10 · Muhammad Anwar, Mishca de Costa, Issam Hammad, Daniel Lau

This paper introduces a domain-specific Large Language Model for nuclear applications, built from the publicly accessible Essential CANDU textbook. Drawing on a compact Transformer-based architecture, the model is traine…

GPULanguage ModelingLanguage ModellingLarge Language Model+1

ADAgent: LLM Agent for Alzheimer's Disease Analysis with Collaborative Coordinator

2025-06-11 · Wenlong Hou, Guangqian Yang, Ye Du, Yeung Lau 외

Alzheimer's disease (AD) is a progressive and irreversible neurodegenerative disease. Early and precise diagnosis of AD is crucial for timely intervention and treatment planning to alleviate the progressive neurodegenera…

AI AgentLarge Language ModelPrognosis

PARAMANU-AYN: Pretrain from scratch or Continual Pretraining of LLMs for Legal Domain Adaptation?

2024-03-20 · Mitodru Niyogi, Arnab Bhattacharya

In this paper, we present Paramanu-Ayn, a collection of legal language models trained exclusively on Indian legal case documents. This 97-million-parameter Auto-Regressive (AR) decoder-only model was pretrained from scra…

Abstractive Text SummarizationContinual PretrainingDecoderDomain Adaptation+5

Transport and Merge: Cross-Architecture Merging for Large Language Models

2026-02-05 · Chenhang Cui, Binyun Yang, Fei Shen, Yuxin Chen 외 arxiv

Large language models (LLMs) achieve strong capabilities by scaling model capacity and training data, yet many real-world deployments rely on smaller models trained or adapted from low-resource data. This gap motivates t…

Do We Still Need Clinical Language Models?

2023-02-16 · Eric Lehman, Evan Hernandez, Diwakar Mahajan, Jonas Wulff 외

Although recent advances in scaling large language models (LLMs) have resulted in improvements on many NLP tasks, it remains unclear whether these models trained primarily with general web text are the right tool in high…

In-Context Learning