Downloads · 30 days
96
11% of all-time downloads
hengranZhang/BOOM_4B_eng_data_v1
BOOM_4B_eng_data_v1 is a sentence similarity model from hengranZhang. Use it when you need a score for how close two texts are. It is set up for transformers.
<div align="center" <h1 Robust Training for General Text Embeddings via Bagging-Based Model Merging </h1 </div
Downloads · 30 days
96
11% of all-time downloads
All-time downloads
878
Public
Parameters
4B
16.1 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors16.1 GB · 100%
From the Hugging Face model README
General-purpose text embedding models underpin a wide range of NLP and information retrieval applications, and are typically trained on large-scale multi-task corpora to encourage broad generalization. However, it remains unclear how different multi-task training strategies compare in practice, and how to efficiently adapt embedding models as new domains and data types continually emerge. In this work, we present a systematic study of multi-task training for text embeddings from two perspectives: data scheduling and model merging. We compare batch-level shuffling, sequential training variants, two-stage training, and multiple merging granularities, and find that simple batch-level shuffling consistently yields the strongest overall performance, suggesting that task conflicts are limited and training datasets are largely complementary. Despite its effectiveness, batch-level shuffling exhibits two practical limitations: suboptimal out-of-domain (OOD) generalization and poor suitability for incremental learning due to expensive full retraining. To address these issues, we propose Bagging-based rObust mOdel Merging (BOOM), which trains multiple embedding models on sampled subsets and merges them into a single model, improving robustness while retaining single-model inference efficiency. Moreover, BOOM naturally supports efficient incremental updates by training lightweight update models on new data with a small historical subset and merging them into the existing model. Experiments across diverse embedding benchmarks demonstrate that BOOM consistently improves both in-domain and OOD performance over full-corpus batch-level shuffling, while substantially reducing training cost in incremental learning settings.
Eng-Text-Data:
General-Text-Data:
The following models were included in the merge:
models:
- model: Data_mixing_sampled60_full
parameters:
weight: 0.6
- model: Data_mixing_sampled20_full
parameters:
weight: 0.2
- model: Data_mixing_sampled40_full
parameters:
weight: 0.4
- model: Data_mixing_sampled80_full
parameters:
weight: 0.8
- model: Data_mixingsampled100_full
parameters:
weight: 1.0
merge_method: multislerp
dtype: float32
This model was merged using the Multi-SLERP merge method.
If you find our work helpful, feel free to give us a cite.
@article{zhang2026bagging,
title={Bagging-Based Model Merging for Robust General Text Embeddings},
author={Zhang, Hengran and Bi, Keping and Guo, Jiafeng and Zhang, Jiaming and Yang, Wenbo and Shi, Daiting and Cheng, Xueqi},
journal={arXiv preprint arXiv:2602.05787},
year={2026}
}