Downloads · 30 days
6
18% of all-time downloads
CreaLabs/bge-m3-fa-CLP-interMoE
bge-m3-fa-CLP-interMoE is a machine learning model from CreaLabs. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
CLP is a novel loss function designed to address the limitations of existing contrastive learning methods for improved performance in information retrieval tasks. It incorporates a penalty term that encourages the mod…
Downloads · 30 days
6
18% of all-time downloads
All-time downloads
34
Public
Parameters
669M
2.7 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors2.7 GB · 100%
From the Hugging Face model README
CLP is a novel loss function designed to address the limitations of existing contrastive learning methods for improved performance in information retrieval tasks. It incorporates a penalty term that encourages the model to learn more discriminative representations by considering the similarity between negative samples and their corresponding queries.
The CLP loss function is defined as follows:
<img src="https://raw.githubusercontent.com/CreaLabs/Enhanced-BGE-M3-with-CLP-and-MoE/main/imgs/clpl_formula.PNG" width="1000"/>where:
The difference between Contrastive Learning Loss and Contrastive Learning Penalty Loss:
<img src="https://raw.githubusercontent.com/CreaLabs/Enhanced-BGE-M3-with-CLP-and-MoE/main/imgs/figure1.PNG" width="1000"/>| Model Name | Introduction |
|---|---|
| bge-m3-ko-CLPL-interMoE | This model applies CLPL and MoE, trained on the MIRACL Korean training dataset. MoE is applied to the intermediate layer, and only the MoE layers were trained during fine-tuning. |
| bge-m3-fa-CLPL-interMoE | This model applies CLPL and MoE, trained on the MIRACL Persian training dataset. MoE is applied to the intermediate layer, and only the MoE layers were trained during fine-tuning. |
| bge-m3-hi-CLPL-interMoE | This model applies CLPL and MoE, trained on the MIRACL Hindi training dataset. MoE is applied to the intermediate layer, and only the MoE layers were trained during fine-tuning. |
Performing negative sampling using the ANCE methodology and generating negative sample's positive queries through the Gemini 1.5 Pro model, which are required for CLPL.
| Dataset | Introduction |
|---|---|
| ko_CLPL_train_data | MIRACL Korean CLPL training dataset |
| fa_CLPL_train_data | MIRACL Persian CLPL training dataset |
| hi_CLPL_train_data | MIRACL Hindi CLPL training dataset |
@misc{yu2024efficientfinetuningmethodologytext,
title={Efficient fine-tuning methodology of text embedding models for information retrieval: contrastive learning penalty (clp)},
author={Jeongsu Yu},
year={2024},
eprint={2412.17364},
archivePrefix={arXiv},
primaryClass={cs.IR},
url={https://arxiv.org/abs/2412.17364},
}