
7/29/2026
What this post added
This post introduces a practical and cost-effective method for fine-tuning LLM-based embedding models on the Fireworks platform. It details the use of contrastive learning with In-Batch Negatives and InfoNCE loss to adapt general-purpose embedding models (like Qwen3-Embedding-8B) to specific domains. The post presents experimental results showing significant improvements in retrieval tasks (e.g., +36% nDCG@10 on legal citation retrieval) and discusses three training modes: full-parameter updates, LoRA adapters, and a hybrid approach, emphasizing the benefits of adapting existing models over training from scratch.