Skip to content

VectifyAI/FAE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Fine-tuning Augmented Embedding (FAE) πŸ”„

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

πŸ“ See our blog post How to Improve Your OpenAI Embeddings? for a detailed introduction to the FAE 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 πŸ“Š.

πŸš€ Get early access to our RAG platform and embedding model fine-tuning service.

Vectify AI πŸ€–

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •