paper-with-me

Papers

LMFlow: An Extensible Toolkit for Finetuning and Inference of Large Foundation Models

2023-06-21 · Shizhe Diao, Rui Pan, Hanze Dong, Ka Shun Shum, Jipeng Zhang, Wei Xiong, Tong Zhang

Foundation models have demonstrated a great ability to achieve general human-level intelligence far beyond traditional approaches. As the technique keeps attracting attention from the AI community, an increasing number of foundation models are becoming publicly accessible. However, a significant shortcoming of most of these models lies in their performance in specialized-domain and task-specific applications, necessitating domain- and task-aware fine-tuning to develop effective scientific language models. As the number of available foundation models and specialized tasks keeps growing, the job of training scientific language models becomes highly nontrivial. In this paper, we initiate steps to tackle this issue. We introduce an extensible and lightweight toolkit, LMFlow, which aims to simplify the domain- and task-aware finetuning of general foundation models. LMFlow offers a complete finetuning workflow for a foundation model to support specialized training with limited computing resources. Furthermore, it supports continuous pretraining, instruction tuning, parameter-efficient finetuning, alignment tuning, inference acceleration, long context generalization, model customization, and even multimodal finetuning, along with carefully designed and extensible APIs. This toolkit has been thoroughly tested and is available at https://github.com/OptimalScale/LMFlow.

📄 PDF Abstract BibTeX arXiv:2306.12420

Code (1)

optimalscale/lmflow 공식 구현 pytorch

Similar Papers 제목 키워드 기반

CaLMFlow: Volterra Flow Matching using Causal Language Models

2024-10-03 · Sizhuang He, Daniel Levine, Ivan Vrkic, Marco Francesco Bressana 외

We introduce CaLMFlow (Causal Language Models for Flow Matching), a novel framework that casts flow matching as a Volterra integral equation (VIE), leveraging the power of large language models (LLMs) for continuous data…

Language ModelingLanguage Modelling

OpenSLU: A Unified, Modularized, and Extensible Toolkit for Spoken Language Understanding

2023-05-17 · Libo Qin, Qiguang Chen, Xiao Xu, Yunlong Feng 외

Spoken Language Understanding (SLU) is one of the core components of a task-oriented dialogue system, which aims to extract the semantic meaning of user queries (e.g., intents and slots). In this work, we introduce OpenS…

Spoken Language Understanding

fairseq: A Fast, Extensible Toolkit for Sequence Modeling

2019-04-01 · NAACL 2019 6 · Myle Ott, Sergey Edunov, Alexei Baevski, Angela Fan 외

fairseq is an open-source sequence modeling toolkit that allows researchers and developers to train custom models for translation, summarization, language modeling, and other text generation tasks. The toolkit is based o…

Language ModelingLanguage ModellingText GenerationTranslation

XNMT: The eXtensible Neural Machine Translation Toolkit

2018-03-01 · WS 2018 3 · Graham Neubig, Matthias Sperber, Xinyi Wang, Matthieu Felix 외

This paper describes XNMT, the eXtensible Neural Machine Translation toolkit. XNMT distin- guishes itself from other open-source NMT toolkits by its focus on modular code design, with the purpose of enabling fast iterati…

Machine TranslationNMTspeech-recognitionSpeech Recognition+1

stable-pretraining-v1: Foundation Model Research Made Simple

2025-11-23 · Randall Balestriero, Hugues Van Assel, Sami BuGhanem, Lucas Maes arxiv

Foundation models and self-supervised learning (SSL) have become central to modern AI, yet research in this area remains hindered by complex codebases, redundant re-implementations, and the heavy engineering burden of sc…

Self-Supervised Learning