Home
Softono

Model Augmented Fine Tuning

Open source MIT Jupyter Notebook
26
Stars
10
Forks
0
Issues
2
Watchers
1 year
Last Commit

 About Model Augmented Fine Tuning

Fine-tuning black-box OpenAI embedding models

Platforms

Web Self-hosted

Languages

Jupyter Notebook

Need Help Installing Model Augmented Fine Tuning?

We provide expert installation service for this software. Our team will install, configure, and secure Model Augmented Fine Tuning on your server. plans start at just $30.

Model Augmented Fine Tuning

View on GitHub

Enhancing Black-Box Embeddings with Model Augmented Fine-Tuning

A method to fine-tune the black-box OpenAI embedding to improve the retrieval performance ๐Ÿ“ˆ.

๐Ÿ“ See our paper Mafin: Enhancing Black-Box Embeddings with Model Augmented Fine-Tuning for a detailed introduction to this method.

Other training details and dataset construction can be found in LlamaIndex's Blog.

Install ๐Ÿ› ๏ธ

pip install -r requirements.txt

Fine-tune the BAAI/bge-small-en model

cd ./finetune
python train.py

Fine-tune the FAE model

cd ./finetune
python fae_train.py

The comparison of the evaluation results can be found in the jupyter notebook ๐Ÿ“Š.