loss

Lightning IR module for loss functions.

This module provides various loss functions used in the Lightning IR framework, including in-batch losses, pairwise losses, listwise losses, approximate losses, and regularization techniques.

Modules

approximate

Approximate ranking loss functions for the Lightning IR framework.

base

Base classes and abstract interfaces for loss functions in the Lightning IR framework.

embedding

in_batch

In-batch loss functions for the Lightning IR framework.

listwise

Listwise loss functions for the Lightning IR framework.

neural

Neural sorting-based loss functions for the Lightning IR framework.

pairwise

Pairwise loss functions for the Lightning IR framework.

regularization

Regularization loss functions for the Lightning IR framework.