Hard Negative Mining: Teaching an LLM What "Almost Right" Looks Like
Shrijith Venkatramana, an engineer building the AI code review tool LiveReview, explains hard negative mining — training retrieval and embedding models on examples that are almost right rather than obviously wrong. He tr…