Fine-tune EmbeddingGemma 2 in a free Colab: sound retrieval jumps 24.5% to 65.8%
Prompt Engineering · youtube · 2026-10-08
Prompt Engineering's tutorial shows how to fine-tune Google's multimodal EmbeddingGemma 2 with Unsloth + LoRA in a free Colab notebook, and explains how embedding fine-tuning differs from LLM fine-tuning.
- Two real tasks: environmental sound retrieval (ESC-50 top-1: 24.5% → 65.8%) and search over the creator's own YouTube transcripts (66.3% → 75.0% top-1 on unseen videos).
- Key lessons: building question-passage pairs; why in-batch negatives (MultipleNegativesRankingLoss) need a no-duplicates sampler; why training and search prompts must match; how LoRA works on a shared multimodal backbone; plus a reload bug that silently breaks audio adapters.
- Side effects on photo, voice and text search are also measured; full Colab notebook and links included.
More from Models
- Counter to LeCun: blind people are as smart, so 100TB of visual data isn't key to intelligence — ravisparikh · 2026-12-02
- NVIDIA launches Nemotron 4, built for long-running coding agents that work for days — nvidia · 2026-12-02
- GitHub Copilot Fusion Max reportedly tops Terminal-Bench at 71.2% while undercutting rivals — DanWahlin · 2026-12-02
- Arena 3D leaderboard: Claude Fable 5.2 tops ranking, GPT-6.2 Sol takes third — arena · 2026-12-02
- OpenDDE benchmark: frontier LLMs score 0.0 on biomolecular interface prediction — anshulkundaje · 2026-12-02
- Amazon's own benchmarks show Kimi K3.1 Pro beats Ergo on 8 of 9 public tests — churchkey · 2026-12-02