ApproxLossFunction
- class lightning_ir.loss.loss.ApproxLossFunction(temperature: float = 1)[source]
Bases:
ListwiseLossFunction
- __init__(temperature: float = 1) None [source]
Methods
__init__
([temperature])get_approx_ranks
(scores, temperature)
Bases: ListwiseLossFunction
Methods
|
|
|