A family of sparse alternatives to softmax, including entmax, sparsemax, normmax, and budget, with corresponding loss functions. Current version: 1.3. Release cadence is irregular, with updates as needed for bug fixes and new activations.
pip install entmaxVerified import paths — ran on the pinned version, not inferred.
Apply entmax-1.5 activation and the generic bisection-based entmax function.
Install PyTorch first: pip install torch. Then proceed with pip install entmax.
Use entmax15 or Sparsemax for standard alphas; use bisection only for custom alphas.
Migrate to entmax15 (alpha=1.5) or Sparsemax (alpha=2).
No dependency data recorded yet.