paper-with-me

홈 › Papers

LACoS-BLOOM: Low-rank Adaptation with Contrastive objective on 8 bits Siamese-BLOOM

2023-05-10 · Wen-Yu Hua, Brian Williams, Davood Shamsi

Text embeddings are useful features for several NLP applications, such as sentence similarity, text clustering, and semantic search. In this paper, we present a Low-rank Adaptation with a Contrastive objective on top of 8-bit Siamese-BLOOM, a multilingual large language model optimized to produce semantically meaningful word embeddings. The innovation is threefold. First, we cast BLOOM weights to 8-bit values. Second, we fine-tune BLOOM with a scalable adapter (LoRA) and 8-bit Adam optimizer for sentence similarity classification. Third, we apply a Siamese architecture on BLOOM model with a contrastive objective to ease the multi-lingual labeled data scarcity. The experiment results show the quality of learned embeddings from LACoS-BLOOM is proportional to the number of model parameters and the amount of unlabeled training data. With the parameter efficient fine-tuning design, we are able to run BLOOM 7.1 billion parameters end-to-end on a single GPU machine with 32GB memory. Compared to previous solution Sentence-BERT, we achieve significant improvement on both English and multi-lingual STS tasks.

📄 PDF Abstract BibTeX arXiv:2305.06404

Code (0)

등록된 구현이 없습니다.

Tasks

GPULanguage ModelingLanguage ModellingLarge Language Modelparameter-efficient fine-tuningSentenceSentence SimilaritySTSText ClusteringWord Embeddings

Methods 이 논문이 사용한 방법론

Adapter 설명 없음
BLOOM BLOOM is a decoder-only Transformer language model that was trained on the ROOTS corpus, a dataset comprising hundreds of sources in 46 natural and 13 programming languages…
Adam 설명 없음

Similar Papers 제목 키워드 기반

Minding the Gaps for Block Frank-Wolfe Optimization of Structured SVMs

2016-05-30 · Anton Osokin, Jean-Baptiste Alayrac, Isabella Lukasewitz, Puneet K. Dokania 외

In this paper, we propose several improvements on the block-coordinate Frank-Wolfe (BCFW) algorithm from Lacoste-Julien et al. (2013) recently used to optimize the structured support vector machine (SSVM) objective in th…

Structured Prediction

BLOOM+1: Adding Language Support to BLOOM for Zero-Shot Prompting

2022-12-19 · Zheng-Xin Yong, Hailey Schoelkopf, Niklas Muennighoff, Alham Fikri Aji 외

The BLOOM model is a large publicly available multilingual language model, but its pretraining was limited to 46 languages. To extend the benefits of BLOOM to other languages without incurring prohibitively large costs, …

Language ModellingZero-Shot Learning

Adapting Multimodal Foundation Models for Few-Shot Learning: A Comprehensive Study on Contrastive Captioners

2025-12-14 · N. K. B. M. P. K. B. Narasinghe, Uthayasanker Thayasivam arxiv

Large-scale multimodal foundation models, particularly Contrastive Captioners (CoCa), have achieved state-of-the-art results by unifying contrastive alignment with generative captioning. While zero-shot transfer capabili…

parameter-efficient fine-tuningFew-Shot Image ClassificationFew-Shot LearningData Augmentation

Engineering flexible machine learning systems by traversing functionally-invariant paths

2022-04-30 · Guruprasad Raghavan, Bahey Tharwat, Surya Narayanan Hari, Dhruvil Satani 외

Transformers have emerged as the state of the art neural network architecture for natural language processing and computer vision. In the foundation model paradigm, large transformer models (BERT, GPT3/4, Bloom, ViT) are…

Adversarial RobustnessContinual LearningDecision MakingImage Classification+2

Parallel and Distributed Block-Coordinate Frank-Wolfe Algorithms

2014-09-22 · Yu-Xiang Wang, Veeranjaneyulu Sadhanala, Wei Dai, Willie Neiswanger 외

We develop parallel and distributed Frank-Wolfe algorithms; the former on shared memory machines with mini-batching, and the latter in a delayed update framework. Whenever possible, we perform computations asynchronously…